Skip to content
Snippets Groups Projects
Commit 186b12ca authored by Aleksander Machniak's avatar Aleksander Machniak
Browse files
parents b19bca27 7e614838
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,7 +2,7 @@
"name": "kolab/Net_LDAP3",
"description": "A successor of the PEAR:Net_LDAP2 module providing advanced functionality for accessing LDAP directories",
"type": "library",
"version": "1.0.1",
"version": "1.0.2",
"keywords": ["pear", "ldap", "vlv"],
"homepage": "http://git.kolab.org/pear/Net_LDAP3/",
"license": "GPL-3.0",
Loading
Loading
Loading
Loading
@@ -779,7 +779,7 @@ class Net_LDAP3
 
// remove password from debug log
$command_debug = $command;
$command_debug[11] = '*';
$command_debug[13] = '*';
 
$command = implode(' ', $command);
$command_debug = implode(' ', $command_debug);
Loading
Loading
@@ -1552,12 +1552,16 @@ class Net_LDAP3
return false;
}
 
$this->_debug("C: Search base dn: [$base_dn] scope [$scope] with filter [$filter]");
// make sure attributes list is not empty
if (empty($attrs)) {
$attrs = array('dn');
}
// make sure filter is not empty
if (empty($filter)) {
$filter = '(objectclass=*)';
}
$this->_debug("C: Search base dn: [$base_dn] scope [$scope] with filter [$filter]");
 
$function = self::scope_to_function($scope, $ns_function);
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment