🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.perl.misc
Article #256

Re: Removing attributes

#256
From: Birgit Hans
Date: Tue, 08 May 2001 11:23
29 lines
1929 bytes
Hi,

LDAP is a kind of database.
Entries can only updated all-or-nothing.
It's quite simple:
The attribute that you want to remove must not be mandatory.
Then get the whole entry and update it without the unwanted attribute.

I think, that's the right way.

Greetings
Birgit

Philippe Hamel wrote:

> Hi,
>
> I'm trying to delete attributes from an LDAP entry using perl and associated
> modules.  I've figured out how to remove whole entries, but if I just want
> to delete attributes from an entry, how do I do that?
>
> Thank you!
>
> --
> Philippe Hamel
> Bureau :
> Courriel : phamel@logisil.com
> Maison :
> Courriel : philippe.hamel@apiiq.qc.ca
Technical Details
Message-ID: <3AF7D738.A448DC3E@watermans-welt.de>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!news1.ebone.net!news.ebone.net!newsfeed.freenet.de!newsfeed.r-kom.de!news.zet.net!news-ffm.transmedia.de!news1.transmedia.de!not-for-mail
References: <tf2up1evf07q6b@corp.supernews.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103627,47654e7f1f9fba42
X-Google-Attributes: gid103627,public
X-Google-Thread: fa0ae,47654e7f1f9fba42
X-Google-Attributes: gidfa0ae,public
X-Google-Thread: 10f591,47654e7f1f9fba42
X-Google-Attributes: gid10f591,public
X-Google-ArrivalTime: 2001-05-08 04:19:54 PST
From: Birgit Hans <birgit@watermans-welt.de>
Newsgroups: comp.lang.perl.misc,comp.lang.perl.modules,fj.net.ldap
Subject: Re: Removing attributes
Date: Tue, 08 May 2001 13:23:36 +0200
Organization: TRANSMEDIA GmbH
Lines: 30
Message-ID: <3AF7D738.A448DC3E@watermans-welt.de>
References: <tf2up1evf07q6b@corp.supernews.com>
NNTP-Posting-Host: compi5.watermans-welt.de
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: news1.transmedia.de 989320560 21787 212.84.221.25 (8 May 2001 11:16:00 GMT)
X-Complaints-To: usenet@news1.transmedia.de
NNTP-Posting-Date: Tue, 8 May 2001 11:16:00 +0000 (UTC)
X-Mailer: Mozilla 4.73 [en] (Win98; I)
X-Accept-Language: en
Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!news1.ebone.net!news.ebone.net!newsfeed.freenet.de!newsfeed.r-kom.de!news.zet.net!news-ffm.transmedia.de!news1.transmedia.de!not-for-mail