[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap_add: Naming violation (64)
Hi,
King Lung Chiu <csklc@farrer.hpc.csiro.au> writes:
> Hi,
>
> I'm trying to add some entries into an ldap server:
>
> $ /usr/bin/ldapadd -H ldap://0.0.0.0:391/ -D \
> "cn=root,dc=b1,dc=hpc,dc=csiro,dc=au" -x -W -f ldif.eg
>
> where ldif.eg looks like:
>
> dn:dc=hpc,dc=csiro,dc=au
> objectclass:top
> objectclass:organizationalUnit
> ou:hpc
>
> however, I'm getting the following errors:
You either change the attribute of your *.ldif to
objectclass:top
objectclass:organizationalUnit
dc:hpc
Or change your rdn to dn:ou=hpc
-Dieter
--
Dieter Kluenter | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter(at)dkluenter.de
http://www.avci.de