Univention Bugzilla – Bug 46476
UMC web server spams logfile if memberof overlay is not active
Last modified: 2019-03-01 21:06:30 CET
UCS master+slave has been updated from 4.2-3 to 4.3-0. Afterwards the logfile management-console-web-server.log is spammed with the following logfiles each 30 seconds for each UMC session. ==> management-console-web-server.log <== 26.02.18 05:21:27.610 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive 26.02.18 05:21:57.613 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive 26.02.18 05:22:27.608 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive 26.02.18 05:22:57.613 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive 26.02.18 05:23:27.652 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive 26.02.18 05:23:57.616 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive 26.02.18 05:24:28.598 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive 26.02.18 05:24:58.196 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive 26.02.18 05:25:28.398 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive 26.02.18 05:25:58.352 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive 26.02.18 05:26:29.316 MAIN ( ERROR ) : Could not get groups for u'Administrator': Maybe memberof overlay module is inactive
The log is generated by the session-info query which tries to get the user's group using the memberof attribute. This is of course not possible if the memberof overlay is deactivated. But there is another side effect of this if the memberof overlay is deactivated: The new function to change portal object's visibility depending on a user's group membership uses the group membership information provided in the session-info query. This behaviour is broken due to session-info returning 'null' when the memberof-overlay is deactivated.
I simply set the loglevel to info to reduce spamming. Successful build Package: univention-management-console Version: 10.0.6-2A~4.3.0.201805071652 Branch: ucs_4.3-0 Scope: errata4.3-0 univention-management-console.yaml ab1207a709d1 | Bug #46476: YAML univention-management-console (10.0.6-2) 6b36eb9ccdd0 | Bug #46476: reduce loglevel of failed group info request
Okay, better. (In reply to Jannik Ahlers from comment #1) > But there is another side effect of this if the memberof overlay is > deactivated: > The new function to change portal object's visibility depending on a user's > group membership uses the group membership information provided in the > session-info query. This behaviour is broken due to session-info returning > 'null' when the memberof-overlay is deactivated. Yes, this is documented in the manual.
<http://errata.software-univention.de/ucs/4.3/38.html>