Fwd: net::ldap

Begin forwarded message:
> From: Takis Skagos <takis.skagos@sasktel.sk.ca>
> Date: 10 February 2004 16:43:25 GMT
> To: gbarr@pobox.com
> Subject: net::ldap
> Message-Id: <40290A2D.6020502@sasktel.sk.ca>
>
> Hi,
>
>   I've just downloaded your really nice net::ldap perl-ldap module.  
> It is much nicer than the perldap stuff I've been using for the past 
> while.  However, I have a question regarding one of the sample 
> programs I saw on  the CPAN site.
>
>   In the sample program you are using a method called "all_entries". 
> For example:
>
>   foreach $entry ($results->all_entries) { $entry->dump; }
>
> I cannot find any documentation on the method "all_entries", nor can I 
> find any information for the "dump" method.
>
>   If you could point me in the right direction so I can find out about 
> these methods, that would be great.
>
>   Thanks.
>
> -- 
> Takis
>
>
>

0
gbarr (67)
2/10/2004 4:52:32 PM
perl.ldap 1268 articles. 0 followers. Follow

0 Replies
2479 Views

Similar Articles

[PageSpeed] 14
Get it on Google Play
Get it on Apple App Store

Reply:

Similar Artilces:

[Fwd: make Net::LDAP::LDIF more similar to Net::LDAP]
--------------95D5815B06BDC2BD1A0ABFEB Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit --------------95D5815B06BDC2BD1A0ABFEB Content-Type: message/rfc822 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Mozilla-Status2: 00000000 Message-ID: <40C7B13E.8864E5A0@cs.adelaide.edu.au> Date: Thu, 10 Jun 2004 10:54:22 +1000 From: Sion Camilleri <sion@cs.adelaide.edu.au> Reply-To: sion@cs.adelaide.edu.au X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Graham Barr <gbarr@pobox.com>...

make Net::LDAP::LDIF more similar to Net::LDAP
Hi Graham, hi Chris, hi list, I would like to rework Net::LDAP::LDIF a bit so that its API resembles that of Net::LDAP a bit more while still keeping the traditional API. The reason for this is that in application I often need to distinguish between Net::LDAP and Net::LDAP::LDIF because some methods are only implemented on one side. I\'d like to start with a code() method that tries to mimic the Net::LDAP one and I\'d like to extend the Net::LDAP::Entry->update() method so that it takes a Net::LDAP::LDIF object as an argument. The latter one requires a...

Fw: Re: make Net::LDAP::LDIF more similar to Net::LDAP
Am 08.06.2004 um 18:29 Uhr haben Sie geschrieben: > On 8 Jun 2004, at 16:56, peter@adpm.de wrote: > > I\'d like to start with a code() method that tries to mimic the >> Net::LDAP one and >I assume you mean better error handling ? My first goal is having a code() method in Net::LDAP::LDIF. > > I\'d like to extend the > > Net::LDAP::Entry->update() method so that it takes a > > Net::LDAP::LDIF object as an argument. The latter one > > requires a bit of work in Net::LDAP::LDIF to make it > > correct. > Not su...

Net::LDAP and Net:LDAP::LDIF read & add problems
I'm trying to read in a simple LDIF file to add an entry to my LDAP server. Here is the basic routine (extraneous details omitted for brevity and security): $ldif = Net::LDAP::LDIF->new($tmp,"r",onerror => 'warn'); $entry = $ldif->ready_entry(); $ldap = Net::LDAP->new($LDAPSERVER); $result=$ldap->bind("$binddn",password=>"$bindpass",version=>"3"); $result=$ldap->add($entry); Now, everything seems to work until I get to the $ldap->add method. From that I get various versions of the following: object...

Net::LDAP v0.28, bug in Net::LDAP::Constant, :all not supported
Net::LDAP::Constant no longer supports the :all tag in the export list due to the switch from Exporter to a manual export routine. So, while the following: perl -MNet::LDAP::Constant=:all -e 1 worked fine in 0.2701, it now dies with the error: ":all" is not exported by the Net::LDAP::Constant module at -e line 0 Can't continue after import errors at -e line 0 BEGIN failed--compilation aborted, <DATA> line 197. The documentation for Net::LDAP::Constant still documents the ':all' tag. I am not subscribed to the list, so if some...

Fw: Re: make Net::LDAP::LDIF more similar to Net::LDAP #2
Hi, Am 09.06.2004 um 01:44 Uhr haben Sie geschrieben: > Extending Net::LDAP::Entry to update against LDIF and LDAP objects > could allow the changetype modifications to be to produced. > > This would be really useful to produce changetypes for entry objects by > updating against an LDIF object to produce the changetype LDIF required > up to synchronise entry objects. as Graham posted you can to that already now. Simply create your Net::LDAP::Entry object with the changes option set to TRUE. Having created the ::LDIF object that way you autom...

