summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2002-11-19 20:56:05 +0000
committerivan <ivan>2002-11-19 20:56:05 +0000
commit92305e04d5eb01366dca0ab1feaba888ae47a82f (patch)
treee30fa94e0aee773c6b84f733be0032ea86ff2828
parent5f7fab040df83dbca335749e7160034cc4bd4b8c (diff)
ldap export update
-rw-r--r--FS/FS/part_export/ldap.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/part_export/ldap.pm b/FS/FS/part_export/ldap.pm
index ec1d37fd5..6077b7418 100644
--- a/FS/FS/part_export/ldap.pm
+++ b/FS/FS/part_export/ldap.pm
@@ -229,7 +229,7 @@ sub ldap_connect {
eval "use Net::LDAP";
die $@ if $@;
- my $ldap = Net::LDAP->net($machine) or die $@;
+ my $ldap = Net::LDAP->new($machine) or die $@;
my $status = $ldap->bind( $dn, password=>$password );
die $status->error if $status->is_error;