Re: messageID is undefined when using unbind()

2012-11-19 Thread John Devitofranceschi
This patch works for us as we'll. Many thanks! jd On Nov 17, 2012, at 14:48, Peter Marschall wrote: > Hi, > > On Thursday, 15. November 2012, John Devitofranceschi wrote: >> [...] >> $ldap->unbind(); >> >> Makes my script generate this: >>

messageID is undefined when using unbind()

2012-11-15 Thread John Devitofranceschi
When I bind like this: $ldap = Net::LDAP->new( $dshost , onerror => 'warn' ); $ldap->bind( $dn, password => $password ); Unbinding like this: $ldap->unbind(); Makes my script generate this: messageID is undefined at /usr/lib/cpan/Net/LDAP/Message.pm line 195. This happens with perl-ldap 0.49.

Re: How Change Boolean Attribute LDAP

2012-06-03 Thread John Devitofranceschi
Hi, On Jun 3, 2012, at 12:27 PM, Peter Marschall wrote: > Hi, > > On Thursday, 31. May 2012, Lars Reidelbach wrote: >> I create User accounts in our LDAP. For this I must change the attribute >> msDS-UserAccountDisabled from "TRUE" to "FALSE". This is a boolean >> attribute with "False" and "

Re: Problem with Net::LDAP::Control::Paged and Oracle Internet Directory

2012-01-19 Thread John Devitofranceschi
On Jan 19, 2012, at 15:16, Chris Ridd wrote: > > On 19 Jan 2012, at 14:05, Chris Ridd wrote: > >> >> On 19 Jan 2012, at 14:00, John Devitofranceschi wrote: >> >>> >>> >>> On Jan 19, 2012, at 8:21, Chris Ridd wrote: >>> &

Re: Problem with Net::LDAP::Control::Paged and Oracle Internet Directory

2012-01-19 Thread John Devitofranceschi
On Jan 19, 2012, at 8:21, Chris Ridd wrote: > > On 19 Jan 2012, at 12:39, John Devitofranceschi wrote: > >> Two bugs! Such a deal! > > No extra charge :-) > >> Yes, the cookie setting code is in the while (1) loop and the callback >> merely print

Re: Problem with Net::LDAP::Control::Paged and Oracle Internet Directory

2012-01-19 Thread John Devitofranceschi
On Jan 19, 2012, at 7:12 AM, Chris Ridd wrote: > > On 19 Jan 2012, at 01:35, John Devitofranceschi wrote: > >> I am trying to use a slightly modified version of the Net::LDAP example >> scripts with paging and callbacks against Oracle Internet directory. >> >>

Problem with Net::LDAP::Control::Paged and Oracle Internet Directory

2012-01-19 Thread John Devitofranceschi
I am trying to use a slightly modified version of the Net::LDAP example scripts with paging and callbacks against Oracle Internet directory. I am using perl 5.14.2 and very fresh versions of all the CPAN modules. The script fails with: LDAP Search Failed: decode error 22 75 at /run/pd/csm/64-b