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/negprot.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/negprot.c')
-rw-r--r-- | source3/smbd/negprot.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source3/smbd/negprot.c b/source3/smbd/negprot.c index 43fdc1d608..729d144ea1 100644 --- a/source3/smbd/negprot.c +++ b/source3/smbd/negprot.c @@ -19,14 +19,10 @@ */ #include "includes.h" +#include "smbd/globals.h" extern fstring remote_proto; extern enum protocol_types Protocol; -extern int max_recv; - -bool global_encrypted_passwords_negotiated = False; -bool global_spnego_negotiated = False; -struct auth_context *negprot_global_auth_context = NULL; static void get_challenge(uint8 buff[8]) { @@ -516,8 +512,6 @@ void reply_negprot(struct smb_request *req) int i; size_t converted_size; - static bool done_negprot = False; - START_PROFILE(SMBnegprot); if (done_negprot) { |