|
|
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic
# errors.
#
#======================= Global Settings =======================
[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
obey pam restrictions = yes
socket options = TCP_NODELAY
username map = /etc/samba/user.map
encrypt passwords = yes
public = yes
passdb backend = tdbsam guest
passwd program = /usr/bin/passwd %u
allow hosts = 192.168.1.
dns proxy = no
netbios name = gogogo
writeable = yes
delete readonly = yes
server string = %h server (Samba %v)
path = /file
workgroup = 8
os level = 20
comment = /file
syslog = 0
panic action = /usr/share/samba/panic-action %d
max log size = 1000
[linux]
comment = /
path = /
请求帮助~ |
|