Samba
From Attie's Wiki
(Difference between revisions)
m (Created page with '= Mounting samba shares under Linux = Install the following packages: <pre> samba samba-client samba4 </pre> <br> Setup a credentials file, and secure it: <pre> username=xxx pass…') |
m |
||
Line 1: | Line 1: | ||
− | = Mounting samba shares under Linux = | + | == Mounting samba shares under Linux == |
Install the following packages: | Install the following packages: | ||
<pre> | <pre> |
Revision as of 18:28, 20 October 2010
Install the following packages:
samba samba-client samba4
Setup a credentials file, and secure it:
username=xxx password=xxx
And nsert the following lines to /etc/fstab
(will need to be root or use sudo to mount/unmount):
<share> <mount_point> cifs user,noauto,noexec,uid=<UID>,gid=<GID>,credentials=<credentials_path>,iocharset=utf8,file_mode=0600,dir_mode=0700 0 0
Eg:
//baloo/l$ /home/attie/baloo-l cifs user,noauto,noexec,uid=attie,gid=attie,credentials=/home/attie/.smbcreds,iocharset=utf8,file_mode=0600,dir_mode=0700 0 0