Issue with adding LDAP using Other authentication services
-
Issue
When you select Others as the Authentication service, the user and groupObjectClass retain the values from the previously selected template. If the LDAP server does not use the same values, the operation might fail.
-
Cause
The users are not configured correctly in OpenLDAP.
-
Corrective action
You can manually fix this issue by using one of the following workarounds.
If your LDAP user object class and group object class are user and group, respectively, perform the following steps:
-
In the toolbar, click , and then click Setup > Authentication.
-
In the Authentication Service drop-down menu, select Active Directory, and then select Others.
-
Complete the text fields. If your LDAP user object class and group object class are posixAccount and posixGroup, respectively, perform the following steps:
-
In the toolbar, click , and then click Setup > Authentication.
-
In the Authentication Service drop-down menu, select OpenLDAP, and then select Others.
-
Complete the text fields. If the first two workarounds do not apply, call the
option-set
API, and set theauth.ldap.userObjectClass
andauth.ldap.groupObjectClass
options to the correct values.
-