Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update Caveats for OMK-9554 Ensure local users are checked before checking LDAP when auth_ldap_privs is used

...

Caveats

  • Currently Before opEvents 4.3.2 using this feature disables the use of the NMIS User Table completely.  This will be  
  • From opEvents 4.3.2, this feature has been enhanced to allow local user local privileges and LDAP learnt privilegesprivileges when auth_ldap_privs is enabled.
    1. If local user exists, use privilege and groups for that local user from Users.nmis
    2. If local user does not exist and we're using auth_ldap_privs, retrieve LDAP groups, match them to privilege and groups in AuthLdapPrivs.json
    3. If we do not have a local user and we are not using LDAP and we have auth_default_privilege set, use that from opCommon.json. If we have auth_default_groups set, use that.

auth_default_privilege and auth_default_groups

When accessing NMIS, you have a choice on how to handle authenticated users who do not have authorisations defined, you can reject them, or you can allow them default access. This is so that you do not have to define every user in the system if the authentication system is providing a reduced list of users, to have the users become an operator or guest by default and be able to see all groups of devices, the following would apply: 'auth_default_privilege' => 'guest', 'auth_default_groups' => 'all'. To prevent default authorisation, simply define them as blank, which is the default in the NMIS Install configuration.

Configuration

Configuration items in opCommon.json

...