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

Re: (ITS#8150) slapcat cn=config produces LDIF that will not re-load



On Wed, May 20, 2015 at 06:40:36PM +0000, hyc@symas.com wrote:
>Unable to reproduce.

It does if you use an initial LDIF like the one from ITS#7016:

$ mkdir cf.d
$ slapadd -Fcf.d -n0
dn: cn=config
objectClass: olcGlobal

dn: olcDatabase=frontend,cn=config
objectClass: olcDatabaseConfig
objectClass: olcFrontendConfig

^D
$ slapcat -Fcf.d -n0 -l cf.ldif
$ rm -r cf.d/*
$ slapadd -Fcf.d -n0 -l cf.ldif
slapadd: dn="olcDatabase={-1}frontend,cn=config" (line=591): (64) value of single-valued naming attribute 'olcDatabase' conflicts with value present in entry
_#################### 100.00% eta   none elapsed            none fast!
Closing DB...

(I ran into this myself a while back but forgot to report it.)