AnsweredAssumed Answered

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

Question asked by karlfresco on Apr 24, 2015
Latest reply on Feb 3, 2016 by florianjerusalem
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

Outcomes