smbXcli: Pass negotiate contexts through smbXcli_negprot_send/recv
commitd167b80dc729f8c8caf7052a3494433f9764b72c
authorVolker Lendecke <vl@samba.org>
Thu, 25 Aug 2022 07:54:52 +0000 (25 09:54 +0200)
committerJule Anger <janger@samba.org>
Tue, 15 Aug 2023 08:00:08 +0000 (15 08:00 +0000)
treef06f23348c3b0edc765a60ce96f0814c9c139ab4
parentfec913830f5e03c221ad08011f79a0ae8eb1eddf
smbXcli: Pass negotiate contexts through smbXcli_negprot_send/recv

We already don't allow setting max_credits in the sync wrapper, so
omit the contexts there as well.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Aug 26 19:54:03 UTC 2022 on sn-devel-184

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

(cherry picked from commit 4ddd277c0b77c502ed6b11e07c92c91f24ac9c15)
libcli/smb/smbXcli_base.c
libcli/smb/smbXcli_base.h
source3/libsmb/cliconnect.c
source3/torture/torture.c
source4/libcli/raw/rawnegotiate.c
source4/libcli/smb2/connect.c
source4/libcli/smb_composite/connect_nego.c