struct file_id file_id;
uint64_t initial_allocation_size; /* Faked up initial allocation on disk. */
uint16 file_pid;
- uint64_t session_id; /* for compat with SMB2 */
+ uint16 vuid;
write_cache *wcp;
struct timeval open_time;
uint32 access_mask; /* NTCreateX access bits (FILE_READ_DATA etc.) */
struct vuid_cache_entry {
struct auth_session_info *session_info;
- uint64_t session_id;
+ uint16_t vuid;
bool read_only;
};
*/
gid_t force_group_gid;
- uint64_t session_id; /* vuid of user who *opened* this connection, or UID_FIELD_INVALID */
+ uint16 vuid; /* vuid of user who *opened* this connection, or UID_FIELD_INVALID */
time_t lastused;
time_t lastused_count;
struct current_user {
connection_struct *conn;
- uint64_t session_id;
+ uint16 vuid;
struct security_unix_token ut;
struct security_token *nt_user_token;
};
uint16 smbpid;
uint64_t mid; /* For compatibility with SMB2. */
uint32_t seqnum;
- uint64_t session_id;
+ uint16 vuid;
uint16 tid;
uint8 wct;
const uint16_t *vwv;
typedef struct user_struct {
struct user_struct *next, *prev;
- uint64_t session_id; /* Tag for this entry. */
+ uint16 vuid; /* Tag for this entry. */
char *session_keystr; /* used by utmp and pam session code.
TDB key string */