-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi @all,
I've a problem doing a slapcat and adding the dump again to another (empty) ldap server...
doing a slapcat on my "master" gives me a file with:
<snip> root@foobar /etc/ldap # head -100 ldapFullCat.ldif dn: objectClass: top objectClass: dcObject objectClass: organization o: spsc.tugraz.at dc: spsc structuralObjectClass: organization entryUUID: 292ab862-cb04-1030-9e71-dd10406d8585 creatorsName: cn=admin,dc=spsc,dc=tugraz,dc=at createTimestamp: 20120104094228Z entryCSN: 20120104094228.808452Z#000000#000#000000 modifiersName: cn=admin,dc=spsc,dc=tugraz,dc=at modifyTimestamp: 20120104094228Z
dn: objectClass: simpleSecurityObject objectClass: organizationalRole cn: admin description: LDAP administrator userPassword:: e1NTSEF9WlQ5UmdyUFpJVDVuM3ByS0ErM3M5TFplU0RHcnFMN3g= structuralObjectClass: organizationalRole entryUUID: 292b04fc-cb04-1030-9e72-dd10406d8585 creatorsName: cn=admin,dc=spsc,dc=tugraz,dc=at createTimestamp: 20120104094228Z entryCSN: 20120104094228.810430Z#000000#000#000000 modifiersName: cn=admin,dc=spsc,dc=tugraz,dc=at modifyTimestamp: 20120104094228Z
dn: dc=SPSC,dc=TUGRAZ,dc=AT dc: SPSC objectClass: dcObject objectClass: organizationalUnit ou: SPSC structuralObjectClass: organizationalUnit entryUUID: ffae9024-9a0c-1028-8a8f-881a13d527c4 creatorsName: cn=admin,dc=SPSC,dc=TUGRAZ,dc=AT createTimestamp: 20040913201236Z entryCSN: 20040913201236.000000Z#000001#000#000000 modifiersName: cn=admin,dc=SPSC,dc=TUGRAZ,dc=AT modifyTimestamp: 20040913201236Z contextCSN: 20120119135137.038345Z#000000#000#000000 contextCSN: 20120120100955.690312Z#000000#001#000000
dn: ou=people,dc=SPSC,dc=TUGRAZ,dc=AT ou: people objectClass: organizationalUnit structuralObjectClass: organizationalUnit entryUUID: ffc2d0b6-9a0c-1028-8a90-881a13d527c4 creatorsName: cn=admin,dc=SPSC,dc=TUGRAZ,dc=AT createTimestamp: 20040913201236Z entryCSN: 20040913201236.000000Z#000002#000#000000 modifiersName: cn=admin,dc=SPSC,dc=TUGRAZ,dc=AT modifyTimestamp: 20040913201236Z .... </snip>
But if I want to add this file at my other server, it gives me:
root@barfoo /etc/ldap # slapadd -l ldapFullCat.ldif -f ./slapd.conf slapadd: line 1: cannot add entry with empty dn="" _ 0.02% eta elapsed none spd 3.0 M/s Closing DB...
Any Ideas? Of course, if I delete the first two entries it works, but then the ldap didn't work correctly.
thanks and regards Andreas
- -- ========================================================================= _____________ / ___________/ Andreas Laesser / //_// /____/ Signal Proc.& Speech Communication Lab. __/ /___/ / __ Graz University of Technology /___//____//___/ Inffeldgasse 16c/EG | A-8010 Graz | Austria
http://www.spsc.tugraz.at Tel: +43 (0)316 873 -4443 Fax: DW 104439 =========================================================================