[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [ldap] modify question
- To: saurand@haywood.k12.nc.us
- Subject: Re: [ldap] modify question
- From: Dieter Kluenter <dieter@dkluenter.de>
- Date: Fri, 29 Aug 2003 12:39:19 +0200
- Cc: ldap <ldap@umich.edu>, openldap-software <openldap-software@OpenLDAP.org>
- In-reply-to: <LYRIS-1298222-390490-2003.08.27-15.32.42--dieter#dkluenter.de@listserver.itd.umich.edu> (Susan Aurand's message of "Fri, 08 Aug 2003 15:32:41 -0400")
- References: <LYRIS-1298222-390490-2003.08.27-15.32.42--dieter#dkluenter.de@listserver.itd.umich.edu>
- User-agent: Gnus/5.1001 (Gnus v5.10.1) XEmacs/21.4 (Portable Code, linux)
Hi,
Susan Aurand <saurand@haywood.k12.nc.us> writes:
> In my ldap database I have employeeNumber: 12345
> I want to modify the first employee number and add an additional employee example:
> employeeNumber: 12345678
> employeeNumber: 103
>
> This is my code:
>
> print O "dn: uid=".$uid.",ou=People,dc=xx,dc=xx\n";
> print O "changetype: modify\n";
> print O "replace: employeeNumber\n";
> print O "employeeNumber: 12345678\n";
> print O "employeeNumber: 103\n";
> print O "\n";
>
> I receive an error message: ldap_modify: contraint violation
> additionalinfo: employeeNumber: multiple value provided
check your schema definition wether employeeNumber is multivalued.
-Dieter
--
Dieter Kluenter | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter(at)dkluenter.de
http://www.avci.de