[global] log file = /var/log/samba/%m.log load printers = no display charset = cp936 idmap gid = 16777216-33554431 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 username map = /etc/samba/user.map encrypt passwords = yes hosts allow = 192.168.1. 192.168.2. 127. winbind use default domain = no template shell = /bin/false dns proxy = no cups options = raw server string = Samba Server idmap uid = 16777216-33554431 path = /file dos charset = cp936 os level = 20 printcap name = /etc/printcap security = user unix charset = cp936 max log size = 50 [homes] comment = Home Directories browseable = no writable = yes [行政部] comment = 行政部 path = /file/行政部 write list = @xingzheng [行政部专用] comment = Insert a comment here path = /file/xingzheng/ valid users = @xingzheng public = no writable = yes printable = no create mask = 0765