[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8150) slapcat cn=config produces LDIF that will not re-load
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8150) slapcat cn=config produces LDIF that will not re-load
- From: ryan@nardis.ca
- Date: Wed, 20 May 2015 18:57:22 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
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.)