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

Re: broken ldif ?



> and i got these error msgs:
>
> -- start error --
> btw: genldap.sh is a shell script which contain this line:
> /usr/local/bin/ldapadd -h ldap.example.com -x -v -w secret -D
> "cn=admin,dc=example,dc=com" -f $1
>
> [root@devel LDAPstuff]# ./genldap.sh trunk.LDIF
> ldap_initialize( ldap://ldap.example.com)
> add dc:
>         example
> add objectClass:
>         top
>         dcobject
> adding new entry "dc=example,dc=com"
> modify complete
>
> ldap_add: Object class violation (65)
>         additional info: no structural object class provided
>
> [root@devel LDAPstuff]#
>
> -- end error --
>
>
> QUESTION:
> With 2.0.5, those ldif lines were accepted but 2.2.13 refused to deal with
> them. What have I done wrong ?
>
>
> Please advise and TIA.
>

not broken.
read this for example:
http:/www.unav.es/cti/ldap-smb/smb-ldap-3-howto.html#AUXILIARY



cheers,
http://www.axeltabs.com/