Univention Bugzilla – Bug 57277
Behaviour change with introducing the ox-connector
Last modified: 2024-05-27 16:42:43 CEST
The customer has now noticed that with the OX-Connector the group display name is no longer set with the description from the LDAP. The cn of the group is set in OX as identifier and displayName. Previously the displayName was set with the description. Since the cn, i.e. the identifier, often does not say much about the group, the correct group cannot be found when selecting groups in OX. Example: cn= scheinrost description= Team: Schein Rostock ============================================================== I reproduced the issue: root@ox-mail:~# univention-app info UCS: 5.0-2 errata491 Installed: mailserver=12.0 open-xchange-guard=2.10.5-ucs1 open-xchange-text=7.10.5-ucs1 oxseforucs=7.10.5-ucs4 Upgradable: open-xchange-guard open-xchange-text oxseforucs # Lieblingsgruppe, groups, sunshine.int dn: cn=Lieblingsgruppe,cn=groups,dc=sunshine,dc=int cn: Lieblingsgruppe gidNumber: 5011 sambaGroupType: 2 univentionGroupType: -2147483646 description: Meine Lieblings Gruppe mailPrimaryAddress: Lieblingsgruppe@sunshine.int maildisclaimerTemplate: 0 sambaSID: S-1-5-21-457270120-4121386289-1540632284-11023 uniqueMember: uid=r.vogel,cn=users,dc=sunshine,dc=int uniqueMember: uid=aschein,cn=users,dc=sunshine,dc=int uniqueMember: uid=cschein,cn=users,dc=sunshine,dc=int memberUid: aschein memberUid: cschein memberUid: r.vogel objectClass: top objectClass: univentionObject objectClass: univentionGroup objectClass: maildisclaimer objectClass: oxGroup objectClass: posixGroup objectClass: sambaGroupMapping univentionObjectType: groups/group isOxGroup: OK root@ox-mail:~# /opt/open-xchange/sbin/listgroup -A oxadmin -P $(< /etc/ox-secrets/context10.secret) -c 10 Id Name Displayname Members 1 users Standardgruppe 2,3,5,8,9,12 10 testgroup testgroup 3,5 13 Lieblingsgruppe Meine Lieblings Gruppe 3,5 <-------------- ---------------------------------------------------------- root@ucs-ox:~# univention-app info UCS: 5.0-5 errata982 Installed: fetchmail=6.3.26 mailserver=12.0 open-xchange-text=7.10.6-ucs2 ox-connector=2.2.7 oxseforucs=7.10.6-ucs10 Upgradable: open-xchange-text ox-connector # Lieblingsgruppe, groups, schein.ox dn: cn=Lieblingsgruppe,cn=groups,dc=schein,dc=ox cn: Lieblingsgruppe gidNumber: 5010 sambaGroupType: 2 univentionGroupType: -2147483646 description: meineLieblingsGruppenBeschreibung mailPrimaryAddress: Lieblingsmail@schein.ox isOxGroup: OK sambaSID: S-1-5-21-3830678124-1476782405-676169018-11021 uniqueMember: uid=cscheini,cn=users,dc=schein,dc=ox uniqueMember: uid=lilly.cat,cn=users,dc=schein,dc=ox uniqueMember: uid=Christina,cn=users,dc=schein,dc=ox memberUid: Christina memberUid: cscheini memberUid: lilly.cat objectClass: oxGroup objectClass: sambaGroupMapping objectClass: univentionObject objectClass: posixGroup objectClass: univentionGroup objectClass: top univentionObjectType: groups/group root@ucs-ox:~# /opt/open-xchange/sbin/listgroup -A oxadmin -P $(< /etc/ox-secrets/context10.secret) -c 10 Id Name Displayname Members 1 users Standardgruppe 2,3,4 5 TMA TMA 6 Lieblingsgruppe Lieblingsgruppe 3,4 <----------------------
You are right that there was a behavior change between OX Appsuite and OX Connector in regards to the group displayname and I'd like to apologize that this happened in the first place. However the OX connector was released nearly two years ago with this change and simply reverting it would break several environments in the current version, therefore we cannot just change it right now. To allow the old behavior while keep the current I have created a feature request that allows to change the mapping as it is possible for users: https://forge.univention.org/bugzilla/show_bug.cgi?id=57346 But unfortunately there is neither a quick fix nor a workaround here since the current behavior is the supported one and the old behavior cannot be restored without breaking it - I totally understand that this is unfortunate, hence the Feature Request. Just nothing we can quickly change without affecting customers either way.