Bug 33895

Summary: Configurable default Administrator name in univention-samba
Product: UCS Reporter: Arvid Requate <requate>
Component: SambaAssignee: Samba maintainers <samba-maintainers>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: birkefeld, gohmann, jmm
Version: UCS 4.2Flags: requate: Patch_Available+
Target Milestone: ---   
Hardware: Other   
OS: Linux   
See Also: https://forge.univention.org/bugzilla/show_bug.cgi?id=33737
http://forge.univention.org/bugzilla/show_bug.cgi?id=33896
https://forge.univention.org/bugzilla/show_bug.cgi?id=34528
What kind of report is it?: Development Internal 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): Internationalization
Max CVSS v3 score:
Bug Depends on: 33893    
Bug Blocks:    
Attachments: custom_Administrator_univention-samba.patch

Description Arvid Requate univentionstaff 2014-01-09 18:55:06 CET
Created attachment 5724 [details]
custom_Administrator_univention-samba.patch

The name of the role account "Administrator" should be configurable in univention-samba.


+++ This bug was initially created as a clone of Bug #33890 +++
Comment 1 Arvid Requate univentionstaff 2014-11-20 12:35:20 CET
*** Bug 35533 has been marked as a duplicate of this bug. ***
Comment 2 Arvid Requate univentionstaff 2014-11-20 13:00:10 CET
My feeling is, that the idea from that duplicate bug doesn't quite cut the general problem of translating english UCR value elements to customized (e.g. non-english) names.

To stay at the example of samba/adminusers:

* The patch above is doing the job of initializing the variable value properly during package installation time

But the translation of UCR values also needs be updated in the configuration files after the users/default/* and/or groups/default/* variables changed.

Since the UCR values are local, we cannot easily run through each hosts UCR values e.g. during AD-Takeover to translate the values.

On the other end of the chain, it might not be 100% correct to do this translation in the UCR templates by simply replacing names. Maybe a customer has users/default/administrator="Bart Simpson" and yet created another user "administrator" (with a normal user RID).

Currently I think that the Listener module well-known-sid-name-mapping.py is the right place to do this job of UCR value translation, as it runs exactly at the moment where the local UCR settings need adjustment.
Comment 3 Ingo Steuwer univentionstaff 2020-07-03 20:52:16 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.