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

no such object - was RE: phantom entries

I have wiped out my database and am now trying to add a record with ldapadd.
Still not working.  And how does ldapadd know which database to add to when
there are several in the slapd.conf?

See relevant data below:
My ldap.conf:
BASE dc=gte,dc=net

My slapd.conf:
database	ldbm
suffix		"dc=gte,dc=net"
rootdn		"cn=Manager,dc=gte,dc=net"
rootpw		{crypt}xqsAcfT51./Mc
directory	/var/lib/ldap
index	objectClass,uid,uidNumber,gidNumber,memberUid	eq
index	cn,mail,surname,givenname			eq,subinitial
access to attr=userPassword
       by self write
       by anonymous auth
       by dn="cn=Admin,dc=gte,dc=net" write
       by * none
access to *
       by dn="cn=Admin,dc=gte,dc=net" write
       by * read

## two other database entries follow with different suffix values and

my ldif:
dn: ou=People, dc=gte, dc=net
objectclass: organizationalUnit
objectclass: top
ou: People

[root@edunkle71 migration]# ldapadd -v -x -D "cn=Manager,dc=gte,dc=net" -W
-f ou.ldif
ldap_initialize( <DEFAULT> )
Enter LDAP Password:
add objectclass:
add ou:
adding new entry "ou=People, dc=gte, dc=net"
ldap_add: No such object

ldif_record() = 32

-----Original Message-----
From: Kurt D. Zeilenga
To: Edward Dunkle
Cc: 'OpenLDAP-software@OpenLDAP.org'
Sent: 10/17/01 10:45 PM
Subject: Re: phantom entries

At 10:06 AM 2001-10-17, Edward Dunkle wrote:
>I am trying to load up my database with some initial entries.

Use ldapadd(1) to load initial entries... it does more checks
than slapadd(8).  If errors occur, see the Software section
on common errors.