diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-05-26 16:38:45 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-03 17:54:37 +0200 |
commit | 75d03970b78538346308c612ca6be15559e15b5b (patch) | |
tree | 889269e996fffd10cfd3b9f0c359b97c48117f4b /source3/smbd/globals.h | |
parent | 356f0336e558465318450da8936ebfef3f1f4eb1 (diff) | |
download | samba-75d03970b78538346308c612ca6be15559e15b5b.tar.gz samba-75d03970b78538346308c612ca6be15559e15b5b.tar.xz samba-75d03970b78538346308c612ca6be15559e15b5b.zip |
s3:smbd: move more session specific globals to struct smbd_server_connection
metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index c538ecf64f8..8ddf17c5953 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -93,18 +93,6 @@ extern struct msg_state *smbd_msg_state; extern bool logged_ioctl_message; -/* users from session setup */ -extern char *session_userlist; -/* workgroup from session setup. */ -extern char *session_workgroup; -/* this holds info on user ids that are already validated for this VC */ -extern user_struct *validated_users; -extern uint16_t next_vuid; -extern int num_validated_vuids; -#ifdef HAVE_NETGROUP -extern char *my_yp_domain; -#endif - extern int trans_num; extern pid_t mypid; @@ -334,6 +322,21 @@ struct smbd_server_connection { */ int max_send; uint16_t last_session_tag; + + /* users from session setup */ + char *session_userlist; + /* workgroup from session setup. */ + char *session_workgroup; + /* + * this holds info on user ids that are already + * validated for this VC + */ + user_struct *validated_users; + uint16_t next_vuid; + int num_validated_vuids; +#ifdef HAVE_NETGROUP + char *my_yp_domain; +#endif } sessions; struct smb_signing_state *signing_state; /* List to store partial SPNEGO auth fragments. */ |