Daniel,
        First try this; /usr/bin/ldapsearch -x  -D "cn=Admin,dc=example,dc=com" -b "dc=example,dc=com" -W
Second try the man pages for ldapsearch(1).

Regards,

David Damon

Senior Systems Integration Analyst

Office: (714) 442-7562

FAX:    (714) 442-2845


"Daniel Guerrero" <danildap@gmail.com>

Sent by: openldap-software-bounces+ddamon=baxglobal.com@openldap.org

09/20/2007 09:53 AM

To
openldap-software <openldap-software@openldap.org>
cc
Subject
Can't see DIT





Hi all,
 
I'm trying to see my DIT with ldapsearch, but I can't see anything... the answer is the following:
 
prompt> ldapsearch -x -b "dc=example,dc=com"

# extended LDIF
#
# LDAPv3
# base <dc=example,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

I added two identities, one organisational unit and an object included in this ou, without errors.

I think is not rellevant, but i could authenticate remotely with the rootdn user and password.

Is there any other way to check the database to see if there has been any error adding the ou and the object?

I attach my slapd.conf file, but i can bring more information, only if needed.

Thank you very much.[attachment "slapd.conf" deleted by David Damon/AMERICA/BAX]