Article View: comp.lang.perl.misc
Article #257Re: Removing attributes
From: Philippe Hamel
Date: Tue, 08 May 2001 13:39
Date: Tue, 08 May 2001 13:39
47 lines
2177 bytes
2177 bytes
Thanks. We decided to go with basically copying the attributes I wanted to keep, deleting the entry and recreating the entry. Seems to work fine. -- Philippe Hamel Bureau : Courriel : phamel@logisil.com Tel : (514)866-5493 poste 419 Maison : Courriel : philippe.hamel@apiiq.qc.ca "Birgit Hans" <birgit@watermans-welt.de> wrote in message news:3AF7D738.A448DC3E@watermans-welt.de... > 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:
<tfftobr6v3jc53@corp.supernews.com>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mailReferences:
<tf2up1evf07q6b@corp.supernews.com> <3AF7D738.A448DC3E@watermans-welt.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f591,47654e7f1f9fba42 X-Google-Attributes: gid10f591,public X-Google-Thread: 103627,47654e7f1f9fba42 X-Google-Attributes: gid103627,public X-Google-Thread: fa0ae,47654e7f1f9fba42 X-Google-Attributes: gidfa0ae,public X-Google-ArrivalTime: 2001-05-08 06:39:24 PST Path: arc1-ca.pugleaf.net!newsfeed.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail From: "Philippe Hamel" <hamel@hotmail.com> Newsgroups: comp.lang.perl.misc,comp.lang.perl.modules,fj.net.ldap Subject: Re: Removing attributes Date: Tue, 8 May 2001 09:39:18 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <tfftobr6v3jc53@corp.supernews.com> References: <tf2up1evf07q6b@corp.supernews.com> <3AF7D738.A448DC3E@watermans-welt.de> X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2462.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2462.0000 X-Complaints-To: newsabuse@supernews.com Lines: 49