Dear list, I have samba 3.0.21 on a fedora 5 box. I would like to migrate the whole things to a new box which runs CentOS 5.3. Is there any way to migrate samba verbatim to a new box? Tried to google but found instruction on how to migrate from Windows to Samba only. Thanks in advance. Rgds, Tri
On Sun, Jul 19, 2009 at 12:54 PM, Tri Trinh<tri.trinh at triton-it.com> wrote:> Dear list, > > I have samba 3.0.21 on a fedora 5 box. I would like to migrate the > whole things to a new box which runs CentOS 5.3. Is there any way to > migrate samba verbatim to a new box?It's not hard. I've done it many times. You need to move /etc/samba, /var/lib/samba, /var/cache/samba, /var/spool/samba, and your shares of course. HTH, Norberto
On Sun, Jul 19, 2009 at 1:20 PM, Tri Trinh<tri.trinh at triton-it.com> wrote:> Thanks Norberto, since we need to map Windows groups to linux groups, > and create linux users whenever we create Windows users, do I need to > re-create all linux groups and users on the new box as well? If yes, > please advise if the user and group id must be the same on 2 boxes. > Rgds, > Tri >Oh yes. You can copy the users from /etc/passwd and groups from /etc/groups. Don't copy the whole files, just copy & paste the entries you need. Regards, Norberto PS: list admins. Can you please modify the reply-to header to point to the list? Thanks.