Results 1 to 2 of 2
Hi to all Linux-Guru,
I plan to upgrade my old PDC server which on Centos 4.2, samba 3.0.28 to new hardware and new centos 64 bits. Is there a way ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-11-2012 #1Just Joined!
- Join Date
- Sep 2012
- Posts
- 1
Samba PDC Migrations
Hi to all Linux-Guru,
I plan to upgrade my old PDC server which on Centos 4.2, samba 3.0.28 to new hardware and new centos 64 bits. Is there a way to migrate all the settings,users, passwords from old samba to the new servers? As there are currently >50 users connected to the samba server and there will be a lot of works if i implement from the scratch. Appreciate for the reply & guideline~ Thank you~
- 09-12-2012 #2Just Joined!
- Join Date
- Mar 2012
- Posts
- 7
Migrating a PDC Server
Scenario 1 : You have a separate /home partition
1. While installing new OS format all partitions except /home partition and mount it as /home itself.
2. After installing change to /home directory and list the files.
orCode:ll
3. In the place of owner and group it will be showing UID & GIDCode:ls -l
4. Create the new users with the same UID and GID, so that all the permissions will be retained.
5. I hope u can handle rest of the Samba installation stuff..Code:useradd -u <UID> -g <GID> -d /home/userdir username
Scenario 2 : You don't have a separate /home partition
Sorry you have to backup the data to another hard disk and repeat same as scenario 1.
I advice you to backup and restore since CentOS 4.2 has ext2 partition. You can format to most reliable ext4 if you are installing new OS and the restore your /home data from backup.


Reply With Quote
