Problem: Opening a user in the UMC users module takes more than 30 seconds

Problem:

Opening a user in the UMC users module takes more than 30 seconds. Maybe your Proxy/Firewall or Loadbalande gives a 504 error.

Environment:

UCS@school with more than 2000 users, where kopano was installed for testing, and was removed afterwards.
So this is more of a special case, and unusual.

Investigation:

It looked like kopano was not removed as it was supposed to, so there were more parts left than planed. We have not found a root cause for that, yet

There was the udm/syntax/choices part, which causes the performance issue (Bug 32096)
So this is syntax look up, which takes lots of time. To get the extended attribute, which causes this you have to check via udm:
We assume it was related to kopano because it occurred after uninstalling.
udm settings/extended_attribute list | less
and search for kopano
There look for the module users/user and syntax NOT boolean.

Solution:

The extended attribute which causes the issue was the SendAsPrivilege.
So to repair the issue without removing kopano ldapschema and every attribute still attached to all users use:

udm settings/extended_attribute modify --dn 'cn=SendAsPrivilege,cn=kopano,cn=custom attributes,cn=univention,dc=schein,dc=kop' --remove 'module=users/user'

Mastodon