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

Unknown error and Object Not Found



Hello,

I am having problems with OpenLDAP 2.0.7 with even getting the initial
entries to load. Here is my slapd.conf file:

#
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
#
include       /usr/local/etc/openldap/schema/core.schema
pidfile         /usr/local/var/slapd.pid
argsfile       /usr/local/var/slapd.args

#######################################################################
# ldbm database definitions
#######################################################################

database        ldbm
suffix              "dc=consultec, dc=com"
rootdn            "cn=Manager, dc=consultec, dc=com"
rootpw           secret
directory        /usr/local/var/ldbm



This is the ldif I am adding:

dn: dc=consultec, dc=com
dc: consultec
o: consultec
objectclass: organization
objectclass: dcObject

dn: cn=Manager, dc=consultec, dc=com
cn: Manager
sn: Manager
objectclass: person


Here is the output of doing the ldapadd:

# ./ldapadd -x -f test.ldif -D "cn=Manager, dc=consultec, dc=com" -w secret
adding new entry "dc=consultec, dc=com"
ldap_add: Unknown error
        additional info: next_id add failed

ldif_record() = 80


When I try to do anything like modify, search, or delete I get "Object not
found". Is there anything I am doing wrong?  Any help would be much
appreciated as I have run out of ideas.

Mark Symmonds
Systems Developer
Consultec-Inc
msymmonds@consultec-inc.com