LINUX.ORG.RU

История изменений

Исправление DrBim, (текущая версия) :

Конфиг самбы нужен? Да там все банально [global]

log file = /var/log/samba/%m

load printers = no

smb ports = 137 138 139 445

interfaces = lo enp3s0

available = no

wins support = true
netbios name = nas11
vfs objects = full_audit recycle
browseable = no
passdb backend = tdbsam:/var/lib/samba/private/passdb.tdb
lanman auth = yes
ntlm auth = yes
full_audit:prefix = %u|%I
full_audit:success = connect, opendir, open, mkdir, rmdir, unlink, write, rename 
full_audit:failure = connect, opendir, open, mkdir, rmdir, unlink, write, rename
full_audit:facility = local5
full_audit:priority = notice
server string = NASserver
default = obmen
workgroup = workgroup
os level = 20
syslog = 7
syslog only = yes
security = user
max log size = 50
bind interfaces only = Yes
log level = 1 vfs:1
recycle:exclude = *.tmp | ~$* | *.TMP
recycle:versions = Yes
recycle:touch_mtime
time server = yes

[fileobmen]

browseable = yes

writeable = yes

recycle: versions = Yes

recycle: keeptree = Yes

path = /data_part/fileobmen

recycle: directory_mode = 0777

recycle:repository = /data_part/recycle

force directory mode = 0775

force create mode = 0775

comment = fileobmennik

public = yes

available = yes

valid users = @"**common group**"

write list = @"**common group**"

Исходная версия DrBim, :

Конфиг самбы нужен? Да там все банально [global] log file = /var/log/samba/%m load printers = no smb ports = 137 138 139 445 interfaces = lo enp3s0 available = no

min protocol = SMB1

max protocol = SMB3

client min protocol = SMB1

client max protocol = SMB3

wins support = true
netbios name = nas11
vfs objects = full_audit recycle
browseable = no
passdb backend = tdbsam:/var/lib/samba/private/passdb.tdb
lanman auth = yes
ntlm auth = yes
full_audit:prefix = %u|%I
full_audit:success = connect, opendir, open, mkdir, rmdir, unlink, write, rename 
full_audit:failure = connect, opendir, open, mkdir, rmdir, unlink, write, rename
full_audit:facility = local5
full_audit:priority = notice
server string = NASserver
default = obmen
workgroup = workgroup
os level = 20
syslog = 7
syslog only = yes
security = user
max log size = 50
bind interfaces only = Yes
log level = 1 vfs:1
recycle:exclude = *.tmp | ~$* | *.TMP
recycle:versions = Yes
recycle:touch_mtime
time server = yes

[fileobmen] browseable = yes writeable = yes recycle: versions = Yes recycle: keeptree = Yes path = /data_part/fileobmen recycle: directory_mode = 0777 recycle:repository = /data_part/recycle force directory mode = 0775 force create mode = 0775 comment = Obmennik public = yes available = yes valid users = @«common group» write list = @«common group»