cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco 5.0, LDAP-AD, and using email address as user name.

karlfresco
Champ in-the-making
Champ in-the-making
Hi,
I feel like I've read and tried everything on this topic without success.

AD domain:    domain.local
userPrincipalName:    firstname@domain.com
samAccountname:  firstname
mail:  firstname@domain.com

Please note the .local and .com usage.

With LDAP configuration using
ldap.authentication.userNameFormat=%s@domain.local, i can login as "firstname"

What I want is to login as "firstname@domain.local"

I've tried:
ldap.authentication.userNameFormat=userPrincipalName=%s
ldap.synchronization.userIdAttributeName=userPrincipalName

ldap.authentication.userNameFormat=userPrincipalName=%s,OU=users,OU=company,DC=domain,DC=local
ldap.synchronization.userIdAttributeName=userPrincipalName

ldap.authentication.userNameFormat=mail=%s,OU=users,OU=company,DC=domain,DC=local
ldap.synchronization.userIdAttributeName=mail

ldap.authentication.userNameFormat=mail=%s
ldap.synchronization.userIdAttributeName=mail
1 REPLY 1

florianjerusale
Champ in-the-making
Champ in-the-making
This should work:

ldap.synchronization.userIdAttributeName=userPrincipalName
ldap.authentication.userNameFormat=%s