Код: Выделить всё
[root@samba /usr/local/etc]# uname -a
FreeBSD samba.ntd.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0:
Код: Выделить всё
samba34-3.4.9 A free SMB and CIFS client and server for UNIX
создаю шару со следующими опциями:
Код: Выделить всё
[winacl]
comment = winacl
path = /exchange/acl
public = yes
writable = yes
printable = no
admin users = NTD\vlad
hide files = /.snap/Thumbs.db/desktop.ini/*.tmp/
create mask = 0665
directory mask = 0775
locking = no
inherit owner = yes
inherit acls = yes
inherit permissions = yes
map acl inherit = yes
nt acl support = yes
конфиг самбы до шары:
Код: Выделить всё
[global]
workgroup = NTD
server string = Exchange
security = ADS
netbios name = FSRV01
password server = 192.168.0.60
log file = /var/log/samba34/log.%m
max log size = 50
encrypt passwords = yes
realm = NTD.LOCAL
display charset = koi8-r
unix charset = koi8-r
dos charset = 866
winbind use default domain = yes
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind enum users = yes
winbind enum groups = yes
load printers = no
show add printer wizard = no
printing = none
printcap name = /dev/null
disable spoolss = yes
template homedir = /usr/home/%D/%U
template shell = /usr/local/bin/bash