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

Re: Security Deadlock?



On Tue, 26 Jun 2012, suomi wrote:
[...]
[root@myws /etc/openldap]# slapadd -n0 -F slapd.d -l /tmp/slapd.config.ldif
slapadd: could not add entry dn="cn=config" (line=1):
_                       1.03% eta   none elapsed            none spd 4.5 M/s
Closing DB...

0. What's really going on here? slapadd, like most OpenLDAP Software, supports "-d" debugging option. It looks like this is erroring out so quickly that I'd just go for "-d -1" and see what happens. You'll probably get a better clue with this output...

1. The crystal ball (blindly) says the "better clue" is going to be something along the lines of "entry exists" -- is your output directory /etc/openldap/slapd.d empty at the time of running slapadd?