mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Fix scope=onelevel in LDAP driver
When `scope` is set to 'onelevel', the LDAP driver actually does a full subtree search instead. Should be `ldap_list` instead. Fixed.
This commit is contained in:
parent
5bd6d70383
commit
3a08e80d5a
@ -105,7 +105,7 @@ class ldapDriver
|
||||
break;
|
||||
case "onelevel":
|
||||
$this->ldap_query_one = 'ldap_list';
|
||||
$this->ldap_query_all = 'ldap_search';
|
||||
$this->ldap_query_all = 'ldap_list';
|
||||
break;
|
||||
default:
|
||||
$this->ldap_query_one = 'ldap_search';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user