[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: LDBM



At 03:46 PM 3/29/99 -0500, Walker, Mike wrote:
>more /usr/local/etc/openldap/ldap.conf 
>BASE dc=VONE, dc=US
>more /usr/local/etc/openldap/slapd.conf
>suffix	o=VONE, c=US

Your base DN doesn't match your suffix.

I suggest you you create a small ldif file with one entry with a
DN the same as your baseDN.  Create a slapd configure with a
suffix matching the baseDN.  Use ldif2ldbm to create the database.
Start slapd and then:

./ldapsearch -b <baseDN> -h localhost 'objectclass=*'

If this works, create an ldap.conf(5) which specifies the base
DN and the location of your server.  Then try:

./ldapsearch 'objectclass=*'

The steps for creating directories outlined in the U-Mich SLAPD
guide can be consulted if you need additional documentation.
Just realize their docs assume a hardcoded default base DN.
OpenLDAP uses ldap.conf(5) for defaults.  But you can use the
-b option with ldap* commands to avoid these issues.

Kurt