]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:libcli/raw: add smb3_capabilities to struct smbcli_options
authorStefan Metzmacher <metze@samba.org>
Tue, 9 Mar 2021 22:40:40 +0000 (23:40 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 17 Mar 2021 00:49:32 +0000 (00:49 +0000)
Currently this will be zeroed in lpcfg_smbcli_options(),
but will later allow advanced callers to pass values to
smbXcli_conn_create().

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/libcli/raw/libcliraw.h

index 0e99618df255ccc829637f1800993164ab5bd373..a4c4cf3d36eb3e3dcc08b501ef20705438fe1d37 100644 (file)
@@ -26,6 +26,7 @@
 #include "libcli/raw/request.h"
 #include "librpc/gen_ndr/nbt.h"
 #include "libcli/raw/interfaces.h"
+#include "libcli/smb/smb2_negotiate_context.h"
 
 struct smbcli_tree;  /* forward declare */
 struct smbcli_request;  /* forward declare */
@@ -105,6 +106,7 @@ struct smbcli_options {
        struct GUID client_guid;
        uint64_t max_credits;
        unsigned int only_negprot;
+       struct smb311_capabilities smb3_capabilities;
 };
 
 /* this is the context for the client transport layer */