Univention Bugzilla – Bug 33650
Configurable default group names
Last modified: 2014-01-29 11:16:53 CET
See Bug #33644 univention-pam should consider the different names.
2013-12-09-univention-config-registry.yaml univention-config-registry: 9.0.5-2.443.201312091553 added groupNameMapping(name) to class ConfigRegistry to easily convert group names in ucr templates. groupNameMapping returns the converted group name (from ucr var groups/default/name.lower.replace(" ", "")) or the name. 2013-12-09-univention-pam.yaml univention-pam: 7.0.4-3.224.201312091705 /etc/security/* templates in univention-pam have been modified to check the group name mapping and groups/default/.* has been added to the ucrv registration for those templates.
The templates needed additional adjustment for Bug 33889. Bug reassigned.
The groupNameMapping method has been removed from univention-config-registry in favour of the custom_groupname function in python-univention-lib. univention-pam has been adjusted accordingly and this bug number has been removed from the advisory 2013-12-09-univention-config-registry.yaml.
I've added a test case which failed: * 00_base/96rename_domain_admins Log output: Checking whether new admin group name (sojzcgxk) is set to /etc/security/access-chfn.conf: failed ************** /etc/security/access-chfn.conf *************** # Warning: This file is auto-generated and might be overwritten by # univention-config-registry. # Please edit the following file(s) instead: # Warnung: Diese Datei wurde automatisch generiert und kann durch # univention-config-registry überschrieben werden. # Bitte bearbeiten Sie an Stelle dessen die folgende(n) Datei(en): # # /etc/univention/templates/files/etc/security/access-chfn.conf # +::ALL -:ALL:ALL ****************************************
(In reply to Stefan Gohmann from comment #4) > I've added a test case which failed: > * 00_base/96rename_domain_admins My fault. This configuration seems to be normal for the following files: /etc/security/access-chfn.conf /etc/security/access-chsh.conf /etc/security/access-cron.conf /etc/security/access-kcheckpass.conf /etc/security/access-kde.conf /etc/security/access-kscreensaver.conf /etc/security/access-passwd.conf /etc/security/access-rsh.conf /etc/security/access-su.conf /etc/security/access-sudo.conf I'll adjust the test case.
Code:OK YAML: Failed, the entry does not mention the UCR variables. Test cases: OK, see 00_base/9*rename_*
Advisory text adjusted.
(In reply to Arvid Requate from comment #7) > Advisory text adjusted. OK
http://errata.univention.de/ucs/3.2/30.html