Bug 47173 - Provide custom SID for domain controller upon installation
Provide custom SID for domain controller upon installation
Status: NEW
Product: UCS
Classification: Unclassified
Component: Samba4
UCS 5.0
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Samba maintainers
Samba maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-11 15:31 CEST by Nico Gulden
Modified: 2021-05-03 21:44 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 2: Improvement: Would be a product improvement
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.034
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2018060121000165
Bug group (optional): External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Gulden univentionstaff 2018-06-11 15:31:46 CEST
A user requested the possibility to set a custom SID upon installation of UCS.
Comment 1 Arvid Requate univentionstaff 2019-05-06 20:51:25 CEST
Workaround (untested):

First install UCS Master without Samba/AD. Then log in as root and go through the following four steps:


root@master:~# ucr set directory/manager/web/modules/settings/sambadomain/properties/SID/may_change=True; pkill -f cli

root@master:~# udm settings/sambadomain modify \
 --dn "sambaDomainName=$(ucr get windows/domain),cn=samba,$(ucr get ldap/base)" \
 --set SID=S-1-5-21-2660895256-1678062113-3852026327  ## or whatever

root@master:~# ucr unset directory/manager/web/modules/settings/sambadomain/properties/SID/may_change; pkill -f cli

root@master:~# univention-app install samba4