[Samba] Samba protocol version in libsmbclient

Adam Baxter voltagex at voltagex.org
Tue Jun 10 08:11:39 MDT 2014

What determines the protocol version that libsmbclient uses?

Changing min and max protocol version in the client smb.conf seems to have
no effect.

I'm chasing up the performance issues I posted about earlier which may be
caused by my Linux clients defaulting to SMB1 (via gvfsd-smb) while Windows
happily negotiates SMB2 with the servers.

If I restrict the servers to SMB2, gvfs can't connect, while smbclient on
the console works fine if I pass -mSMB2.

I can't see anything in
https://git.gnome.org/browse/gvfs/tree/daemon/gvfsbackendsmb.c that would
restrict the protocol version, either.

Any ideas?


More information about the samba mailing list