diff options
Diffstat (limited to 'urpm/ldap.pm')
-rw-r--r-- | urpm/ldap.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/ldap.pm b/urpm/ldap.pm index a2ab1e56..cfc4f142 100644 --- a/urpm/ldap.pm +++ b/urpm/ldap.pm @@ -7,7 +7,6 @@ use warnings; use urpm; use urpm::util; use urpm::msg 'N'; -require Net::LDAP; (our $VERSION) = q($Revision$) =~ /(\d+)/; @@ -168,6 +167,7 @@ sub load_ldap_media { } eval { + require Net::LDAP; my $ldap = Net::LDAP->new($config->{uri}) or die N("Cannot connect to ldap uri:"), $config->{uri}; |