[linux]我的smb.conf



目的:希望跟一般的XP網芳 很無腦不用帳密可瀏覽、可讀、可寫
(其實有點危險)

先讀過:http://www.ubuntu-tw.org/modules/newbb/viewtopic.php?post_id=183964
https://ottoshare.blogspot.tw/2012/03/samba-linux-windows.html
https://playubuntu.blogspot.tw/2013/04/samba40share.html
https://ubuntuforums.org/showthread.php?t=1962617
https://archer1609wp.wordpress.com/2014/04/14/linuxrpi%E7%94%A8samba%E5%9C%A8%E5%AE%B6%E4%B8%AD%E5%85%B1%E7%94%A8%E6%AA%94%E6%A1%88/
smb.conf內容(2017/8/27更新)--------------------------------
[global]
usershare path = /tmp
wins support = yes
usershare allow guests = yes
security = user
map to guest = Bad User
load printers = no  
printing = bsd 
printcap name = /dev/null
disable spoolss = yes
socket options = TCP_NODELAY

[Ramdisk]
path =/tmp
public = yes
writable = yes
read only =no
guest ok = Yes
create mode = 1777
directory mode = 2777

//記得 sudo chmod 2777 /tmp
--------------------------------------------

留言

熱門文章