URL: https://www.opennet.dev/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 97432
[ Назад ]

Исходное сообщение
"Проблема с samba и windows "

Отправлено Аноня , 05-Июл-19 01:49 
После обновления 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 = user

        passdb 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



Содержание

Сообщения в этом обсуждении
"Проблема с samba и windows "
Отправлено Аноним , 05-Июл-19 09:08 
> После обновления 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"


"Проблема с samba и windows "
Отправлено Аноня , 05-Июл-19 12:54 
А новая версия самбы будет работать без этих костылей  ?
>[оверквотинг удален]
> 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"


"Проблема с samba и windows "
Отправлено Аноним , 05-Июл-19 13:14 
> А новая версия самбы будет работать без этих костылей  ?

ВДНЕ.
Попробуй и расскажи остальным, проблема же у тебя возникла, правильно?


"Проблема с samba и windows "
Отправлено АнонЯ , 06-Июл-19 17:35 
>> А новая версия самбы будет работать без этих костылей  ?
> ВДНЕ.
> Попробуй и расскажи остальным, проблема же у тебя возникла, правильно?

На 4.10.5 такая же беда


"Проблема с samba и windows "
Отправлено Аноним , 07-Июл-19 11:33 
> На 4.10.5 такая же беда

Значит, см. пункты 1 и 3 из первого ответа.
От себя добавлю

4. Пиши разработчикам Самбы.


"Проблема с samba и windows "
Отправлено Аноним , 08-Июл-19 07:27 
> На 4.10.5 такая же беда

Пичалько.
Откатывай обновки с венды. Или напильник в руки.