s3:smbd: move all globals and static variables in globals.[ch]
[samba.git] / source3 / smbd / negprot.c
index 43fdc1d60861403bfa0046871457e2180d88dda0..729d144ea1bae4e81d9637a62befb802be282a54 100644 (file)
 */
 
 #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) {