Hello,
I'm currently setting up a 'home' ldap server for authentication purposes and I'm having problems understanding the output of the ldapsearch command.
In short, my base looks as follows :
Code:
dc = colanet
\--cn = admin
\--ou = people
\--uid = cbonar
When I'm doing a search on all elements in the base as a user of "ou=people", the answer is the following :
Code:
cbonar@colabox:~$ ldapsearch -x -W -D "uid=cbonar,ou=people,dc=colanet"
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 0 Success
# numResponses: 1
It seems to be ok (numResponses = 1) but why is no entry listed ?
When I do the same command as the admin I've plenty of entries and in the end the following lines :
Code:
...
# search result
search: 2
result: 0 Success
# numResponses: 8
# numEntries: 7
Shouldn't the entry of the user who made the search be printed at least ?