Net::LDAP and Net:LDAP::LDIF read & add problems #2
I'm trying to read in a simple LDIF file to add an entry to my LDAP server. Here is the basic routine (extraneous details omitted for brevity and security): $ldif = Net::LDAP::LDIF->new($tmp,"r",onerror => 'warn'); $entry = $ldif->ready_entry(); $ldap = Net::LDAP->new($LDAPSERVER); $result=$ldap->bind("$binddn",password=>"$bindpass",version=>"3"); $result=$ldap->add($entry); Now, everything seems to work until I get to the $ldap->add method. From that I get various versions of the following: obj...

Fwd: Net::LDAPS
Begin forwarded message: > From: "jsingh" <jsingh@fdu.edu> > Date: Tue Jul 15, 2003 14:20:48 US/Pacific > To: <gbarr@pobox.com> > Subject: Net::LDAPS > Reply-To: <jsingh@fdu.edu> > > Sir > > =A0I am unable to use Net::LDAPS to connect to the SSL port of=A0 my = LDAP=20 > server, I keep getting the error =A0=93IO::Socket::SSL: Timeout=A0=A0=A0= =A0=A0=A0=A0=20 > ...propagated at testldaps.pl=94. Could you please tell me what I am=20= > doing wrong. I am using Solaris 8 box with perl 5.8 and the package is=20=...

Net:Net:Net::LDAP::FAQ
------_=_NextPart_001_01C6429F.D89AA417 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, Net::LDAP Net::LDAPS Is there a possible to LDAP bind with an encrypted (SHA, SSHA, CRYPT, ....) password? I don't like to write the secret password to the perl file. Best regards Barbara Wilbert ------_=_NextPart_001_01C6429F.D89AA417-- Wilbert Barbara (CI/OSI) * wrote: > Hello, > > Net::LDAP > Net::LDAPS > > Is there a possible to LDAP bind with an encrypted (SHA, SSHA, CRYPT, > ......

Fwd: Error in LDAP.html/LDAP.pod
Begin forwarded message: > From: Bruno Grossmann <bruno.grossmann@pwgsc.gc.ca> > Date: November 10, 2003 16:41:58 GMT > To: gbarr@pobox.com > Subject: Error in LDAP.html/LDAP.pod > Message-Id: <1068482518.982.4.camel@brunog.srv.gc.ca> > > Hello, > I am happily and extensively using the start_tls feature of the > Net::LDAP module and it works fine. I just wanted to let you know that > the LDAP.html and LDAP.pod file mention the optional argument > 'decryptkey' to pass the private key password, but the argument used = in > the ...

Net::LDAP based LDAP server available?
Hi, has anybody tried to build an LDAP server based on Net::LDAP or Convert::ASN1 yet? Thanks for any hint. Enrik ...

Net::LDAP & LDAP Decoding Error
--mvpLiMfbWzRoNl4x Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello! I have a question about an LDAP query with Net::LDAP. I send queries to an OpenLDAP server (version 2.2.24). The queries are very simple and intended to detect already existing user entries. The code that prepares and sends the query looks like this: $filter =3D "(uid=3D".$username.")"; $filterobj =3D Net::LDAP::Filter->new($filter); $lres =3D $ldap->search( base =3D> $base, s...

Secure LDAP (ldaps)
hi I have implemented ldap authentication in our application using the sample given in "LDAP using EAServer and Powerbuilder" document. It is succefully implemented. But the network people has asked me to connect on secure port (ldaps) now. My problem is i don't know what i kind of setting i should do now on EAServer box and what i should do on the clients. I assume there is nothing to be done on the client because the call to ldap check is initiated from the EAServer Server to LDAP server using EJB (calling JNDI API). We are runnig EAServer on JDK 1.3. Can someone g...

Fwd: question on Net::LDAP
Begin forwarded message: > From: Frank Koenen <fkoenen@feweb.net> > Date: Wed Jul 9, 2003 15:57:45 US/Pacific > To: gbarr@pobox.com > Subject: question on Net::LDAP > Reply-To: fkoenen@feweb.net > > Graham, > > Quick question on Net::LDAP. > > Is there a way that I could detect if the LDAP server has closed down > the network socket after I've connected and/or binded to the server? > > I'm using the Perl POE module and have persistent connection to the > LDAP > server. If I shutdown the LDAP server, after the...

Web resources about - Fwd: net::ldap - perl.ldap

Resources last updated: 12/24/2015 10:37:41 AM