После обновления Windwos 2012 R2 возникают ошибки при копировании больших файлов на шару (Centos7+samba)smbd[19935]: [2019/07/05 01:30:33.530326, 0] ../source3/smbd/ipc.c:843(reply_trans)
smbd[19935]: reply_trans: invalid trans parameters
При этом не обновленные сервера нормально все копируют.Пробовал на Centos 7 и opensuse 15.1, одна и таже беда.
[global]
workgroup = SAMBA
security = userpassdb backend = tdbsam
printing = cups
printcap name = cups
load printers = yes
cups options = raw[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = root
create mask = 0664
directory mask = 0775
[****]
root preexec = "/opt/rockstor/bin/mnt-share *****"
root preexec close = yes
comment = Samba-Export
path = /mnt2/****
browseable = yes
read only = no
guest ok = no
admin users = admin
> После обновления WindwosЛибо
1. Откати обновления.Либо
2. Обновил Виндос? Обнови и Самбу.Либо
3. Если долго и печально, тоWindows now uses WSD (web services discovery) which is not included in the various Samba's versions.
There is a project at github which implements WSD, written in Python. It can be found at https://github.com/christgau/wsdd or directly downloaded at https://raw.githubusercontent.com/christgau/wsdd/master/src/...Part of the trick to using this is that you will need to enable a couple of ports through your firewall:
Ports 5357/tcp and 3702/udp need to be open for wsdd to run.
wsdd can be run from the command line, or you could create a systemd service to run it.
This is an active (maybe) area of Samba development, and some information about it can be found at https://www.ixsystems.com/community/resources/how-to-kill-of.../ and is currently available in the Arch user repository, and apparently a few other distros as well. It is also mentioned in AskUbuntu at make samba share visible in Windows "Network"
А новая версия самбы будет работать без этих костылей ?
>[оверквотинг удален]
> Part of the trick to using this is that you will need
> to enable a couple of ports through your firewall:
> Ports 5357/tcp and 3702/udp need to be open for wsdd to run.
> wsdd can be run from the command line, or you could create
> a systemd service to run it.
> This is an active (maybe) area of Samba development, and some information
> about it can be found at https://www.ixsystems.com/community/resources/how-to-kill-of.../
> and is currently available in the Arch user repository, and apparently
> a few other distros as well. It is also mentioned in
> AskUbuntu at make samba share visible in Windows "Network"
> А новая версия самбы будет работать без этих костылей ?ВДНЕ.
Попробуй и расскажи остальным, проблема же у тебя возникла, правильно?
>> А новая версия самбы будет работать без этих костылей ?
> ВДНЕ.
> Попробуй и расскажи остальным, проблема же у тебя возникла, правильно?На 4.10.5 такая же беда
> На 4.10.5 такая же бедаЗначит, см. пункты 1 и 3 из первого ответа.
От себя добавлю4. Пиши разработчикам Самбы.
> На 4.10.5 такая же бедаПичалько.
Откатывай обновки с венды. Или напильник в руки.