Bug 33895 - Configurable default Administrator name in univention-samba
Configurable default Administrator name in univention-samba
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Samba
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: Samba maintainers
:
: 35533 (view as bug list)
Depends on: 33893
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-09 18:55 CET by Arvid Requate
Modified: 2020-07-03 20:52 CEST (History)
3 users (show)

See Also:
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:
requate: Patch_Available+


Attachments
custom_Administrator_univention-samba.patch (3.16 KB, patch)
2014-01-09 18:55 CET, Arvid Requate
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.