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

Re: my sample config



On Wed, Nov 03, 1999 at 13:04:57 -0500, Earl Robinson wrote:
> i'm ataching my config files here as well as how i'm trying to do this.
> I appreciate everyone's help so far. please continue.
> ========================
> /etc/openldap/slapd.conf:
> 
> include         /etc/openldap/slapd.at.conf
> include         /etc/openldap/slapd.oc.conf
> schemacheck     off
> 
> pidfile         /var/run/slapd.pid
> argsfile        /var/run/slapd.args
> 
> database        ldbm
> defaultaccess   write
> suffix          "dc=bogus, dc=com"
> rootdn          "cn=Manager dc=bogus, dc=com"
.............................^

There seems to be missing a comma here!

> rootpw          secret
> 
> ========================
> ~earl/ldap/bogus.ldif :
> 
> dn: dc=bogus, dc=com
> dc: bogus
> o: Bogus Corp
> objectclass: organization
> objectcalss: dcobject
> 
> dn: cn=Manager, dc=bogus, dc=com
> dc: Manager
> sn: Manager
> objectclass: person
> 
> ============================
> here's the server log:
> [root@tokyo openldap]# /usr/sbin/slapd -d 3 -f /etc/openldap/slapd.conf
> slapd 1.2.7-Release (Mon Sep 13 19:55:39 EDT 1999)
>         root@porky.devel.redhat.com:/usr/src/bs/BUILD/ldap/servers/slapd
> 
> slapd starting
> do_bind
> do_bind: version 2 dn () method 128
> send_ldap_result 0::
> do_add
> => dn2id( "DC=BOGUS,DC=COM" )
> => ldbm_cache_open( "/usr/tmp/dn2id.dbb", 7, 600 )
> <= ldbm_cache_open (opened 0)
> <= dn2id NOID
> no parent & not root
> send_ldap_result 50::
> do_unbind
> 
> =============================
> here's what I get from the shell:
> 
> [earl@tokyo ldap]$ ldapadd -f bogus.ldif

You should probably add -D "cn=Manager, dc=bogus, dc=com" -w secret

> adding new entry dc=bogus, dc=com
> ldap_add: Insufficient access
> =============================
> 
> I'm not sure this is better or worse than before, but I've tried to keep
> it simple. I hope this is enough info to debug my problem
> -earl
> 
> 

-- 
Niels Baggesen,  UNI-C,  Olof Palmes Alle 38,  DK-8200  Aarhus N,  Denmark
Email: Niels.Baggesen@uni-c.dk  Tel: +45 89 37 66 69  Fax: +45 89 37 66 77
---  Never underestimate the bandwidth of a CD flying through the lab  ---