CpServiceSPb .
2016-Mar-13 17:20 UTC
[Samba] Specify or rename 'Administrator' name (cn) for DC ?
Hi all. Is it possible to change DC administrator name from 'Administrator' to something else, for example, to 'DomaAdministr' ? If it is, is it possible via command-line or via LDAP browsers only ? If it do via LDAP browser (of course cn will be changed) , will Samba4 contunue to work correctly ? Also, I offer to add new switch to Samba4 DC provision such as 'adminname' , that is: Set DC Administrator name during provision, for example: ./samba-tool domain provision --host-name=Main --realm=dom.net --domain=Dom --host-ip=192.168.0.1 --adminname="MainDomAdmin" --adminpass='passsss' --server-role=dc --function-level=2008_R2 --use-rfc2307
Rowland penny
2016-Mar-13 18:14 UTC
[Samba] Specify or rename 'Administrator' name (cn) for DC ?
On 13/03/16 17:20, CpServiceSPb . wrote:> Hi all. > Is it possible to change DC administrator name from 'Administrator' to > something else, for example, to 'DomaAdministr' ?Well, yes you can rename Administrator.> If it is, is it possible via command-line or via LDAP browsers only ?You will probably have to use some form of ldap tool or ldb tool.> If it do via LDAP browser (of course cn will be changed) , will Samba4 > contunue to work correctly ?Should do, just don't change the RID or GUID. Rowland> > Also, I offer to add new switch to Samba4 DC provision such as 'adminname' > , that is: > > Set DC Administrator name during provision, for example: > ./samba-tool domain provision --host-name=Main --realm=dom.net --domain=Dom > --host-ip=192.168.0.1 --adminname="MainDomAdmin" --adminpass='passsss' > --server-role=dc --function-level=2008_R2 --use-rfc2307