• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Migrating samba Domain controller

Red Squirrel

No Lifer
Is there a quick and easy way to migrate a Samba DC to a new box? (FC5 to FC9) Or is the only way to unjoin domain and rejoin for each workstation? I want to avoid that as it also screws up the profiles.
 
You need to set up a Samba BDC, remove the original DC and then promote the BDC to a PDC. You should be able to find a guide or two with google, or even look around the documentation on samba.org.
 
Originally posted by: RedSquirrel
Hmm so I can't just take the configs and password files over?

ah, well, if you can deal with some downtime, then yeah that should work. If you are using tdb for the password storage, be sure you get all the tdb files moved over. I've had to restore Samba member file server before, and it went fine just restoring the config files and the tdb files (I believe there were two in this case).
 
oh ok good to know, since what I really just need to is do the move, then set my PC's DNS to the new server reboot ensure it works, then once it goes live I just change the IP on new server and change all DNS entries to point to the new IP then swap out the servers. This is a home setup so downtime is not an issue unless I'm working on something that needs the server, but if I'm working on the server itself... then not a huge issue.
 
I migrated the /etc/samba folder, changed the sid to match old machine, as well as migrated the /etc/passwd and /etc/shadow. For some reason it's not reconizing the samba users. Is there any other step I should take? Like as a test I went smbpasswd -a user and it said it did not exist (where user is an actual user that should exist)

I had to install the tdb-tools package as well, anything else I should install?
 
Back
Top