=cut
-our %Config = get_config ();
our $Ldap;
@LiCoM::Connection::EXPORT_OK = (qw($Ldap));
my %opts = @_;
my $bind_dn = $opts{'bind_dn'};
- my $base_dn = $opts{'base_dn'};
my $uri = $opts{'uri'};
my $passwd = $opts{'password'};
my $msg;
- die unless ($bind_dn and $base_dn and $uri and defined ($passwd));
+ die unless ($bind_dn and $uri and defined ($passwd));
$Ldap = Net::LDAP->new ($uri);
return (0);
}
- $Config{'base_dn'} = $base_dn;
-
return (1);
}