git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fa9be7
)
r6792: Allow a mech to fail on the first pass at the packet, and still fall
author
Andrew Bartlett
<abartlet@samba.org>
Sun, 15 May 2005 03:07:20 +0000
(
03:07
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:16:43 +0000
(13:16 -0500)
back to the other options.
Andrew Bartlett
source/auth/gensec/spnego.c
patch
|
blob
|
history
diff --git
a/source/auth/gensec/spnego.c
b/source/auth/gensec/spnego.c
index 4d9d1248073f3d361dd55dc1c7addeae5b5dea2b..3d9dbfb1e7f973ec8cacb11e96dce40d8ccddbef 100644
(file)
--- a/
source/auth/gensec/spnego.c
+++ b/
source/auth/gensec/spnego.c
@@
-382,6
+382,8
@@
static NTSTATUS gensec_spnego_client_parse_negTokenInit(struct gensec_security *
spnego_state->sub_sec_security->ops->name, nt_errstr(nt_status)));
talloc_free(spnego_state->sub_sec_security);
spnego_state->sub_sec_security = NULL;
+ /* If the mech failed on first packet generation, pretend it never actually started */
+ continue;
}
return nt_status;
}