"
nelso...@gmail.com" <
nelsonse48@gmail.com> wrote in message news:
a8657941-282f-4f1d-aef6-4660111ad40cn@googlegroups.com...
On Monday, July 26, 2021 at 6:36:06 PM UTC-5, Martin Gregorie wrote:
On Mon, 26 Jul 2021 13:43:21 -0700, nelso...@gmail.com wrote:
My rpi2 running buster needs to provide guest access as a smb1 server.
How do I know what samba version I am running?
"man samba" and scroll down to VERSION
How do I force smb1, not 2 or 3?
Didn't look at the samba manpage did you?
That says its on version 4.14.6
--
Martin | martin at
Gregorie | gregorie dot org
I mis-stated my question. I know what version I'm running. I need to
know what protocol # I am running. I need protocol = 1 I think.
Suggestions have been min protocol=NT1 and min protocol=SMB1. I haven't found this info in the man page but I'll look again. Thnx.
When the client (some other device) wants to communicate with a Samba share
on the "server" (the Pi, in this case) to access files on the server, the
two ends list all the protocols of SMB that they understand.
So before you make the config change, the client says "I speak SMB1" and the
Pi responds "I speak SMB2 or SMB3" - result: fails to connect
After the change, client says "I speak SMB1" and Pi responds "I speak SMB1, SMB2 or SMB3" - result: "let's speak SMB1": success
I think the two ends negotiate using the *highest* version of SMB protocol
that both understand.
All this is independent of the version number of the Samba package on the server.
(As an aside, Windows 10 does not speak SMB1 by default. either, and needs a similar change (I forget the details) to allow it to happen, so
SMB1-speaking devices can access Win 10 shares or Win 10 can access SMB1
shares on another device.)
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)