[Samba] How to properly change my Samba4 domain name?

Scott Goodwin scott at mimicsimulation.com
Wed Nov 27 17:45:46 MST 2013


So it seems that I improperly planned my Samba4 deployment, and I need to
rename my domain. Wondering how to do this properly so that clients will
not be forced to rejoin, etc.

Current info
------------------
Sernet Samba 4.1 on CentOS 6.4 x64
Using bind BIND_DLZ backend w/ bind 9.8

smb.conf:
server role = ad
workgroup = EXAMPLE
realm = EXAMPLE.COM
netbios name = dc1

krb5.conf:
default_realm = EXAMPLE.COM
dns_lookup_realm = true
dns_lookup_kdc = true


Basically, the issue I'm running into is that I need to point
example.comto our externally hosted web site, and because of this, I
am unable to
resolve \\example.com\SysVol\etc\etc for my GPO's, and thus they never get
applied.  (I actually briefly had this resolved by adding "host msdfs =
yes" in smb.conf, but that is no longer working, for whatever reason).   At
any rate, I'd like to nip this in the bud by changing my internal network
to use "internal.example.com".   Is this possible without re-provisioning?
 What pieces to I have to update (smb.conf, krb5.conf, execute some
"samba-tool dns" command, etc)?
I'm a little confused on which of the following would be affected (or if
some of them mean the same thing): DNS Domain name, realm, samba domain
name.

For the record, I'd want to keep the workgroup name (EXAMPLE) to be the
same in smb.conf.

Thank you for any pointers, and if you need anymore info, please let me
know.


More information about the samba mailing list