On 11/8/11 8:14 PM, Fourat ZOUARI wrote:
Thank you for your help, now when i try to import my ldif file, am getting
this:

#!RESULT ERROR
#!CONNECTION ldap://ldap.attractive.fr:10389

#!DATE 2011-11-08T20:05:53.386

#!ERROR [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for     Add
Request : ClientEntry     dn: m-oid=1.3.6.1.4.1.20.21.24,
ou=attributeTypes, cn=tritux, ou=schema     objectclass: metaAttributeType
     objectclass: metaTop     objectclass: top     m-oid:
1.3.6.1.4.1.20.21.24     m-name: badgeNumber : ERR_345 Cannot add the
AttributeType m-oid=1.3.6.1.4.1.20.21.24, ou=attributeTypes, cn=tritux,
ou=schema into the registries, the resulting registries would be
inconsistent :
org.apache.directory.shared.ldap.exception.LdapProtocolErrorException:
ERR_04307 The AttributeType badgeNumber must have a syntax OID or a
superior, it does not have any.]
dn: m-oid=1.3.6.1.4.1.20.21.24, ou=attributeTypes, cn=tritux, ou=schema

changetype: add

m-name: badgeNumber

objectclass: metaAttributeType

objectclass: metaTop

objectclass: top

m-oid: 1.3.6.1.4.1.20.21.24



I realize that my oid 'syntax' is invalid, can you please help me to find
the right syntax ?

It's up to you to determinate which kind of syntax you want to inject, we can't blind guess such an information.

I suggest you check some LDAP tutorial to determinate which syntax would be the appropriate one for your need.


--
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

Reply via email to