Can someone help me find the problem with ldapsearch?
I can insert the data using ldapadd: /opt/bin/ldapadd -Z -x -W -D "cn=Manager,dc=myorg,dc=com" -v -f toplevel.ldif ldap_initialize( <DEFAULT> ) Enter LDAP Password: ........... modify complete but I am not able to run ldapsearch: /opt/etc/openldap/ldif_files]$ /opt/bin/ldapsearch -x -W -D "uid=testuser,ou=People,dc=scivantage,dc=com" "(objectclass=*)" Enter LDAP Password: ldap_bind: Invalid credentials (49)
my slapd.conf files: defaultsearchbase dc=myorg,dc=com
access to attrs=userPassword by self write by anonymous auth by * none access to * by self write by users read by * none
database bdb suffix "dc=myorg,dc=com" rootdn "cn=Manager,dc=myorg,dc=com"
Also, if run ldapwhoami: /opt/bin/ldapwhoami ldap_sasl_interactive_bind_s: Confidentiality required (13)
I will be appreciated,
Kevin