Hi Arpit,
as you can see, when i am not definning any Cn=directory Manager + password its failling to show all the entries.
Bellow does not show any Entries :
[root at test ~]# /usr/bin/ldapsearch -xZZ -b 'dc=fosiul,dc=lan' --------------------- # extended LDIF # # LDAPv3 # base <dc=fosiul,dc=lan> with scope subtree # filter: (objectclass=*) # requesting: ALL #
# search result search: 3 result: 0 Success
# numResponses: 1
No Error, no Entries ------------------------------------------------
[root at test ~]# /usr/bin/ldapsearch -xZZ -D 'cn=Directory Manager' -b 'dc=fosiul,dc=lan' # extended LDIF # # LDAPv3 # base <dc=fosiul,dc=lan> with scope subtree # filter: (objectclass=*) # requesting: ALL #
# search result search: 3 result: 0 Success
# numResponses: 1 [root at test ~]#
Only Works :-- ------------------
[root at test ~]# /usr/bin/ldapsearch -xZZ -D 'cn=Directory Manager' -w 'xxx' -b 'dc=fosiul,dc=lan' # extended LDIF # # LDAPv3 # base <dc=fosiul,dc=lan> with scope subtree # filter: (objectclass=*) # requesting: ALL #
# fosiul.lan dn: dc=fosiul,dc=lan dc: fosiul objectClass: domain objectClass: top
# groups, fosiul.lan dn: ou=groups,dc=fosiul,dc=lan ou: groups objectClass: organizationalUnit objectClass: top
# search result search: 3 result: 0 Success
# numResponses: 3 # numEntries: 2 [root at test ~]#
389-users@lists.fedoraproject.org