[PATCH] Remove a hard-coded error return in libsmbclient.

Jeremy Allison jra at samba.org
Wed May 2 18:51:07 UTC 2018


Found by the ChromeOS folks, trying to connect to a
SMB1-only server with SMB2-only client code - and
wondering why they immediately got an error return
with errno = ETIMEDOUT :-).

We have a perfectly good NTSTATUS code, we should
use it :-).

Logged as bug https://bugzilla.samba.org/show_bug.cgi?id=13419

Please review and push if happy !

Cheers,

	Jeremy.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-libsmbclient-We-shouldn-t-hard-code-the-connectio.patch
Type: text/x-diff
Size: 1041 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180502/e5b7b10c/0001-s3-libsmbclient-We-shouldn-t-hard-code-the-connectio.diff>


More information about the samba-technical mailing list