[Samba] Samba Domain Rename

Denis Cardon denis.cardon at tranquil-it-systems.fr
Tue Jul 2 12:07:25 MDT 2013

Hi Sandeep,

> Changing a domain name, even in an all-Microsoft Windows server
> environment, is strongly discouraged, at least on the user mailing
> lists I am on. Better would be to use the domain migration tools, and
> migrate to a newly named domain.

I had recently to migrate a windows 2003 domaine from a short dns domain 
name media1 to standard dns name media1.local before migrating to a 
samba4 domain. There are actually some microsoft tool to do the 
migration, but it is far from trivial. I don't know if there are 
anything in samba4 to do the same thing though, and probably the method 
outlined by Michael might still be the best one.



> On Tue, Jul 2, 2013 at 11:07 AM, Ricky Nance <ricky.nance at gmail.com> wrote:
>> Like Michael said, samba 4 as an AD DC would probably not be happy if you
>> just change the 'workgroup = ' line in your smb.conf (as a matter of fact,
>> that line shouldn't exist in a AD DC setup in my opinion) the domain is
>> more than likely embedded very deep inside of the LDB's, and I would
>> strongly recommend against changing those, however, with sufficient backups
>> and lots of luck you might be successful in changing it (look into
>> ldbsearch and ldbedit if you are really REALLY brave). I think even
>> changing every instance in the LDB's  however will still not work, as
>> during provision the machine joins itself to the domain (yes it joins
>> itself to itself if I recall right). I would try to avoid this at all
>> costs, but if you must do it, starting over may be your best option.
>> Just my thoughts,
>> Ricky
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  https://lists.samba.org/mailman/options/samba

Denis Cardon
Tranquil IT Systems
Les Espaces Jules Verne, bâtiment A
12 avenue Jules Verne
44230 Saint Sébastien sur Loire
tel : +33 (0)

More information about the samba-technical mailing list