diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-01-08 12:03:45 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-01-08 12:22:21 +0100 |
commit | 3dde0cbb769b92d922be13677ad076cae9b6a693 (patch) | |
tree | 78594e39465f545c7252eaef7bc469ceb80c4d71 /source3/smbd/sesssetup.c | |
parent | defb574c2573a73335a2735e89e4cb5f96c4c069 (diff) | |
download | samba-3dde0cbb769b92d922be13677ad076cae9b6a693.tar.gz samba-3dde0cbb769b92d922be13677ad076cae9b6a693.tar.bz2 samba-3dde0cbb769b92d922be13677ad076cae9b6a693.zip |
s3:smbd: move all globals and static variables in globals.[ch]
The goal is to move all this variables into a big context structure.
metze
Diffstat (limited to 'source3/smbd/sesssetup.c')
-rw-r--r-- | source3/smbd/sesssetup.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/source3/smbd/sesssetup.c b/source3/smbd/sesssetup.c index 73948eca32..b8e0c86833 100644 --- a/source3/smbd/sesssetup.c +++ b/source3/smbd/sesssetup.c @@ -23,14 +23,9 @@ */ #include "includes.h" +#include "smbd/globals.h" -extern struct auth_context *negprot_global_auth_context; -extern bool global_encrypted_passwords_negotiated; -extern bool global_spnego_negotiated; extern enum protocol_types Protocol; -extern int max_send; - -uint32 global_client_caps = 0; /* on a logon error possibly map the error to success if "map to guest" @@ -953,12 +948,6 @@ static void reply_spnego_auth(struct smb_request *req, } /**************************************************************************** - List to store partial SPNEGO auth fragments. -****************************************************************************/ - -static struct pending_auth_data *pd_list; - -/**************************************************************************** Delete an entry on the list. ****************************************************************************/ @@ -1406,7 +1395,6 @@ void reply_sesssetup_and_X(struct smb_request *req) const char *native_os; const char *native_lanman; const char *primary_domain; - static bool done_sesssetup = False; auth_usersupplied_info *user_info = NULL; auth_serversupplied_info *server_info = NULL; uint16 smb_flag2 = req->flags2; |