[Samba] Specify or rename 'Administrator' name (cn) for DC ?

Rowland penny rpenny at samba.org
Sun Mar 13 18:14:19 UTC 2016

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.


> 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= --adminname="MainDomAdmin" --adminpass='passsss'
> --server-role=dc --function-level=2008_R2 --use-rfc2307

More information about the samba mailing list