[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
slapadd and schemacheck in 2.1.18
- To: <openldap-software@OpenLDAP.org>
- Subject: slapadd and schemacheck in 2.1.18
- From: Miroslav Zubcic <hac+lists.openldap.software@hac.hr>
- Date: Thu, 08 May 2003 18:47:52 +0200
- Distribution: World
- Mail-copies-to: nobody
- Organization: EINPROGRESS
- User-agent: Gnus/5.090016 (Oort Gnus v0.16) XEmacs/21.4 (Portable Code, usg-unix-v)
How am I supposed to add contents of my database back in place with
slapadd(8)? (Besides turning off schemacheck in slapd.conf(5)
temporary for that operation).
sve.ldif is slapcat(8) dump.
(root){lav}[hac]# slapadd < ../../sve.ldif
slapadd: dn="dc=hac,dc=hr" (line=12): (64) naming attribute 'dc' is not present in entry
dn="dc=hac,dc=hr" is root of the database:
dn: dc=hac,dc=hr
objectClass: top
objectClass: organization
o: HAC d.o.o.
structuralObjectClass: organization
entryUUID: ee9a1b6a-aad9-1026-9e39-950d8768b1ec
creatorsName: cn=ldapadm,dc=hac,dc=hr
modifiersName: cn=ldapadm,dc=hac,dc=hr
createTimestamp: 20021223154957Z
modifyTimestamp: 20021223154957Z
entryCSN: 2002122315:49:57Z#0x0001#0#0000
if I add this in entry:
dc: hac
dc: hr
(root){lav}[hac]# slapadd < ../../sve.ldif
slapadd: dn="dc=hac,dc=hr" (line=14): (19) attribute 'dc' cannot have multiple values
If I remove dc=hr for example ...
(root){lav}[hac]# slapadd < ../../sve.ldif
slapadd: dn="dc=hac,dc=hr" (line=13): (65) attribute 'dc' not allowed
Has anybody found the `right' way out of this nerve game? :-)
--
The Network is the Filesystem