summaryrefslogtreecommitdiffstats
path: root/source3/smbd/globals.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-05 12:07:43 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-06 10:18:39 +0200
commitbc39915f47bb5555cdc10ebb9cc843ed16e3b207 (patch)
tree161d54929130ce60cd2a8c601189874f794214d7 /source3/smbd/globals.h
parentb742a75b379a755c3ee75c389f41f80c3014e36e (diff)
downloadsamba-bc39915f47bb5555cdc10ebb9cc843ed16e3b207.tar.gz
samba-bc39915f47bb5555cdc10ebb9cc843ed16e3b207.tar.xz
samba-bc39915f47bb5555cdc10ebb9cc843ed16e3b207.zip
s3:smbd: move struct user_struct to globals.h
metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r--source3/smbd/globals.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h
index f692eae4885..139854d497e 100644
--- a/source3/smbd/globals.h
+++ b/source3/smbd/globals.h
@@ -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;