Univention Bugzilla – Bug 52184
appcenter listener converter triggers modify for all users of a group, when group is renamed
Last modified: 2020-10-05 12:03:22 CEST
When a group with x users is renamed, x+1 changes are triggered by the appcenter listener trigger: 4 users/user modification and 1 groups/group modification. Example log of a group ("DEMOSCHOOL-pferd") with 2 users ("sch1" and "sch2"): --- /var/log/univention/listener.log ------------------------------------------------------------- 05.10.20 11:55:57.572 LDAP ( PROCESS ) : connecting to ldap://m6111.uni.dtr:7389 05.10.20 11:55:57.582 LISTENER ( PROCESS ) : updating 'uid=sch1,cn=schueler,cn=users,ou=demoschool,dc=uni,dc=dtr' command m 05.10.20 11:55:57.590 LISTENER ( PROCESS ) : ucsschool-id-connector: modify of uid=sch1,cn=schueler,cn=users,ou=DEMOSCHOOL,dc=uni,dc=dtr (id: 65ef935a-9b3c-103a-967d-293da29c1806, file: /var/lib/univention-appcenter/listener//ucsschool-id-connector/2020-10-05-11-55-57-588464.json) 05.10.20 11:55:57.593 LISTENER ( PROCESS ) : updating 'uid=sch1,cn=schueler,cn=users,ou=demoschool,dc=uni,dc=dtr' command m 05.10.20 11:55:57.597 LISTENER ( PROCESS ) : updating 'uid=sch2,cn=schueler,cn=users,ou=demoschool,dc=uni,dc=dtr' command m 05.10.20 11:55:57.601 LISTENER ( PROCESS ) : ucsschool-id-connector: modify of uid=sch2,cn=schueler,cn=users,ou=DEMOSCHOOL,dc=uni,dc=dtr (id: 8e431084-9b3c-103a-968e-293da29c1806, file: /var/lib/univention-appcenter/listener//ucsschool-id-connector/2020-10-05-11-55-57-600886.json) 05.10.20 11:55:57.604 LISTENER ( PROCESS ) : updating 'uid=sch2,cn=schueler,cn=users,ou=demoschool,dc=uni,dc=dtr' command m 05.10.20 11:55:57.607 LISTENER ( PROCESS ) : updating 'cn=DEMOSCHOOL-pferd,cn=klassen,cn=schueler,cn=groups,ou=DEMOSCHOOL,dc=uni,dc=dtr' command r 05.10.20 11:55:57.609 LISTENER ( PROCESS ) : updating 'cn=DEMOSCHOOL-pferd2,cn=klassen,cn=schueler,cn=groups,ou=DEMOSCHOOL,dc=uni,dc=dtr' command a 05.10.20 11:55:57.626 LISTENER ( PROCESS ) : ucsschool-id-connector: modify of cn=DEMOSCHOOL-pferd2,cn=klassen,cn=schueler,cn=groups,ou=DEMOSCHOOL,dc=uni,dc=dtr (id: 37e6523c-9b3c-103a-9663-293da29c1806, file: /var/lib/univention-appcenter/listener//ucsschool-id-connector/2020-10-05-11-55-57-625779.json) 05.10.20 11:55:57.630 LISTENER ( PROCESS ) : updating 'cn=DEMOSCHOOL-pferd2,cn=klassen,cn=schueler,cn=groups,ou=DEMOSCHOOL,dc=uni,dc=dtr' command m ---------------------------------------------------------------------------- --- /var/log/univention/listener_modules/ucsschool-id-connector.log ------- 2020-10-05 11:55:57 INFO modify of uid=sch1,cn=schueler,cn=users,ou=DEMOSCHOOL,dc=uni,dc=dtr (id: 65ef935a-9b3c-103a-967d-293da29c1806, file: /var/lib/univention-appcenter/listener//ucsschool-id-connector/2020-10-05-11-55-57-588464.json) 2020-10-05 11:55:57 INFO modify of uid=sch2,cn=schueler,cn=users,ou=DEMOSCHOOL,dc=uni,dc=dtr (id: 8e431084-9b3c-103a-968e-293da29c1806, file: /var/lib/univention-appcenter/listener//ucsschool-id-connector/2020-10-05-11-55-57-600886.json) 2020-10-05 11:55:57 INFO modify of cn=DEMOSCHOOL-pferd2,cn=klassen,cn=schueler,cn=groups,ou=DEMOSCHOOL,dc=uni,dc=dtr (id: 37e6523c-9b3c-103a-9663-293da29c1806, file: /var/lib/univention-appcenter/listener//ucsschool-id-connector/2020-10-05-11-55-57-625779.json) ---------------------------------------------------------------------------- The reason might be the memberOf overlay (?). The listener should only trigger one change for a group, when it is renamed.