[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
problems searching slapd
Long message...
I'm new to this and just installed the software. My conf file looks like
this: (only non defaults)
database ldbm
#suffix "dc=agermose, dc=dk"
suffix "o=Agermose IT, c=DK"
directory /usr/tmp
#rootdn "cn=root, dc=agermos, dc=dk"
rootdn "cn=agermose, o=Agermose IT, c=DK"
rootpw secret
my test data:
dn: o=Agermose IT, c=DK
o: Agermose IT
objectclass: organization
dn: cn=Jan Agermose, o=Agermose IT, c=DK
cn: Jan Agermose
sn: Agermose
mail: post@agermose.dk
objectclass: person
dn: cn=Jette Hansen, o=Agermose IT, c=DK
cn: Jette Hansen
sn: Hansen
mail: post@agermose.dk
objectclass: person
inserted using the offline tool ldif2ldbm.
started the server:
linux:...local% %libexec/slapd -d 1
slapd 1.2.3-Release (Tue Jun 15 15:56:23 CEST 1999)
agermose@linux.agermose.dk:/mnt/home/agermose/ARCHIVE/Java/JNDI/unpack/ldapServer/ldap/servers/slapd
slapd starting
do_bind
do_bind: version 2 dn (cn: Jan Agermose,o=Agermose IT,c=DK) method 128
dn2entry_r: dn: "CN:JANAGERMOSE,O=AGERMOSE IT,C=DK"
=> dn2id( "CN:JANAGERMOSE,O=AGERMOSE IT,C=DK" )
=> ldbm_cache_open( "/usr/tmp/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (opened 0)
<= dn2id NOID
dn2entry_r: dn: "O=AGERMOSE IT,C=DK"
=> dn2id( "O=AGERMOSE IT,C=DK" )
=> ldbm_cache_open( "/usr/tmp/dn2id.dbb", 7, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id 1
=> id2entry_r( 1 )
=> ldbm_cache_open( "/usr/tmp/id2entry.dbb", 7, 600 )
<= ldbm_cache_open (opened 1)
=> str2entry
<= str2entry 0x8084a40
<= id2entry_r( 1 ) (disk)
====> cache_return_entry_r
send_ldap_result 0::
do_search
send_ldap_result 32::
ber_get_next on fd 7 failed errno 0 (Success)
*** got 0 of 0 so far
do_unbind
the debug information came after doing this search:
/usr/local/bin/ldapsearch -D "cn: Jan Agermose,o=Agermose IT,c=DK"
"objectclass=*"
It seems the debug information tells me that it finds a record. It knows
me. But what happends? Why dont it get any results?:
ldap_search: No such object
--
Mvh Jan Agermose
Tranekærvej 58, v92
8240 Risskov, Denmark
Tlf.: 86217787 lokal 392
post@agermose.dk