[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapsearch with simple bind to active directory
Does Active Directory enable simple binds with clear Passwords ?
I would like to authenticate the squid users through the Active
Directory using the LDAP module which works for me with Openldap
I don't want to perform an anonymous bind, so i use the administrator
account (DLYRES) as binddn but the bind fails :
samlaptop:/opt/squidldap/libexec/squid # ./squid_ldap_auth -p -R -b
dc=diwan,dc=fr -Dcn=DLYRES,cn=Users,dc=diwan,dc=fr -w diwan316975 -f
userPrincipalName=%s 172.16.16.2 </root/dev/squid_auth_nds/test.no
squid_ldap_auth: WARNING, could not bind to binddn 'Invalid
credentials'
ERR
So I tryed with a simple ldapsearch :
samlaptop:/root # ldapsearch -x -h 172.16.16.2 -D
"CN=DLYRES,CN=Users,DC=societe,DC=fr" -b "DC=societe,DC=fr" -W
objectclass=*
Enter LDAP Password:
ldap_bind: Invalid credentials
additional info: 80090308: LdapErr: DSID-0C090290, comment:
AcceptSecurityContext
error, data 525, v893
samlaptop:/root #
Any help would be apreciated !!!
thanks
sam