mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-04 01:53:58 +00:00
Be a bit more verbose in the logging
This commit is contained in:
parent
d2a93643bc
commit
a50e3eae90
@ -609,6 +609,7 @@ function sync_LDAP_groups(){
|
||||
continue;
|
||||
}
|
||||
|
||||
dbg_error_log( "LDAP", "Syncing group %s", $group );
|
||||
$user = (object) array();
|
||||
|
||||
if ( isset($c->authenticate_hook['config']['default_value'])
|
||||
@ -695,6 +696,8 @@ function sync_LDAP_groups(){
|
||||
$ldap_members_tmp = array();
|
||||
|
||||
foreach ( $ldap_members as $member ) {
|
||||
dbg_error_log( "LDAP", "Considering adding %s to group %s", $member, $group );
|
||||
|
||||
if (isset($user_mapping['username'])
|
||||
&& preg_match('/=/', $member)) {
|
||||
// The member from LDAP has an = in it, assume it is a DN.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user