Samba

From Attie's Wiki
Revision as of 18:28, 20 October 2010 by Attie (Talk | contribs)

Jump to: navigation, search

Mounting samba shares under Linux

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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox