From: Simon A. <sim...@st...> - 2001-05-31 02:58:11
|
> > Output from perl -v > > This is perl, version 5.003 with EMBED > > built under solaris at Jun 10 1998 02:26:14 > > + suidperl security patch > > > > The perl is the version that comes with Oracle 9i. > > > > delphi:~$ uname -a > > SunOS delphi.ihug.co.nz 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-2 > Simon, > > The lowest version of perl that we support is version 5.004. > Very soon we will only support 5.005_03 and above. > > IMO your problem is in your version of perl. I have just tried it on my debian box. soundy@zippie:~$ uname -a Linux zippie 2.2.18 #2 Thu Apr 5 00:56:03 NZST 2001 i686 unknown soundy@zippie:~$ perl -v This is perl, v5.6.0 built for i386-linux Copyright 1987-2000, Larry Wall Source: # Connect and bind to the LDAP Database my $ldap = Net::LDAP->new('delphi.ihug.co.nz') or do { print "Couldn't connect to LDAP database $@\n"; exit 1; }; if (!$ldap->bind("cn=Manager, $authbase", password => $authpass)) { print "Ldap Bind failed!\n"; exit 1; } my $mesg = $ldap->search( base => "$authbase", filter => '(objectclass=ihugAuthAccount)', It used the same amount of Ram. Simon Allard (Senior Tool Monkey) IHUG Ph (09) 358-5067 Email: sim...@st... The real fighting men and women of the 21st century will continue to be techo's backed up by the grunts with bad haircuts and rifles. |