From e16e7146b378e8e89bf25adc66d806bac7feaeb6 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 26 May 2009 12:48:58 +0200 Subject: s3:smbd: move negprot related globals to struct smbd_server_connection metze --- source3/smbd/globals.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'source3/smbd/globals.h') 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; -- cgit