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

str2entry: invalid value for attributeType objectClass #2 URGENT

Hello Team,

I have a problem with OpenLDAP exporting and importing in to a different machine.

When I use slapadd -l /backupfilname.ldif I used to get below error message 

_                       0.16% eta 05m31s elapsed            none spd   6.7 k/s 51f0c75b str2entry: invalid value for attributeType objectClass #2 (syntax
slapadd: could not parse entry (line=168)
.                       0.28% eta 04m29s elapsed            none spd  12.1 k/s
Closing DB...

Below is the line 168 

 168 dn: ou=Idmap,dc=example,dc=test,dc=com
  169 objectClass: top
  170 objectClass: organizationalUnit
  171 objectClass: sambaUnixIdPool
  172 ou: Idmap
  173 structuralObjectClass: organizationalUnit
  174 entryUUID: 22da7a76-16e0-102f-87b0-799f55e47d38
  175 creatorsName: cn=admin,dc=example,dc=test,dc=com
  176 createTimestamp: 20100628090609Z
  177 uidNumber: 1000
  178 gidNumber: 20001
  179 entryCSN: 20100814084304.552975Z#000000#002#000000
  180 modifiersName: cn=admin,dc=example,dc=test,dc=com
  181 modifyTimestamp: 20100814084304Z

I already installed samba.schema.

what could be the reason then.

Thanks & Regards,
25dollarTech Team

Email: 25dollartechhelp@gmail.com