1
0
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:
Stefan Metzmacher 2012-06-05 12:07:43 +02:00
parent b742a75b37
commit bc39915f47
2 changed files with 14 additions and 13 deletions

View File

@ -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

View File

@ -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;