On Fri, 2007-02-09 at 08:36 +0059, Sebastian Benoit wrote:
> Mário Gamito([EMAIL PROTECTED]) 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.

Well, this isn't really a qmail-ldap issue. It is just an LDAP issue.
And you might keep running into such problems later even if this one is
solved. For more info on LDAP, read through the OpenLDAP admin guide at
http://www.openldap.org/doc/admin23/ . I know it's not a quick-fix
solution and will require *some* reading, but there's no way around it!

Reply via email to