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

RE: attribute provided more than once



The problem had to do with the entries 'mail' and 'rfc822Mailbox', which are
the same (thx Kurt). Anyways, I removed the rfc822 entry, and was able to
populate my dir.

Thx!

-----Original Message-----
From: Kanduri [mailto:kanduri@cmcltd.com]
Sent: Wednesday, June 05, 2002 11:42 PM
To: pete.veenbaas@sdrc.com
Subject: RE: attribute provided more than once


Hi Pete,
The problem is,u need to provide a line while adding two entries.
Please leave a line gap and try the command.
and drop distinguishedName
use dn: instead.
Hope this helps,
regards,
Kanduri


-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Pete Veenbaas
Sent: Wednesday, June 05, 2002 8:41 PM
To: openldap-software@OpenLDAP.org
Subject: RE: attribute provided more than once


I tried that already with no success. thx

-----Original Message-----
From: owner-openldap-software@openldap.org
[mailto:owner-openldap-software@openldap.org]On Behalf Of Fox
Sent: Wednesday, June 05, 2002 10:07 AM
To: openldap-software@openldap.org
Subject: 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!
>