Change import of Net::LDAP to work on squeeze
[mirror/userdir-ldap-cgi.git] / search.cgi
index dcab35b..16d00b0 100755 (executable)
@@ -11,7 +11,7 @@ use strict vars;
 use CGI;
 use Util;
 use URI::Escape;
-use Net::LDAP qw(:all);
+use Net::LDAP qw(LDAP_SUCCESS LDAP_PROTOCOL_ERROR);
 
 # Global settings...
 my %config = &Util::ReadConfigFile;