[Date Prev][Date Next]
Re: err=20 when rdn attr name is different that attr name in object (ITS#1997)
At 12:48 PM 2002-07-30, email@example.com wrote:
>Full_Name: Kevin McCarthy
>Submission from: (NULL) (18.104.22.168)
>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
>[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.