Hi Marcio>
> I have a problem.
>
> My domain is EMPRESA.COM.BR and I need to rename to EMPRESA.GOV.BR.
>
> Is it possible in Samba 4? How can I migrate users account?
>
> I'm using Samba 4.6.3.
there is no out of the box tool for domain renaming in Samba. However
with python-ldb you can do about anything you can think of in an AD. You
can recreate a new domain with the new name but same domain SID, then
re-inject all the objects, sid and nt hashes with some python scripting.
Once you have your new shiny AD, you just have to write a small script
for windows desktops to join the new domain. If you have done everything
right,user accounts, groups, profiles and acls should be kept altogether.
Cheers,
Denis
>
> Regards,
>
> Márcio Bacci
>
--
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) 2.40.97.57.55
http://www.tranquil-it-systems.fr