Cockpit UI - Accounts Provider: local AD green ip range validator

When using the accounts provider wizard from cockpit’s User & groups panel, the example below the IP field does not reflect a green network ip range. Moreover, the IP address is not validated before starting the nethserver-dc installation.


Packages:

  • cockpit-183-1.el7.x86_64
  • cockpit-bridge-183-1.el7.x86_64
  • cockpit-packagekit-183-1.el7.noarch
  • cockpit-storaged-183-1.el7.noarch
  • cockpit-system-183-1.el7.noarch
  • cockpit-ws-183-1.el7.x86_64
  • nethserver-base-3.7.2-1.2.g47ed87f.ns7.noarch
  • nethserver-cockpit-0.9.2-1.9.g630e292.ns7.noarch
  • nethserver-cockpit-lib-0.9.2-1.9.g630e292.ns7.noarch
5 Likes

I was sure that everything was already in place but we had an half-backed code! :frowning:
Thanks for pointing it out!

Commits with fixes:

1 Like

Man how many bug you catch recently? Such a great Job!

1 Like

Noticed the validator allows broadcast and network addresses.

1 Like

IP validation is a nightmare :frowning: Opened a new issue: https://github.com/NethServer/dev/issues/5871