cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP UID/CN problem

macn0ble
Champ in-the-making
Champ in-the-making
Hi all

I've tried to authenticate to our Alfresco using our LDAP server. I've found success trough simple authentication hence we do not want to synch to our LDAP server in first place. The problem lies in the authentication it self. If I want to authenticate to the Alfresco using my UID, it doesn't work, no matter if I change the settings in ldap-authentication.properties(using the 2.9B version with JBOSS). I can authenticate using My full name, but not with my username. How can i fix this? Do I have to hard code it so that it changes the uid to cn when logging in or…?

Cheers,
macn0ble

PS is the ever annoying CIFS error already history?
1 REPLY 1

ajmillar
Champ in-the-making
Champ in-the-making
You'll need to tell Alfresco whether to use uid or cn in ldap-authentication.properties. I think it defaults to uid. So if your ldap server has your username stored as a cn rather than a uid, then you'll need to change any occurance to cn. So instead of something like uid=%s,ou=people,ou=domain,o=something it would be cn=%s,ou=people,ou=domain,o=something. That way its passing whatever you type in the login box as a cn instead of a uid.

Hope that makes sense.