Article View: comp.lang.perl.misc
Article #254Re: Removing attributes
From: Philippe Hamel
Date: Fri, 04 May 2001 13:42
Date: Fri, 04 May 2001 13:42
44 lines
2897 bytes
2897 bytes
Well, I did give you an idea of what my problem is. I'm trying to remove an attribute from an entry. No, there's no error message to parse, because there's no code to give an error. That's the same reason why there's no code included in my post. I'm not getting an error trying to remove an attribute with faulty code, I just plain don't know how to do it. Using Net::LDAP's "delete" function, I'm able to remove an entry, but not an attribute. Can an attribute be removed using that function or is there another one? I'm sure there's a way to do it, since I'm using an LDAP browser that can do just that. Too bad I don't have access to the code of the browser. Thank you. -- Philippe Hamel Bureau : Courriel : phamel@logisil.com Tel : (514)866-5493 poste 419 Maison : Courriel : philippe.hamel@apiiq.qc.ca "Jon Ericson" <Jonathan.L.Ericson@jpl.nasa.gov> wrote in message news:864rv1lrea.fsf@jon_ericson.jpl.nasa.gov... > "Philippe Hamel" <hamel@hotmail.com> writes: > > > 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? > > I don't know the first thing about LDAP (except that I once got > Netscape mail to search the jpl.nasa.gov LDAP server). I know even > less how the protocol works. I don't know the name of the perl module > that speaks LDAP. You didn't give me any perl code to work with. You > didn't give me an error message to parse. You didn't give me any > hints as to what your problem is. I see you cross-posted to an LDAP > group, but this is pretty much off-topic there too (unless there is > something about the protocol that makes deleting attributes > impossible). Please consider posting some code. > > Jon
Technical Details
Message-ID:
<tf5cdig2522k7d@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> <864rv1lrea.fsf@jon_ericson.jpl.nasa.gov>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-04 06:42:10 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: Fri, 4 May 2001 09:42:21 -0400 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <tf5cdig2522k7d@corp.supernews.com> References: <tf2up1evf07q6b@corp.supernews.com> <864rv1lrea.fsf@jon_ericson.jpl.nasa.gov> 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: 46