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

ldapadd: invalid format



Hi,

 

When I try to add an entry in my directory this way:

 

"ldapadd -x -D "cn=Manager,dc=sib,dc=fr" -W -f ../../tool

s/calamars/AntoineDavidSib.ldif"

 

With a ldif file approximately like that:

 

dn: cn=03510,dc=sib,dc=fr

objectClass: top

objectClass: cpsStructuralPerson

objectClass:

objectClass:

objectClass:

cn: 03510

sn: DAVID

serialNumber:

l:

st:

ou:

businessCategory:: Q2F…

 

I have this error:

"dapadd: invalid format (line 13) entry: "cn=03510,dc=sib,dc=fr

ldif_record() = 89

 

 

I don't understand why I've got this error:  this attribute (businessCategory) is defined in my file core.schema, and it is one of the attributes of structuralPerson ….

 

Could anyone help me?

Thanks a lot,

Claudie