Univention Bugzilla – Bug 47173
Provide custom SID for domain controller upon installation
Last modified: 2021-05-03 21:44:58 CEST
A user requested the possibility to set a custom SID upon installation of UCS.
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