Settingan Samba untuk Share Folder 1

#======================= Global Settings =====================================

[global]
workgroup = HOME
netbios name = MYSERVER
server string = Local Server
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
preferred master = No
local master = No
dns proxy = No
security = User
browseable = No

; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.

passdb backend = tdbsam

load printers = yes
cups options = raw

#======= ===================== Share Definitions ==============================

#[homes]
# comment = Home Directories
# browseable = no
# writable = yes

#[printers]
# comment = All Printers
# PATH = /var/spool/samba
# browseable = no
# guest ok = no
# writable = no
# printable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /var/lib/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no

[share]
path = /home/data/share/
read only = No
create mask = 0777
directory mask = 0777
writable = yes
browsable = yes
public = yes

No comments: