NTTIME now,
struct smbXsrv_open **_open);
NTSTATUS smbXsrv_open_update(struct smbXsrv_open *_open);
+
NTSTATUS smb1srv_open_table_init(struct smbXsrv_connection *conn);
NTSTATUS smb1srv_open_lookup(struct smbXsrv_open_table *table,
uint16_t vuid, NTTIME now,
struct smbXsrv_open **_open);
+
NTSTATUS smb2srv_open_table_init(struct smbXsrv_connection *conn);
NTSTATUS smb2srv_open_lookup(struct smbXsrv_open_table *table,
uint64_t open_id, NTTIME now,
uint64_t vuid;
struct gensec_security *gensec_security;
struct auth_session_info *session_info;
- //DATA_BLOB session_key;
- //bool do_signing;
-
- struct smbXsrv_session *smbXsrv;
+ DATA_BLOB session_key;
+ bool do_signing;
user_struct *compat_vuser;
size_t num_files;
struct files_struct *files;
+ struct bitmap *file_bmap;
int real_max_open_files;
struct fsp_singleton_cache fsp_fi_cache;
unsigned long file_gen_counter;
+ int first_file;
struct pending_message_list *deferred_open_queue;
struct tstream_context *stream;
bool negprot_2ff;
struct {
+ /* an id tree used to allocate vuids */
+ /* this holds info on session vuids that are already
+ * validated for this VC */
+ struct idr_context *idtree;
+
+ /* this is the limit of vuid values for this connection */
+ uint64_t limit;
+
struct smbd_smb2_session *list;
} sessions;
struct {
bool supports_multicredit;
struct bitmap *credits_bitmap;
bool compound_related_in_progress;
- DATA_BLOB serverguid;
- uint32_t capabilities;
} smb2;
struct smbXsrv_connection *conn;