s3: libsmb: Add cli_smb2_setpathinfo(), to be called by cli_setpathinfo_basic().
commita8993359cf325197d873243d895d95c70879883c
authorJeremy Allison <jra@samba.org>
Fri, 21 Jul 2017 19:41:11 +0000 (21 12:41 -0700)
committerKarolin Seeger <kseeger@samba.org>
Mon, 14 Aug 2017 08:21:42 +0000 (14 10:21 +0200)
tree581f51a34453a942d6ed82e73cd86e3fd76ba8be
parent527d1aaac89653a1a9453901e5ec224359aa1c9f
s3: libsmb: Add cli_smb2_setpathinfo(), to be called by cli_setpathinfo_basic().

Fix to prevent libsmbclient from accidently making SMB1 calls inside an SMB2
connection.

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

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 2a15c70603bb23a68a2e3de0b00bfd98508f78e0)
source3/libsmb/cli_smb2_fnum.c
source3/libsmb/cli_smb2_fnum.h
source3/libsmb/clirap.c