[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: attribute provided more than once
Are you sure that dn: and distinguishedName: are not the same attribute?
Try dropping the distinguishedName line and maybe it will work.
Fox
----- Original Message -----
From: "Pete Veenbaas" <pete.veenbaas@sdrc.com>
To: <openldap-software@OpenLDAP.org>
Sent: Wednesday, June 05, 2002 10:53 AM
Subject: attribute provided more than once
> Greetings,
>
> Running V2.0.23
>
> I'm trying to add the following ldif entry with ldapadd:
>
> dn: cn=Case,cn=Recipients,ou=EXUGSTL,o=EDS
> changetype: add
> cn: Case, Terri
> objectClass: organizationalPerson
> distinguishedName: cn=Case,cn=Recipients,ou=EXUGSTL,o=EDS
> mail: terri.case@eds.com
> sn: Case
> telephoneNumber: 314-264-8445
> rfc822Mailbox: terri.case@eds.com
>
> the command I use is:
>
> ldapadd -x -h localhost -D
"cn=Manager,cn=Recipients,ou=EXUGSTL,o=EDS" -W -f
> new1.ldf
>
> The output I get is:
>
> adding new entry "cn=Terri Case,cn=Recipients,ou=EXUGSTL,o=EDS"
> ldap_add: Type or value exists
> additional info: attribute provided more than once
>
> ldif_record() = 20
>
> Here's my slapd.conf:
>
> database ldbm
> suffix "cn=Recipients,ou=EXUGSTL,o=EDS"
> rootdn "cn=Manager,cn=Recipients,ou=EXUGSTL,o=EDS"
> # Cleartext passwords, especially for the rootdn, should
> # be avoid. See slappasswd(8) and slapd.conf(5) for details.
> # Use of strong authentication encouraged.
> rootpw secret
> # The database directory MUST exist prior to running slapd AND
> # should only be accessible by the slapd/tools. Mode 700 recommended.
> directory /usr/local/var/openldap-ldbm
> index objectClass eq
>
> Any hints would be greatful!
>