BOOL admin_user;
/* the NTVFS operations - see source/ntvfs/ and include/ntvfs.h for details */
- struct ntvfs_ops *ntvfs_ops;
+ const struct ntvfs_ops *ntvfs_ops;
/* the reported filesystem type */
char *fs_type;
/* how far through the chain of SMB commands have we gone? */
unsigned chain_count;
+ /* the sequence number for signing */
+ uint64_t seq_num;
+
/* the async structure allows backend functions to delay
replying to requests. To use this, the front end must set
async.send_fn to a function to be called by the backend
/* client capabilities */
uint32 client_caps;
+
+ /* the timezone we sent to the client */
+ int zone_offset;
};
/* this is the context for a SMB socket associated with the socket itself */
time_t last_smb_conf_reload;
};
+
+struct signing_context {
+ DATA_BLOB mac_key;
+ uint64_t next_seq_num;
+ enum smb_signing_state signing_state;
+};
+
#include "smbd/process_model.h"
/* smb context structure. This should contain all the state
struct dcesrv_context dcesrv;
+ struct signing_context signing;
+
/* the pid of the process handling this session */
pid_t pid;
struct event_context *events;
/* process model specific operations */
- struct model_ops *model_ops;
+ const struct model_ops *model_ops;
};