Using mail attribute for LDAP authentication

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2009 11:08 AM
I wanted to know if there was a way to allow the mail attribute in LDAP to be used as a username for authentication in Alfresco.
We have successfully logged in using the uid as the username.
The current setup is:
ldap.authentication.userNameFormat=uid\=%s,o\=example.com,o\=hosting,dc\=example,dc\=local
We want the setup to be:
ldap.authentication.userNameFormat=mail\=%s,o\=example.com,o\=hosting,dc\=example,dc\=local
But it does not work. No error messages in the log, just login failed.
Thanks!
We have successfully logged in using the uid as the username.
The current setup is:
ldap.authentication.userNameFormat=uid\=%s,o\=example.com,o\=hosting,dc\=example,dc\=local
We want the setup to be:
ldap.authentication.userNameFormat=mail\=%s,o\=example.com,o\=hosting,dc\=example,dc\=local
But it does not work. No error messages in the log, just login failed.
Thanks!
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2009 12:50 PM
Currently the LDAPAuthenticationComponent requires the user ID attribute to be part of the DN and for the DN to have a fixed format.
But when I finally get around to fixing this bug
https://issues.alfresco.com/jira/browse/ETHREEOH-2782
We'll support search-based resolution of the user DN from the user ID attribute. Could be soon. Until then, it's not going to work.
But when I finally get around to fixing this bug
https://issues.alfresco.com/jira/browse/ETHREEOH-2782
We'll support search-based resolution of the user DN from the user ID attribute. Could be soon. Until then, it's not going to work.
