Univention Bugzilla – Full Text Bug Listing |
Summary: | Configurable default group names | ||
---|---|---|---|
Product: | UCS | Reporter: | Stefan Gohmann <gohmann> |
Component: | PAM | Assignee: | Arvid Requate <requate> |
Status: | CLOSED FIXED | QA Contact: | Stefan Gohmann <gohmann> |
Severity: | normal | ||
Priority: | P5 | CC: | jmm |
Version: | UCS 3.2 | ||
Target Milestone: | UCS 3.2-0-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
What kind of report is it?: | --- | What type of bug is this?: | --- |
Who will be affected by this bug?: | --- | How will those affected feel about the bug?: | --- |
User Pain: | Enterprise Customer affected?: | ||
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 33889 |
Description
Stefan Gohmann
2013-12-04 13:48:54 CET
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 |