impl mailcow git support

This commit is contained in:
rnsrk 2025-04-22 06:58:36 +02:00
parent 385a7a5302
commit 4fd6bfddd6
23 changed files with 238 additions and 83 deletions

View file

@ -168,7 +168,7 @@ foreach ($response as $user) {
logMsg("err", "Could not create user " . $user[$iam_settings['username_field']][0]);
continue;
}
} else if ($row && intval($iam_settings['periodic_sync']) == 1) {
} else if ($row && intval($iam_settings['periodic_sync']) == 1 && $row['authsource'] == "ldap") {
if ($mapper_key === false){
logMsg("warning", "No matching attribute mapping found for user " . $user[$iam_settings['username_field']][0]);
continue;