Hi,
I have a little Problem with openldap 2.3.27 under openSUSE 10.2 and open-exchange 8.2.1. open-exchange try to search with something like that
# ldapsearch -x -s one -a always -D "" -b "ou=Users,ou=OxObjects,dc=nieda,dc=de" "(&(uid=tux)(objectClass=OXUserObject))"
and find nothing.
/var/log/messages
ACCEPT from IP=127.0.0.1:8932 (IP=0.0.0.0:389) BIND dn="" method=128 RESULT tag=97 err=0 text= SRCH base="ou=Users,ou=OxObjects,dc=nieda,dc=de" scope=1 deref=3 filter="(&(uid=tux)(objectClass=OXUserObject))" SEARCH RESULT tag=101 err=0 nentries=0 text=
Now I try it with rootdn and all works fine:
/var/log/messages
# ldapsearch -x -W -s one -a always -D "cn=Manager,dc=nieda,dc=de" -b "ou=Users,ou=OxObjects,dc=nieda,dc=de" "(&(uid=tux)(objectClass=OXUserObject))"
ACCEPT from IP=127.0.0.1:24195 (IP=0.0.0.0:389) BIND dn="cn=Manager,dc=nieda,dc=de" method=128 BIND dn="cn=Manager,dc=nieda,dc=de" mech=SIMPLE ssf=0 RESULT tag=97 err=0 text= SRCH base="ou=Users,ou=OxObjects,dc=nieda,dc=de" scope=1 deref=3 filter="(&(uid=tux)(objectClass=OXUserObject))" SEARCH RESULT tag=101 err=0 nentries=1 text=
By default, everything should be readable for everyone, but why openldap give me no result for my first call? Thanks for help.
Patrick