Login to ldap with uid instead of cn in DN input
问题 I'm running into a problem using LDAP to authenticate logins. I already created a user with all basic info and try to login through phpldapadmin with detail : Login DN: cn=Sample User,ou=people,dc=example,dc=om Password: xxxx then it can login. But when i try to use with this : Login DN: uid=sampleuser,ou=people,dc=example,dc=om Password: xxxx it never works (cannot login). Please tell me what should i config? 回答1: If the LDAP client is using a simple BIND operation, then the BIND DN must