Re: slapd info

Tim Howes (tim@umich.edu)
Mon, 28 Aug 1995 13:31:33 -0400

> From: Daniel Ingber OBPIE 32077 <INGBER@worldbank.org>

> 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
> BIND dn="CN=MANAGER,O=OURSITE,C=US" method=128
> do_bind: version 2 dn (CN=MANAGER,O=OURSITE,C=US) method 128
> => dn2id( "CN=MANAGER,O=OURSITE,C=US" )
> => 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...)

Looks ok to me. And the bind seems to be succeeding, so what's the
problem? The check for rootdn is in back-ldbm/bind.c.

> Are there any examples of working backend (gdbm) databases that I
> could look at ?
>
> I really appreciate any help you could give me.

It would help if you could tell me what kind of problem you're having
when you try to create the database.

Also, you might want to send these questions to ldap-support@umich.edu
instead of to the whole ldap@umich.edu list. -- Tim