🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.net.ldap
Article #130

Deleting sinple Values from multiple defines Attributes

#130
From: Adam Pordzik
Date: Tue, 21 Sep 2004 13:04
25 lines
1159 bytes
Hello,

how can I delete a single Value of an multiple defined Atrribute?

e.g. a DN have two 'mail' Atrributes

mail: a@b.cd
mail: e@f.gh

an I want ldapmodify to delete just te first entry 'a@b.cd'. how can I
achieve this?

$ ldapmodify
dn: cn=STUDIO, dc=EXAMPLE, dc=ORG
changetype: modify
delete: (mail=a@b.cd)

wont work.


Thanks for Help.

A

-- 
Technical Details
Message-ID: <2ran5lF17mseoU1@uni-berlin.de>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 103627,adc2a00d94ff8423,start
X-Google-Attributes: gid103627,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!not-for-mail
From: "Adam Pordzik" <adresseverbummelt@gmx.de>
Newsgroups: fj.net.ldap
Subject: Deleting sinple Values from multiple defines Attributes
Date: Tue, 21 Sep 2004 15:04:02 +0200
Lines: 27
Message-ID: <2ran5lF17mseoU1@uni-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain;
 charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 3Z06LzWQedSUrWJkuDT8igNpqjW0Z7kM3fvjzHtLJTEg==
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409