Qmail-LDAP
[Top] [All Lists]

Re: Error creating user

To: qmail-ldap@qmail-ldap.org
Subject: Re: Error creating user
From: Siddharth Deshpande <siddharth@deeproot.co.in>
Date: Fri, 09 Feb 2007 18:45:24 +0530
Delivered-to: sp-com-lists@consult.net
Delivered-to: qmail-ldap-list@securepoint.com
Delivered-to: mailing list qmail-ldap@qmail-ldap.org
In-reply-to: <20070209073717.GD88408@mail.webmonster.de>
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Organization: DeepRoot Linux
References: <45CBCC7E.3010708@gmail.com> <20070209073717.GD88408@mail.webmonster.de>
On Fri, 2007-02-09 at 08:36 +0059, Sebastian Benoit wrote:
> 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.

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!


<Prev in Thread] Current Thread [Next in Thread>