Mário Gamito(gamito@gmail.com) on 2007.02.09 01:21:02 +0000:
> ------------------------------------------
> dn: dc=sincity,dc=lan
> objectClass: top
> objectClass: person
> objectClass: inetOrgPerson
> objectClass: qmailUser
> cn: Mario Gamito
[...]
> ---------------------------------------------
> i get the error:
> ---------------------------------------------
> adding new entry "dc=sincity,dc=lan"
> ldap_add: Naming violation (64)
> additional info: naming attribute 'dc' is not present in entry
> ---------------------------------------------
>
> Any ideas ?
Yes.
Your dn is "dc=sincity,dc=lan", but nowhere in your entry there is
a line
dc: sincity
Thats the reason for your error, but that does not help you any further,
because you probably wanted to enter
dn: cn=Mario Gamito,dc=sincity,dc=lan
cn: Mario Gamito
objectClass: top
...
into your directory.
If you write entries by hand, it is sometimes helpful to put the name of the
entry (the first part of the "dn") right below the dn line, so you can find
typos like that.
And please read my .signature line, it also contains some helpful advise
that can be applied to many LDAP problems.
/B.
--
Sebastian Benoit <benoit-lists@fb12.de>
The man who does not read good books has no advantage over the man who can't
read them. -- Mark Twain
pgpPHAkQ9uQmO.pgp
Description: PGP signature
|