Chris
2005-Jul-18 20:08 UTC
[Samba] Painless migration from 2.2.x on old server to 3.0.x on new server needed ASAP
I need to painlessly migrate on old Samba 2.2.x installation to a new server running 3.0.x (3.0.14a for now). Time is of the essence as a hardware problem is causing intermittent operation of the old server that seems to be getting worse (actually it is looking doubtful that it will be back up at this point). I do have a backup of the smb.conf, the Samba .tdb files, /etc/passwd, /etc/shadow. The old server was a PDC implementation so it is very important that the users maintain their same profiles (they are local, but there's about 150 users spread around 10 machines). So how to implement this on the new server? Also is it mandatory that the new server need to have the same DNS name? Any help. clues, experience in this would be greatly appreciated. Thank you. Chris
Larry McElderry
2005-Jul-19 18:22 UTC
[Samba] Painless migration from 2.2.x on old server to 3.0.x on newserver needed ASAP
Chris: Check out chapter 8 of Terpstra's Samba by Example. http://us3.samba.org/samba/docs/man/Samba-Guide/upgrades.html I had a fairly painless upgrade from an NT4 server using the guidance in chapter 9 of this doc. Yours should be even smoother. Good luck, Larry -----Original Message----- From: samba-bounces+larry=ptcoupling.com@lists.samba.org [mailto:samba-bounces+larry=ptcoupling.com@lists.samba.org]On Behalf Of Chris Sent: Monday, July 18, 2005 3:07 PM To: samba@lists.samba.org Subject: [Samba] Painless migration from 2.2.x on old server to 3.0.x on newserver needed ASAP I need to painlessly migrate on old Samba 2.2.x installation to a new server running 3.0.x (3.0.14a for now). Time is of the essence as a hardware problem is causing intermittent operation of the old server that seems to be getting worse (actually it is looking doubtful that it will be back up at this point). I do have a backup of the smb.conf, the Samba .tdb files, /etc/passwd, /etc/shadow. The old server was a PDC implementation so it is very important that the users maintain their same profiles (they are local, but there's about 150 users spread around 10 machines). So how to implement this on the new server? Also is it mandatory that the new server need to have the same DNS name? Any help. clues, experience in this would be greatly appreciated. Thank you. Chris -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
John H Terpstra
2005-Jul-19 20:03 UTC
[Samba] Painless migration from 2.2.x on old server to 3.0.x on newserver needed ASAP
On Tuesday 19 July 2005 13:50, Chris wrote:> On Tuesday 19 July 2005 03:45 pm, Chris wrote: > > The new question is ... how does one convert from smbpasswd to > > tdbsam? > > Just found this in the docs. But can it be done on the fly?Yes. In your smb.conf [global] set: passdb backend = tdbsam smbpasswd Then execute: pdbedit -i smbpasswd -e tdbsam Then edit smb.conf to: passdb backend = tdbsam Then prove that it worked by executing: pdbedit -Lw All accounts should be listed. - John T. -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 Other books in production.