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

Re: slapadd: could not parse entry (line=13)



 
  I checked line 13 in my ldif file, it's a space. Please check below first two entries in my ldiff file. 
  When i removed the space following the first entry, slapadd complained about the next space following the second entry. Again this is happening with berkeley db-4.4.20 with openldap 2.3.24.
   
  I have another box running same berkeley db(4.4.20) with openldap 2.3.20 and i was able to import the same ldiff file successfully. slapadd did not complain.
  The only difference between the two boxes is the kernel version and openldap version.
  Looks to me it's something to do with openldap 2.3.24. 
   
   
  dn: dc=local,dc=gov
objectClass: dcObject
objectClass: organization
o: TRPDD
dc: local
structuralObjectClass: organization
entryUUID: a8b6c68a-afc1-1029-96b4-feb336e41fbf
creatorsName: cn=admin,dc=local,dc=gov
createTimestamp: 20050902055341Z
entryCSN: 20050902055341Z#000001#00#000000
modifiersName: cn=admin,dc=local,dc=gov
modifyTimestamp: 20050902055341Z
   
  dn: cn=admin,dc=local,dc=gov
objectClass: organizationalRole
cn: admin
structuralObjectClass: organizationalRole
entryUUID: b70a3c8a-afc1-1029-96b5-feb336e41fbf

  Any ideas ?
   
  Thanks
   
  Moe
  

Pierangelo Masarati <ando@sys-net.it> wrote:
  Moe wrote:
> I installed openldap version2.3.24 and berkeley db 4.4.20 (with the patches) on a test system.
> I exported my ldap entries (using slapcat) to an ldif file from my old system runing openldap 2.2.26 and database berkeley db 4.3.28.
> 
> After i installed the new version, i tried to import my ldap entries using slapadd. When i do this i get the error:
> slapadd: could not parse entry (line=13)
> 
> Any suggestions on what might be the problem? 
I suggest you look at line 13 of your LDIF file and see what might be 
offending slapadd. I sincerely doubt the version of Berkeley DB has 
anything to do with your issue.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
------------------------------------------
Office: +39.02.23998309
Mobile: +39.333.4963172
Email: pierangelo.masarati@sys-net.it
------------------------------------------



 		
---------------------------------
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.