[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: err=20 when rdn attr name is different that attr name in object (ITS#1997)

At 12:48 PM 2002-07-30, kevin@kogz.com wrote:
>Full_Name: Kevin McCarthy
>Version: 2.1.3
>OS: Linux
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (
>When the RDN attribute name case differs from the case of the attribute name
>inside the object body, err=20 (attribute 'XXX' provided more than once) is

The case of the RDN attribute name is irrelevant to
this error message.  I confirmed this though testing.

This error occurs when the entry contains the same
attribute more than once.

I suspect you have another problem, such as providing
malformed LDIF to ldapadd(1).

>DN: userName=kevin, ou=people, dc=test, dc=com
>username: kevin
>objectclass: person
>[LDAP: error code 20 - attribute 'userName' provided more than once]
>ldapadd should be smart enough to detect this case and accept the entry,
>especially since certain client map all DNs TO UPPER CASE.