35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
[global]
|
|
workgroup = workgroup
|
|
server string = cryptobox
|
|
# 'security' is necessary - otherwise windows clients will ask for a login and fail
|
|
security = share
|
|
dns proxy = no
|
|
log file = /var/log/samba/log.smbd
|
|
max log size = 500
|
|
syslog only = yes
|
|
syslog = 0
|
|
panic action = /usr/share/samba/panic-action %d
|
|
encrypt passwords = true
|
|
passdb backend = tdbsam
|
|
obey pam restrictions = yes
|
|
invalid users = root
|
|
passwd program = /usr/bin/passwd %u
|
|
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
|
|
socket options = TCP_NODELAY
|
|
guest ok = yes
|
|
|
|
# the following lines should help to be visible in the network
|
|
# os level - higher than non-PDC (primary domain controller) but lower than PDC
|
|
os level = 17
|
|
# announce ourselves to other networks
|
|
remote announce = 192.168.0.255 192.168.255.255 172.16.255.255 10.255.255.255
|
|
# don't act as a wins server, but use wins
|
|
# if yes, don't set "wins server"
|
|
wins support = yes
|
|
# we don't want to confuse existing servers
|
|
local master = no
|
|
domain master = no
|
|
preferred master = no
|
|
|
|
include = /var/cache/cryptobox-server/settings/misc/samba-include.conf
|
|
|