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

Re: Really confusing responses (was: Re: Can't slapadd ldif file)



Luca Scamoni wrote:
Todd answered the first two questions. About the third one I guess you have
a suffix in your slapd.conf like 'dc=example,dc=com,c=US'. The scripts are
trying to add an entry dc=example,dc=com. See the difference (c=US)? You
must stick to the root DN if you want LDAP being able to add something to
the tree.

Ah, good eye. An overlook on my part. But sadly, it still doesn't work =(


Importing into dc=stxe,dc=com,c=US...

Creating naming context entries...
Migrating aliases...
Migrating groups...
Migrating hosts...
Migrating networks...
Migrating users...
Migrating protocols...
Migrating rpcs...
Migrating services...
Migrating netgroups...
Migrating netgroups (by user)...
Migrating netgroups (by host)...
adding new entry "dc=stxe,dc=com,c=US"
ldap_add: Operations error

ldif_record() = 1
Importing into LDAP...
adding new entry "ou=People,dc=stxe,dc=com,c=US"
ldap_add: Operations error

ldif_record() = 1
/usr/bin/ldapadd: returned non-zero exit status



--
Phil Dibowitz                             phil@ipom.com
Freeware and Technical Pages              Insanity Palace of Metallica
http://home.earthlink.net/~jaymzh666/     http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759