Change import of Net::LDAP to work on squeeze
[mirror/userdir-ldap-cgi.git] / update.cgi
index 052238f..c42eddc 100755 (executable)
@@ -13,7 +13,7 @@ use Digest::HMAC_SHA1 qw(hmac_sha1_hex);
 use Util;
 use English;
 use URI::Escape;
-use Net::LDAP qw(:all);
+use Net::LDAP qw(LDAP_SUCCESS LDAP_PROTOCOL_ERROR);
 
 my %config = &Util::ReadConfigFile;