Univention Bugzilla – Bug 53021
101_exam_mode_home_directories_permissions fails due to slow replication
Last modified: 2023-06-26 10:41:32 CEST
The test 90_ucsschool.101_exam_mode_home_directories_permissions fails - sometimes. In Bug #49655: set ntacl after distribution, we implemented a function which sets nt alcs on the exam users home directory, to prohibit them to change ownership and permissions. There are several files which are created when the user first logs in, e.g. windows-profiles, .profile & . univention-skel.lock, so in schoolexam.init_windows_profiles we do exactly that. Sometimes this fails in our test with NT_STATUS_LOGON_FAILURE, maybe it's a replication problem again, but I don't now exactly. The problem does not seem to lie inside the test (I waited for 200s and nothing happend) The exam mode still works and exam user are not allowed to change their file permissions except for those, (partly) hidden files and an error is logged to /var/log/univention/management-console-module-schoolexam.log Nevertheless, this is not optimal.