The AD Connector is supposed to import users and groups from Windows AD. Unfortunately, we have the problem that users occasionally get “kicked out” of the groups. However, in the UMC, they are still displayed as if they are in the group. If I remove and re-add the user there, everything is correct.
We have noticed that the users do not really get kicked out of the group, but that the group in the internal.sqlite database is not stored case-sensitively. If the group is added manually via the UMC, it is case-sensitive.
Does anyone have an idea what could be causing this?
We have found the error. In the init.py in the folder /usr/lib/python3/dist-packages/univention/connector there is a .lower() after each variable.
If you remove all .lower() the groups will be properly synchronized again.
“Please note that disabling username sensitivity check can lead to security risks, as it can allow users to bypass two-factor authentication. It is recommended to keep this feature enabled unless it is absolutely necessary for legacy compatibility reasons.”