Код: Выделить всё
#======================= Global Settings =====================================
[global]
workgroup = SUB
server string = FreeBSD Samba Server
netbios name = kgn-ladyfree
security = domain
encrypt passwords = yes
#realm = SUB.MAIN.ORG
password server = 192.168.5.2
wins server = 192.168.5.2
private dir = /etc/samba
passdb backend = tdbsam
log file = /dev/null
log level = 0
map to guest = Bad User
winbind use default domain = yes
idmap uid = 10000-20000
idmap gid = 10000-20000
socket options = TCP_NODELAY SO_KEEPALIVE SO_RCVBUF=17520 SO_SNDBUF=17520 IPTOS_LOWDELAY
dead time = 15
winbind enum users = yes
winbind enum groups = yes
winbind separator = +
winbind offline logon = true
case sensitive = No
debug level = 0
syslog = 0
max log size = 50000
display charset = koi8-r
dos charset = cp866
unix charset = koi8-r
disable spoolss = yes
admin users = "@БДНЙОЙУФТБФПТЩ ДПНЕОБ"
[ПВНЕО]
comment = пВНЕООЙЛ
path = /usr/shares/exchange
valid users = "@РПМШЪПЧБФЕМЙ ДПНЕОБ"
write list = "@РПМШЪПЧБФЕМЙ ДПНЕОБ"
map acl inherit = yes
[backups]
comment = Backups
path = /usr/shares/backups
guest ok = yes
valid users = "@backupers","@БДНЙОЙУФТБФПТЩ ДПНЕОБ",nobody
write list = "@backupers","@БДНЙОЙУФТБФПТЩ ДПНЕОБ",nobody
map acl inherit = yes
[soft]
comment = Soft
path = /usr/shares/soft
valid users = "@БДНЙОЙУФТБФПТЩ ДПНЕОБ","@HOLDING+БДНЙОЙУФТБФПТЩ ДПНЕОБ"
write list = "@БДНЙОЙУФТБФПТЩ ДПНЕОБ"
map acl inherit = yes