[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapsearch -D?
Can anyone tell me what is wrong? When I try to search using ldap tools, I
get a message stating "ldap_bind: Insufficient access".
This is my search query;
ldapsearch -b "ou=OrgUnit,o=OrgName,c=US" -D
"cn=FullName,ou=OrgUnit,o=OrgName,c=US" -w "pwd" objectclass=*
Is my slapd.conf file not configured properly;
####################################################################
include FullPath\\slapd.at.conf
include FullPath\\slapd.oc.conf
schemacheck off
referral ldap://ldap.itd.umich.edu
database ldbm
suffix "ou=OrgUnit,o=Orgname,c=US"
directory FullPath\\db
rootdn "cn=root,ou=OrgUnit,o=Orgname,c=US"
rootpw rootpwd
index cn,ou eq,sub,approx
index sn,uid eq,sub,approx
index objectclass pres,eq
defaultaccess read
access to attr=userpassword by self write by
dn="cn=root,ou=OrgUnit,o=Orgname,c=US" write by
dn="cn=FullName,ou=OrgUnit,o=Orgname,c=US" write by * compare
access to * by dn="cn=root,ou=OrgUnit,o=Orgname,c=US" write by
dn="cn=FullName,ou=OrgUnit,o=Orgname,c=US" write by * none
####################################################################
"defaultaccess" is set to read then how come it doesn't work. Any form of
help would be greatly appreciated. Thanks.
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com