Univention Bugzilla – Bug 42335
User Template: Primary Group default value
Last modified: 2019-02-27 18:02:24 CET
The default value in every Primary Group selection is the value set in the attribute Default Primary Group. (Can be changed via Domain->LDAP directory->univention->default|Primary Groups) (Example selection: Users->Administrator|Groups->Primary group) The default value for the Primary Group selection when creating a new User Template via the LDAP directory in folder univention->templates , is the first entry in the Groups list (Account Operators by default), though. This can lead to major problems, if the Administrator creating the Template expects the preset Primary Group to be the value, which is preset in every other selection (Default Primary Group value [Domain Users] by default)
Again UCS Technical training 2018-10-09
git:management/univention-directory-manager-modules/modules/univention/admin/handlers/settings/usertemplate.py 306 »···'primaryGroup': univention.admin.property( ... 309 »···»···syntax=univention.admin.syntax.GroupDN, 310 »···»···one_only=True, 313 »···»···required=False, ... The property is marked as "not required", but the combo-box-drop-down does not allow to select no group; as such the user template always contains an explicit setting for the primary group if the template is created via UMC. Using the CLI on the other hand it is possible to create a user template without any "primary group" set: udm settings/usertemplate create \ --position "cn=templates,cn=univention,$(ucr get ldap/base)" \ --set name=bug42335 with that template the "users/user" udm module then correctly fills in its default group, e.g. "Domain users" (or whatever is configured in "udm settings/default list")
UCS technical training 2018-11-29
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
UCS technical training 2019-01-29