🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.net.ldap
Article #134

Re: Deleting sinple Values from multiple defines Attributes

#134
From: Sachiko
Date: Wed, 06 Oct 2004 05:39
43 lines
2203 bytes
Adam Pordzik a expos� le 05/10/2004 :
>
> Yes, works fine. But what about modifying multiple definied attrs?
>
> attribute: value1
> attribute: value2
> replace: attribute
> attribute: ...
>
> won't work at all, I think. The only idea is to fetch all attributes
> find that one i wish to change, chane tihs one and write then all
> aats/value pairs once again.
>
> e.g:
>
> attribute: valueA
> attribute: valueB
> replace: attribute
> attribute: valueA
> attribute: othervalue
>
> or is there also another way?
>
> A

the replace action must be tested... on Novell, the replace action is :
- delete of value
- add the new value
( i don't know if it's the same for iplanet or openLDAP)

if your attribute is mandatory, then bang it doesn't work...

if your attribute is mandatory and multivalued, then add your values 
and delete your old values.
i think it's better.

maybe someone can confirm ???

(sorry for my english)

-- 
Ceci est une signature automatique de MesNews.
Site : http://www.mesnews.net
Technical Details
Message-ID: <mn.31cb7d4ac8637d0f.19612@yahoo.fr>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!feeder2-1.proxad.net!news16-e.free.fr!not-for-mail
References: <2ran5lF17mseoU1@uni-berlin.de> <mn.12c37d4aa8145285.19612@yahoo.fr> <2sga7mF1l48nkU1@uni-berlin.de>

Show Full Headers
Complete Article Headers
X-Google-Thread: 103627,adc2a00d94ff8423
X-Google-Attributes: gid103627,public
X-Google-Language: ENGLISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!feeder2-1.proxad.net!news16-e.free.fr!not-for-mail
Subject: Re: Deleting sinple Values from multiple defines Attributes
From: Sachiko <sachiko_ite@yahoo.fr>
References: <2ran5lF17mseoU1@uni-berlin.de> <mn.12c37d4aa8145285.19612@yahoo.fr> <2sga7mF1l48nkU1@uni-berlin.de>
Newsgroups: fj.net.ldap
Message-ID: <mn.31cb7d4ac8637d0f.19612@yahoo.fr>
Organization: *
X-Newsreader: MesNews/1.02.00.00
Date: Wed, 06 Oct 2004 07:39:32 +0200
MIME-Version: 1.0
X-Face: #0?irvdFiM!(Tpl}/tO%_kuSW_^9G5aeIEnY1uNPcd@N_U.B30\*[%N-cnqSC,rEfeq\m:b oR({RM{x03]Iv}^2xc7\J][^MkbL3DYdLevZ$&h0WbH!i:>O1i#FLy/mO2G~xMF<YSj^@q9sRC~iP> *uQnfN4xre8v9%0fqg;i.!ymm~6w2nEx);Q~Q*8&dUO(fn
Reply-To: sachiko_ite@yahoo.fr
Content-Type: text/plain; charset="iso-8859-15"; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 44
NNTP-Posting-Date: 06 Oct 2004 07:39:23 MEST
NNTP-Posting-Host: 82.125.154.188
X-Trace: 1097041163 news16-e.free.fr 7637 82.125.154.188:3725
X-Complaints-To: abuse@proxad.net