Hi,
I try to connect via LAN plugin to a samba share on my raspberry pi machine. In samba I have the following settings:
[global]
workgroup = HOMESWEETHOME
netbios name = umbra
client min protocol = SMB2
client max protocol = SMB3
server min protocol = SMB2
min protocol = SMB2
protocol = SMB2
...
The share is defined like
[Backup]
path=/media/10TB/Backup
browseable=yes
writeable=yes
only guest=no
create mask=0777
directory mask=0777
public=yes
In the plugin I have SMB2 enabled and the correct user (pi) with his password set (I can login with that user and I can access the share from my Windows 10 machine with that user).
In the samba log file you can see messages like
[2019/08/22 14:21:51.767778, 0] ../libcli/smb/smb2_signing.c:171(smb2_signing_check_pdu) Bad SMB2 signature for message
[2019/08/22 14:21:51.768122, 0] ../lib/util/util.c:555(dump_data) [0000] 09 DE 9D 09 2F 58 DC 8B 8A ED 78 11 D2 B3 F8 C5 ..../X.. ..x.....
[2019/08/22 14:21:51.768559, 0] ../lib/util/util.c:555(dump_data) [0000] A6 1B 11 B0 6C 51 72 27 24 B9 2C F0 41 F4 9A 3D ....lQr' $.,.A..=
Samba is fully updated to Version 4.5.16-Debian
Does this tell you anything ? What can I do to get this to work ?
Many thanks
Clas Hortien
Can't connect via LAN plugin
Moderators: Hacker, petermad, Stefan2, white
- Clas Hortien
- Senior Member
- Posts: 200
- Joined: 2003-03-03, 15:03 UTC
- ghisler(Author)
- Site Admin
- Posts: 50532
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Can't connect via LAN plugin
I'm using the open source jmbj library for SMB2:
https://github.com/hierynomus/smbj
I couldn't find any bug reports about your specific error. You can try some other values for protocol:
SMB2_02: The earliest SMB2 version.
SMB2_10: Windows 7 SMB2 version. (By default SMB2 selects the SMB2_10 variant.)
SMB2_22: Early Windows 8 SMB2 version.
SMB2_24: Windows 8 beta SMB2 version.
See:
https://www.cyberciti.biz/faq/how-to-configure-samba-to-use-smbv2-and-disable-smbv1-on-linux-or-unix/
https://github.com/hierynomus/smbj
I couldn't find any bug reports about your specific error. You can try some other values for protocol:
SMB2_02: The earliest SMB2 version.
SMB2_10: Windows 7 SMB2 version. (By default SMB2 selects the SMB2_10 variant.)
SMB2_22: Early Windows 8 SMB2 version.
SMB2_24: Windows 8 beta SMB2 version.
See:
https://www.cyberciti.biz/faq/how-to-configure-samba-to-use-smbv2-and-disable-smbv1-on-linux-or-unix/
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- Clas Hortien
- Senior Member
- Posts: 200
- Joined: 2003-03-03, 15:03 UTC
Re: Can't connect via LAN plugin
Hi,
When I uncheck the SMB2 option I can connect succesfully .
Regards
When I uncheck the SMB2 option I can connect succesfully .
Regards