diff options
author | ivan <ivan> | 2002-11-20 09:10:08 +0000 |
---|---|---|
committer | ivan <ivan> | 2002-11-20 09:10:08 +0000 |
commit | 6a3f590ec18e99086c19fbd9c958a278323df72c (patch) | |
tree | bb23ef1494e3570e6a6e8b0d98a1c8f32bc1beed /FS | |
parent | 57e6dca948e9d9afffb584645503d6bd2602139c (diff) |
fix silly bug in ldap export
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/part_export/ldap.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_export/ldap.pm b/FS/FS/part_export/ldap.pm index 776814c59..57d213af0 100644 --- a/FS/FS/part_export/ldap.pm +++ b/FS/FS/part_export/ldap.pm @@ -202,7 +202,7 @@ sub ldap_queue { } sub ldap_insert { #subroutine, not method - my $dn = ldap_connect(shift, shift, shift); + my $ldap = ldap_connect(shift, (my $dn = shift), shift); my %attrib = @_; my $status = $ldap->add( $dn, attrs => [ %attrib ] ); @@ -235,6 +235,6 @@ sub ldap_connect { my $status = $ldap->bind( $dn, %bind_options ); die $status->error if $status->is_error; - $dn; + $ldap; } |