[Samba] Move Samba to another server

Kit Gerrits kitgerrits at gmail.com
Tue Aug 23 10:16:32 GMT 2005


Thanks for the reply!

Great, so I can just copy the Data...

Can you tell me how uer mapping is done?
Does it map by username or by userID? (planning on some restructuring).

Thnx,

Kit

-----Oorspronkelijk bericht-----
Van: Andrew Bartlett [mailto:abartlet at samba.org] 
Verzonden: zondag 21 augustus 2005 23:37
Aan: Kit Gerrits
CC: samba at lists.samba.org
Onderwerp: Re: [Samba] Move Samba to another server

On Thu, 2005-08-18 at 22:15 +0200, Kit Gerrits wrote:
> Hello all,
> 
> I am intending to install a new server and migrate all my data to it 
> (the server was severely underpowered and the O/S needed to be upgraded
anyway).
> 
> Now, I need to move the user database and Samba Server.
> 
> I can easily move the data and (kinda) re-create the users, but I 
> don't know what data needs to be migrated to the new server?
> It would be nice to migrate things like Profiles, et al.
> Would it be better to create a new domain or should I build the new 
> server next to the old one.

The best option is to copy the whole lot - every Samba TDB (but particularly
secrets.tdb, passdb.tdb), every user directory, as well as the system user
database (if using /etc/passwd, just the non-system entries).

If you are a DC, then it should just 'drop in', once you get the users back
in place.

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Samba Developer, SuSE Labs, Novell Inc.        http://suse.de
Authentication Developer, Samba Team           http://samba.org
Student Network Administrator, Hawker College  http://hawkerc.net



More information about the samba mailing list