by ran » Wed Sep 13, 2006 3:48 pm
Hi, Thanks very much for this tool, very useful.
I got the result (please forgive me replaced some of the fields for security reason)
CN=Ran Li, OU=People,OU-UserAccounts,DC=global,DC=Company,DC=com
However, my login is Ran.Li, and the only attribute that match this value is sAMAccountName: Ran.Li
so I m not sure if my login should be
CN=Ran Li, OU=People,OU-UserAccounts,DC=global,DC=Company,DC=com
or
sAMAccountName=Ran.Li,CN=Ran Li, OU=People,OU-UserAccounts,DC=global,DC=Company,DC=com
another question is, I chose this option "Currently logged on user(Active Directory Only)" and I can browse the AD entries in ldapadmin, when I tried to do the same in Linux using ldapsearch, I cannot get authenticate no matter use CN=Ran Li..... or sAMAccountName=Ran.Li...... please see if you could help. Thanks.
# ldapsearch -x -h 10.15.150.12 -D CN=Ran Li,OU=People,OU-UserAccounts,DC=global,DC=Company,DC=com -w password -b OU=People,OU-UserAccounts,DC=global,DC=Company,DC=com displayName="Ran Li"
ldap_bind: Invalid credentials (49)
additional info: 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece
# ldapsearch -x -h 10.15.150.12 -D sAMAccountName=Ran.Li,CN=Ran Li,OU=People,OU-UserAccounts,DC=global,DC=Company,DC=com -w password -b OU=People,OU-UserAccounts,DC=global,DC=Company,DC=com displayName="Ran Li"
ldap_bind: Invalid credentials (49)
additional info: 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece