[CS-FSLUG] samba

Tim Young Tim.Young at LightSys.org
Sun Dec 6 17:00:59 CST 2009


Yes, you can.  BUT, if you are intending to use this to "migrate" the 
server from one to the other, you may need to do a lot more work.

To copy from one server to the other, you would probably just (from the 
destination computer, logged in as root):
  scp [source-ip]:/etc/samba/smb.conf /etc/samba/smb.conf
  /etc/init.d/smb restart
So, if you were copying from computer 192.168.1.5 to the destination 
computer 192.168.1.10, you would log into the destination computer and run:
  scp 192.168.1.5:/etc/samba/smb.conf /etc/samba/smb.conf
  /etc/init.d/smb restart

If you are using ubuntu, knoppix, or another distro where you do not 
usually become root, you would need to precede each command with "sudo":
  sudo scp 192.168.1.5:/etc/samba/smb.conf /etc/samba/smb.conf
  sudo /etc/init.d/smb restart

    - Tim Young

Kelly Williams wrote:
>
> Can you copy the same samba script from one system to another server 
> and change the shares and users.
>
> Kelly Williams
>
> _______________________________________________
> ChristianSource FSLUG mailing list
> Christiansource at ofb.biz
> http://cs.uninetsolutions.com
>




More information about the Christiansource mailing list