Listing 1: Sample smb.conf
[global]
comment = global configuration
workgroup = DBNET
browseable = yes
allow hosts = 10.0.
log file = /usr/local/samba/log/log.%m
lock directory = /usr/local/samba/var/locks/
share modes = yes
wins support = yes
case sensitive = yes
remote announce = 10.0.24.255/DBNET
security = user
[homes]
comment = home directories configuration
browseable = no
writeable = yes
public = no
[printers]
comment = all printers
writeable = no
printable = yes
path = /tmp
public = no
[IPC$]
comment = IPC$
browseable = yes
writeable = no
printable = no
public = yes
[common]
comment = common service
writeable = yes
public = no
path = /usr/local/common
printable = no
force user = common
|