Samba server is like share folder to window. IN other means, window will be able to access to folder, can read or write, according to what you set.
Ubuntu:
don't need to enter password
# vi /etc/samba/smb.conf
# ----------------------- Standalone Server Options ------------------------
security = user
guest account = nobody
map to guest = Bad User
passdb backend = tdbsam
unix charset = utf8
dos charset = cp950
#============================ Share Definitions ==============================
[GUEST]
path = /home
#writable = yes
read only = yes
browseable = yes
guest ok = yes
guest only = yes
public = yes
need to enter password
# --------------------------- Logging Options -----------------------------
unix charset = utf8
display charset = utf8
dos charset = cp950
# ----------------------- Standalone Server Options ------------------------
security = user
passdb backend = tdbsam
#============================ Share Definitions ==============================
[samba]
comment = Root Directories
path = /
browseable = yes
writable = yes
No comments:
Post a Comment