diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-05-26 12:48:58 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-06-03 17:54:37 +0200 |
commit | e16e7146b378e8e89bf25adc66d806bac7feaeb6 (patch) | |
tree | 3749acfaa0e0121050f6ff8cfebb3e60e37533ac /source3/smbd/globals.h | |
parent | f20ded603b488b4eaca8b4bf1009e61ead851f85 (diff) | |
download | samba-e16e7146b378e8e89bf25adc66d806bac7feaeb6.tar.gz samba-e16e7146b378e8e89bf25adc66d806bac7feaeb6.tar.bz2 samba-e16e7146b378e8e89bf25adc66d806bac7feaeb6.zip |
s3:smbd: move negprot related globals to struct smbd_server_connection
metze
Diffstat (limited to 'source3/smbd/globals.h')
-rw-r--r-- | source3/smbd/globals.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/source3/smbd/globals.h b/source3/smbd/globals.h index 333f4f12a8..46c52fea12 100644 --- a/source3/smbd/globals.h +++ b/source3/smbd/globals.h @@ -91,11 +91,6 @@ extern char *last_to; struct msg_state; extern struct msg_state *smbd_msg_state; -extern bool global_encrypted_passwords_negotiated; -extern bool global_spnego_negotiated; -extern struct auth_context *negprot_global_auth_context; -extern bool done_negprot; - extern bool logged_ioctl_message; /* users from session setup */ @@ -330,6 +325,13 @@ struct smbd_server_connection { struct { struct fd_event *fde; uint64_t num_requests; + struct { + bool encrypted_passwords; + bool spnego; + struct auth_context *auth_context; + bool done; + } negprot; + struct smb_signing_state *signing_state; /* List to store partial SPNEGO auth fragments. */ struct pending_auth_data *pd_list; |