Samba: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 36: | Line 36: | ||
</nowiki> | </nowiki> | ||
}} | }} | ||
=FSTAB= | |||
Take noauto out to have it mount automatically on boot. | |||
//hsot/mount /bla/bla cifs cache=none,credentials=/root/smbcreds/smbpasswd,uid=1000,gid=100,noauto 0 | |||
nano /root/smbcreds/smbpasswd | |||
username=user | |||
password=pass | |||
Revision as of 07:13, 26 September 2015
Debian
To Mount: install cifs-utils
- http://www.unixmen.com/standalone-samba-in-debian-squeeze/
- http://charlesa.net/tutorials/debian/debiansamba.php
adduser bla
disable ssh
smbpasswd -a username
Sample Config File
smb.conf
security = user [VIDEO] comment = Videos path = /media/bla writeable = no # guest ok = yes [MUSIC] comment = Music path = /media/bla writeable = no # guest ok = yes [GF] comment = gf path = /media/bla writeable = yes valid users = lol write list = lol guest ok = no
FSTAB
Take noauto out to have it mount automatically on boot. //hsot/mount /bla/bla cifs cache=none,credentials=/root/smbcreds/smbpasswd,uid=1000,gid=100,noauto 0
nano /root/smbcreds/smbpasswd
username=user password=pass