1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/libcli
Tim Beale 34cbd89fec libcli: Add debug message if fail to negoatiate SMB protocol
Currently if the client and server can't negotiate an SMB protocol, you
just get the followiing error on the client-side, which doesn't tell you
much.
ERROR(runtime): uncaught exception - (3221225667, 'The network responded
incorrectly.')

This patch adds a debug message to help highlight what's actually going
wrong.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13621

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Fri Sep 28 11:25:29 CEST 2018 on sn-devel-144
2018-09-28 11:25:29 +02:00
..
auth Fix uClibc build on 64bit platforms by including stdint.h 2018-08-24 17:22:09 +02:00
cldap tevent: Fix callers of tevent_req_set_endtime 2018-04-24 19:41:15 +02:00
dns tevent: Fix callers of tevent_req_set_endtime 2018-04-24 19:41:15 +02:00
drsuapi werror: replace WERR_SEC_E_DECRYPT_FAILURE with HRES_SEC_E_DECRYPT_FAILURE 2016-09-28 00:04:35 +02:00
echo s4: torture: Change torture_register_suite() to add a TALLOC_CTX *. 2017-05-05 15:52:11 +02:00
ldap typo: mplementation => implementation 2016-05-06 05:03:16 +02:00
lsarpc libcli/lsarpc: add struct trustAuthInOutBlob; forward declaration 2014-04-02 09:03:42 +02:00
named_pipe_auth Fix spelling s/conection/connection/ 2018-05-12 02:09:26 +02:00
nbt libcli/nbt: Additionally accept unicode as string param in Py2 2018-04-30 15:43:19 +02:00
netlogon libcli/netlogon: We need to handle a bug in FreeIPA (at least <= 4.1.2). 2015-01-05 17:01:08 +01:00
registry build: Make util_reg subsystem in libcli/registry a library 2011-05-18 16:12:08 +02:00
samsync libcli: Use "all_zero" where appropriate 2017-01-03 16:04:28 +01:00
security CVE-2018-10919 security: Fix checking of object-specific CONTROL_ACCESS rights 2018-08-14 13:57:16 +02:00
smb libcli: Add debug message if fail to negoatiate SMB protocol 2018-09-28 11:25:29 +02:00
smbreadline lib/smbreadline: detect picky compile issue with readline.h 2017-11-24 01:13:15 +01:00
util python: Make generated modules samba.ntstatus and samba.werror Python 3 compatible. 2017-08-22 17:38:17 +02:00