mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-23 02:14:16 +00:00
Use filterUsers from the config
This commit is contained in:
parent
b0d01264e0
commit
cb287c5abf
@ -663,7 +663,8 @@ function sync_LDAP_groups(){
|
|||||||
&& isset($user_mapping['username'])) {
|
&& isset($user_mapping['username'])) {
|
||||||
$query = $ldapDriver->ldap_query_one;
|
$query = $ldapDriver->ldap_query_one;
|
||||||
$username_ldap_attribute = $user_mapping['username'];
|
$username_ldap_attribute = $user_mapping['username'];
|
||||||
$filter = "(objectCategory=person)";
|
|
||||||
|
$filter = $ldapDriver->filterUsers();
|
||||||
|
|
||||||
$ldap_members_tmp = array();
|
$ldap_members_tmp = array();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user