This shows you the differences between two versions of the page.
linux:network:samba [2012/07/13 16:51] tkilla created |
linux:network:samba [2012/07/13 16:58] (current) tkilla |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Samba ====== | ====== Samba ====== | ||
- | ===== howto serve windows-style shares ===== | + | ===== howto serve windows-style shares |
+ | |||
+ | infos from: http:// | ||
+ | |||
+ | / | ||
+ | |||
+ | [global] | ||
+ | security | ||
+ | guest account | ||
+ | map to guest = Bad User | ||
+ | .. | ||
+ | |||
+ | public readable share: | ||
+ | |||
+ | [share] | ||
+ | comment = Public Share | ||
+ | browsable = yes | ||
+ | path = /public | ||
+ | public = yes | ||
+ | writable = no | ||
+ | write list = your_username_with_write_access_here | ||
+ | guest ok = yes | ||
+ | |||
+ | |||
+ | add guest user: | ||
+ | smbpasswd -an nobody | ||
+ | |||
+ | restart samba server: | ||
+ | / | ||
+ | |||
+ | |||
+ | ---- | ||
+ | mount share example | ||
+ | mount -t cifs // | ||
+ | |||
+ | if you get permission denied add: "-o guest" | ||
+ | |||