LDAP display name pattern problem

Asked By 0 points N/A Posted on -

I have been using Ldap authentication. Should they must follow title standards such as replacing spaces with underscores? I would love to have space after my first name but the underscore keeps on coming.

Answered By 0 points N/A #136514

LDAP display name pattern problem



Likely it uses a numeric user naming system rather than their account numbers.

Add a config option for the LdapAuthentication service "displayname-pattern" which will permit you to change the username returned by the Ldap Service using ldap attributes. Here's an example pattern:


{sn}, {givenname} ({samAccountName})

The tokens within {} will be substituted by their respective ldap attributes. The existing preference of service "username-pattern" may get obsoleted/replaced but this should resolve your problem.


Login/Register to Answer

Related Questions