Hi,

Currently i am using LDAP module for Active Directory Authentication. It seems working fine.But it is only taking display name for authentication. How can i use user name instead of display name for authentication.

with regards,
Don Asok

Comments

rachel_norfolk’s picture

It is very likely that you need to tell the module which of the LDAP attributes in AD that you want to check. If you look at the setting in the LDAP server you have configured, you will see a "UserName attribute:" option. This should be set to "sAMAccountName" if you wish to authenticate against the normal windows username.

Does that help?

donkasok’s picture

Thanks a lot... I really missed this option. I was using cn instead , so it takes only display name.
Thank you for your input, now its working fine.

with regards,
Don