mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s3:smbd: move struct user_struct to globals.h
metze
This commit is contained in:
parent
b742a75b37
commit
bc39915f47
@ -918,19 +918,6 @@ struct node_status_extra {
|
||||
/* There really is more here ... */
|
||||
};
|
||||
|
||||
struct user_struct {
|
||||
struct user_struct *next, *prev;
|
||||
uint16 vuid; /* Tag for this entry. */
|
||||
|
||||
char *session_keystr; /* used by utmp and pam session code.
|
||||
TDB key string */
|
||||
int homes_snum;
|
||||
|
||||
struct auth_session_info *session_info;
|
||||
|
||||
struct gensec_security *gensec_security;
|
||||
};
|
||||
|
||||
/*
|
||||
Do you want session setups at user level security with a invalid
|
||||
password to be rejected or allowed in as guest? WinNT rejects them
|
||||
|
@ -438,6 +438,7 @@ struct smbd_smb2_request {
|
||||
};
|
||||
|
||||
struct smbd_server_connection;
|
||||
struct user_struct;
|
||||
|
||||
struct smbd_smb2_session {
|
||||
struct smbd_smb2_session *prev, *next;
|
||||
@ -473,6 +474,19 @@ struct smbd_smb2_tcon {
|
||||
struct pending_message_list;
|
||||
struct pending_auth_data;
|
||||
|
||||
struct user_struct {
|
||||
struct user_struct *next, *prev;
|
||||
uint16 vuid; /* Tag for this entry. */
|
||||
|
||||
char *session_keystr; /* used by utmp and pam session code.
|
||||
TDB key string */
|
||||
int homes_snum;
|
||||
|
||||
struct auth_session_info *session_info;
|
||||
|
||||
struct gensec_security *gensec_security;
|
||||
};
|
||||
|
||||
struct smbd_server_connection {
|
||||
int sock;
|
||||
const struct tsocket_address *local_address;
|
||||
|
Loading…
Reference in New Issue
Block a user