Re: "LDAP_SYNC_INFO" is not exported by the Net::LDAP::Constant module

2010-06-14 Thread Marc Girod
On Mon, Jun 14, 2010 at 3:28 PM, Graham Barr wrote: > Are you running the latest release ? I doubt it... LDAP.pm says 0.39, Constant.pm 0.07. I have something else to update in this installation... I downloaded now 0.4001 from CPAN. > The issue was due to the fact that constants were created on

"LDAP_SYNC_INFO" is not exported by the Net::LDAP::Constant module

2010-06-14 Thread Marc Girod
Hello, I found a thread last year (12 Feb, 29 June 2009) about this same symptom I am experimenting. The thread didn't have a clear conclusion. I.e. I get such errors in my nightly build logs, driven by a perl script which uses LDAP. It seems this is intermittent: most builds succeed, and I do no

Re: Perl Script Needed To Create The Home Drectories.

2008-08-20 Thread Marc Girod
Hi all, May I add my grain of salt? On Wed, Aug 20, 2008 at 3:20 AM, Vartak, Yash V <[EMAIL PROTECTED]> wrote: > You should not expect the community to write entire stuff for you, > the community is for programmers to help each other with genuine queries, > and not give ready made solutions. Gr

Re: Can't call method "FETCH" on an undefined value

2007-02-26 Thread Marc Girod
Thank a lot! I'll both test the change, and negociate with the original author of IonaLDAP.pm, to check he had no special reason to do that. Marc

Re: Can't call method "FETCH" on an undefined value

2007-02-26 Thread Marc Girod
Hello Graham, Thanks again for your reply... On 2/23/07, Graham Barr <[EMAIL PROTECTED]> wrote: You should never call DESTROY directly. I hear you, but do you have a pointer for me at documentation explaining why this is wrong, what it may lead to etc.? Preferably to perl man pages... [ Slig

Re: Can't call method "FETCH" on an undefined value

2007-02-22 Thread Marc Girod
Hello again, On 2/22/07, Marc Girod <[EMAIL PROTECTED]> wrote: Is it thus called anyway a second time? Er... I did now the following, which got rid of the problem/symptom: $ldap->DESTROY; $ldap = 0; Is it brutal? Too brutal? Marc

Re: Can't call method "FETCH" on an undefined value

2007-02-22 Thread Marc Girod
Thank You Graham, On 2/21/07, Graham Barr <[EMAIL PROTECTED]> wrote: The only safe way to solve this is to ensure that all your objects are destroyed before global destruction. I hear what you say, and I believe I understand it. However, my attempt fails. In my user script, I added in the end

Re: Can't call method "FETCH" on an undefined value

2007-02-21 Thread Marc Girod
Hello again, On 2/21/07, Marc Girod <[EMAIL PROTECTED]> wrote: ... The version of LDAP.pm I use is: I downloaded and installed perl-ldap-0.34 (without at least some of the possible optional modules: Authen::SASL, GSSAPI, IO::Socket::SSL , XML::SAX::Writer. All the tests were successf

Can't call method "FETCH" on an undefined value

2007-02-21 Thread Marc Girod
Hello, I am using Net::LDAP; from within a module I didn't write myself, and get the following error at exit (everything working otherwise fine): (in cleanup) Can't call method "FETCH" on an undefined value at /usr/lib/perl5/vendor_perl/5.8.5/Net/LDAP.pm line 244 during global destruction.