Problem
A script using the PHP functions posix_getpwuid()
and posix_geteuid()
sometimes (especially under heavy load) does not return requested users.
Solution
Univention is currently investigation the issue with this bug.
Option 1
Restart nscd:
systemctl restart nscd
Option 2
Create symbolic links with the EUID pointing to the users directory and skip the usage of the php functions.