Configuring login using Contenta user names
By default, users can only log in using a string that is part of an LDAP user name (DN) or that is an alternative LDAP attribute as configured in a user_name_attr.n property, if configured.
About this task
If you want to additionally allow users to log in with their Contenta user name, ensure that the Contenta user name is stored in an LDAP user attribute, and edit xyldap.cfg to check that attribute.
Procedure
- Ensure that in LDAP, each user who wants to log in using a Contenta user name has their Contenta user name specified as the value of a specific (new or existing) LDAP user attribute. For example, you might choose to repurpose the LDAP
descriptionattribute for this. - Open xyldap.cfg for editing.
- Ensure that
contenta_login_name_checkis present and set totrue - Ensure that
contenta_login_name_attris present and set to the name of the LDAP attribute that contains the Contenta user name (in our example,description). - Save and close xyldap.cfg