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

my sample config



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"
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
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