When LDAP user has already their account in matomo DB created manually, then on their first login warning is logged:
Unable to synchronize LDAP user 'userloginhere', non-LDAP user with same name exists.
No such warning on further logins of same user.
Seems this warning makes no sense because after this warning user is marked as synced from LDAP and further updates from LDAP work fine for them.
Consider removing this warning and always update user from LDAP if LDAP user sync is enabled and user matches.
When LDAP user has already their account in matomo DB created manually, then on their first login warning is logged:
No such warning on further logins of same user.
Seems this warning makes no sense because after this warning user is marked as synced from LDAP and further updates from LDAP work fine for them.
Consider removing this warning and always update user from LDAP if LDAP user sync is enabled and user matches.