git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9713bce
)
Fix up the SPNEGO segfault.
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 5 Jan 2002 12:04:33 +0000
(12:04 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 5 Jan 2002 12:04:33 +0000
(12:04 +0000)
source/smbd/sesssetup.c
patch
|
blob
|
history
diff --git
a/source/smbd/sesssetup.c
b/source/smbd/sesssetup.c
index 737ecade7d7a469f66d1b0d72ddbac9bd47acfeb..8b7a29ea863c5102cb386a0f9f599d4396ff81e2 100644
(file)
--- a/
source/smbd/sesssetup.c
+++ b/
source/smbd/sesssetup.c
@@
-23,7
+23,7
@@
#include "includes.h"
uint32 global_client_caps = 0;
-static struct auth_context *ntlmssp_auth_context;
+static struct auth_context *ntlmssp_auth_context
= NULL
;
/*
on a logon error possibly map the error to success if "map to guest"
@@
-288,7
+288,7
@@
static int reply_spnego_negotiate(connection_struct *conn,
DEBUG(3,("Got neg_flags=%08x\n", neg_flags));
- if (
!
ntlmssp_auth_context) {
+ if (ntlmssp_auth_context) {
ntlmssp_auth_context->free(&ntlmssp_auth_context);
}