summaryrefslogtreecommitdiff
path: root/FS
diff options
context:
space:
mode:
authorivan <ivan>2002-11-19 20:56:12 +0000
committerivan <ivan>2002-11-19 20:56:12 +0000
commitf5be6be6a52ee4461243eeaadcf769c14571b82f (patch)
tree8efd765dcacf1be19ec9b88f4fa79dd367549e45 /FS
parent55bfcaa26d8cc7729a8fbaa3a5325e4372588e8b (diff)
ldap export update
Diffstat (limited to 'FS')
-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;