LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-01-2006, 07:19 PM   #1
HighLife
Member
 
Registered: Feb 2003
Posts: 36

Rep: Reputation: 15
Samba Migration - best approach?


I have a RH7.3 machine running Samba 2.2.7a as a domain controller, both the OS and Samba desperately need upgrading, along with the hard drives replaced with a new larger RAID5 array. This being a production server, instead of trying to upgrade everything and migrate to the new drives, I have decided to start from scratch using the new drives and Centos3 as the OS along with a fresh install of the latest stable Samba release. At least this way the old drives are untouched and I can boot back to them minimising network interuption whilst I build the new OS and Samba server?

My questions is, whats required to migrate our current Samba configuration to the new system? I know the first thing to do will be install the server and then copy the smb.conf across. But I have a feeling that doing this will mean I will have re-join all the machines to the domain?(Not a huge problem, we only have 25-30 network clients)

I'm looking for some pointers/suggestions on the best approach to doing this whilst minimising the amount of reconfiguration I will need to do?

Cheers....
 
Old 02-02-2006, 12:33 PM   #2
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by HighLife
... But I have a feeling that doing this will mean I will have re-join all the machines to the domain?(Not a huge problem, we only have 25-30 network clients)
No you do not have to rejoin domain again, you can copy the secrets.tdb file over to new box as it contains all the sids (machine trust accounts).

Infact you should copy all the contents of /etc/samba/* to new box. Also copy your /etc/passwd, /etc/group & /etc/shadow files to get exact user & groups hierarchy over to new box.

You do not need anything else, i have done that successfully.

Cheers.
 
Old 02-02-2006, 09:55 PM   #3
HighLife
Member
 
Registered: Feb 2003
Posts: 36

Original Poster
Rep: Reputation: 15
Cheers, thanks for that info, I'll give it go.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User migration from Samba to NIS ice_hockey Linux - Networking 1 05-16-2005 09:23 PM
samba 2.2 to samba 3.0.6 migration Damian-MLA.com Linux - Networking 0 09-20-2004 01:54 PM
New approach to samba implementation cvc505 Linux - Newbie 5 05-14-2004 01:59 PM
samba pdc migration bladrag Linux - Networking 0 05-11-2004 07:50 AM
samba migration trust accounts kcourser Linux - Software 1 01-13-2004 01:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration