next up previous contents
Next: Mount remote FTP/SSH shares Up: Network Previous: Running an SSH Server   Contents

Access a Windows computer with Samba

The samba package allows you to access a windows computer on the network. For example, if the windows server (192.168.10.3) has a share named "my-share", then you can mount it with these commands:

 # mkdir /mnt/win
 # mount -t smbfs -o lfs //192.168.10.3/my-share/ /mnt/win/
 # cd /mnt/win
 # umount /mnt/win

Samba is supported in the kernel, and samba tools are provided (smbcacls, smbcontrol,smbfilter, smbmount, smbspool, smbtar, smbclient, smbd, smbmnt, smbpasswd, smbstatus, smbumount). It's important not to forget option "lfs" (Large File Support), because it allows to handle files that are larger than 2 GB. Big file are often used when making a backup or an image file. Without this option, the copy would fail, with an error. Large files are supported since version 0.2.12 (linux kernel 2.4.25).
More help with samba: "http://www.samba.org/"



2004-08-17