Configure an LDAP authentication
In this topic, you learn how to set up authentication via LDAP and how to configure it in your cockpit. You must perform multiple tasks to enable the connection.
Procedure
-
In the Cockpit, go to Settings, and select System Settings.
-
In the Authentication tab, select Edit.
-
Select Add, and select LDAP.
Result: The Authentication dialog opens.
-
In LDAP, fill in or select the following fields:
-
Enter a Name for the authentication.
-
Select Active to activate this authentication method.
-
Select Show on login page to display the authentication method on the login page.
-
Enter a Description.
-
To disable certificate validation by allowing unauthorized certificates for the authentication method, select Allow Unauthorized Certificates.
-
Enter a Path to post login data. (Not applicable when the login screen is used, but a value needs to be assigned). For example: "If myldap" then full is:
http://planet9server/user/logon/ldap/myldap
-
In Url, enter the URI to the LDAP server.
-
In Bind DN, enter the distinguished name. Bind DN is an object or user within LDAP to which you connect to obtain permissions, for example: uid=theapp,ou=users,dc=example,dc=org. If not specified, the admin client remains unbound.
Providing an empty string might lead to an anonymous bind if permitted. -
In Bind Credentials, enter the password for the object or user specified in Bind DN.
-
In Search Base, enter the base DN, used to search for users by username. Specifies the starting point in the directory for the LDAP search, for example: ou=users, dc=example, dc=org.
-
In Filter for user login, enter filters for user login, to define who has access to the Neptune DXP - Open Edition.
-
In Filter for groups on user login, enter filters for groups on user login, and a unique identifier to define who has access to the Neptune DXP - Open Edition.
-
-
In Filter Search, you have the option to filter based on either a user or a group, utilizing specific search criteria.
-
In Filter User, enter filters for users and a unique identifier to define who has access to the Neptune DXP - Open Edition.
-
In User Mapping, enter the user details to map a specific user with their corresponding user mapping details.
-
In Filter Group, enter filters for groups and a unique identifier to define who has access to the Neptune DXP - Open Edition.
-
In Group Mapping, enter a name and a description for the group that you defined before.
-
If required, in Auto Assignment, assign roles and groups that you have defined in the Role and Security Group tools in the Cockpit.
-
Select OK.
-
In System Settings, select Restart to activate LDAP authentication.