Re: slapd info

Daniel Ingber OBPIE 32077 (
Sun, 27 Aug 1995 01:17:31 -0500 (EST)


I've been trying to get slapd to work, but have been having a lot of
difficulties. I'm trying to use it with gdbm, and following the draft
manual, and trying to create the database from scratch using the
clients/tools/ldapmodify (I can make it work with ldapd).

One of the things I noticed while debuging the server was that even if
I use the rootdn/rootpw in the config, slapd still tries to do a dn2id
call for the bind:

listening for connections on 3, activity on: 5
before select active_threads 1
select timeout - yielding
do_bind: version 2 dn (CN=MANAGER,O=OURSITE,C=US) method 128
=> ldbm_cache_open( "/loot/nosso/db.2/dn2id.gdbm", 2, 600 )
<= ldbm_cache_open (opened 0)
<= dn2id NOID
=> dn2id( "O=OURSITE,C=US" )
=> ldbm_cache_open( "/loot/nosso/db.2/dn2id.gdbm", 2, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
send_ldap_result 0::
ber_flush: 14 bytes to sd 5
0 0c 02 01 01 a 07 0a 01 00 04 00 04 00
RESULT err=0

I looked in the bind.c code and couldn't see anything that compared it
to the rootdn attribute in the slapd.conf file first. (but then, I
could have grossly missed it...)

Are there any examples of working backend (gdbm) databases that I
could look at ?

I really appreciate any help you could give me.

Daniel Ingber