[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapsearch don't find my DB
I've installed openldap for the first time. It compiled OK and passed on
certs/make too.
i'm running Solaris 5.5 and gdbm 1.7.3.
slapd.conf=====================================================
include /usr/local/openldap/etc/openldap/slapd.at.conf
include /usr/local/openldap/etc/openldap/slapd.oc.conf
schemacheck on
pidfile /usr/local/openldap/var/slapd.pid
argsfile /usr/local/openldap/var/slapd.args
database ldbm
suffix "o=DENSIS/FEEC/UNICAMP, c=BR"
directory /usr/local/openldap/data/
rootdn "cn=root, o=DENSIS/FEEC/UNICAMP, c=BR"
=================================================================
This the result of ldbmcat /usr/local/openldap/data/id2entry.gdbm
2
dn: cn=walcir, o=DENSIS/FEEC/UNICAMP, c=BR
cn: walcir
sn: fontanini
mail: walcir@densis.fee.unicamp.br
objectclass: person
1
dn: o=DENSIS/FEEC/UNICAMP, c=BR
o: DENSIS/FEEC/UNICAMP
objectclass: organization
===================================================================
Here I started slapd -d 1
slapd 1.2.1-Release (Wed May 5 11:47:56 BSC 1999)
root@atena.densis.fee.unicamp.br:/export/ATENA/TMP/ldap/servers/slapd
slapd starting
==================================================================
And here it is a client test:
ldapsearch -v -h 127.0.0.1 'objectclass=*'
ldap_init( 127.0.0.1, 0 )
filter pattern: objectclass=*
returning: ALL
filter is: (objectclass=*)
ldap_search: No such object
0 matches
==================================================================
As we can see no data was retrieved. How do I know that slapd really
read my data ?
Is there any missing parameter somewhere ?
-walcir