|
From: Quanah Gibson-M. <qu...@zi...> - 2008-09-17 18:37:31
|
--On Wednesday, September 17, 2008 5:33 PM +0200 Dieter Kluenter
<di...@dk...> wrote:
> ,----[ simple script perl-5.8.8 ]
>| $ld = new Net::LDAPapi('localhost');
>|
>| $ld->sasl_parms(
>| -mech=>"DIGEST-MD5",
>| -flags=>LDAP_SASL_AUTOMATIC
>| );
>|
>| $ld->bind_s('admanager','xxx');
>| $ld->unbind;
> `----
Are you sure this is your exact script? I get no errors:
[zimbra@freelancer ~]$ /tmp/ldapwalk3.pl
[zimbra@freelancer ~]$ cat /tmp/ldapwalk3.pl
#!/usr/bin/perl -w
use strict;
use Net::LDAPapi;
my $ld;
$ld = new Net::LDAPapi('localhost');
$ld->sasl_parms(
-mech=>"DIGEST-MD5",
-flags=>LDAP_SASL_AUTOMATIC
);
$ld->bind_s('admanager','xxx');
$ld->unbind;
--Quanah
--
Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra :: the leader in open source messaging and collaboration
|