libsmbclient: If over SMB1 first try to do a posix stat on the file.
authorAndreas Schneider <asn@samba.org>
Mon, 25 Nov 2019 10:11:13 +0000 (11:11 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 19 Dec 2019 15:44:25 +0000 (15:44 +0000)
commit8b04590e4d8f817ad6d194bb9d622c18734e3011
tree8558967f300ea4c71813591ed9cc4b3aa13f10e5
parentb3e3cb3bbd86a53b48ee009adf811d48dd50dc8b
libsmbclient: If over SMB1 first try to do a posix stat on the file.

Disable in future, if server doesn't support this.

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

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Dec 19 15:44:25 UTC 2019 on sn-devel-184
source3/libsmb/libsmb_file.c