LDAP display name pattern problem
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.
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.
Hello,
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:
Code:
{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.
Niktha