Mount smb/samba/cifs

From Andreida
Revision as of 11:53, 16 February 2016 by Andreas (talk | contribs) (Created page with "/etc/fstab: //<server>/<dir> /mnt/u cifs credentials=/home/<user>/.smbpasswd,default,gid=1000,uid=1000,users 0 0 .smbpasswd: username=<user> password=<password>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

/etc/fstab:

//<server>/<dir> /mnt/u  cifs credentials=/home/<user>/.smbpasswd,default,gid=1000,uid=1000,users 0 0

.smbpasswd:

username=<user>
password=<password>