Qmail-LDAP
[Top] [All Lists]

Re: Error creating user

To: qmail-ldap@qmail-ldap.org
Subject: Re: Error creating user
From: Sebastian Benoit <benoit-lists@fb12.de>
Date: Fri, 9 Feb 2007 08:36:55 +0059
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: <45CBCC7E.3010708@gmail.com>
Mail-followup-to: qmail-ldap@qmail-ldap.org
Mailing-list: contact qmail-ldap-help@qmail-ldap.org; run by ezmlm
Organisation: Organisation against the bulletization of popular thought as a result of the increasing prevalence of Microsoft PowerPoint(TM)
References: <45CBCC7E.3010708@gmail.com>
User-agent: Mutt/1.4.2.2i
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

Attachment: pgpPHAkQ9uQmO.pgp
Description: PGP signature

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