svn commit: samba r6792 - in branches/SAMBA_4_0/source/auth/gensec:
.
abartlet at samba.org
abartlet at samba.org
Sun May 15 03:07:20 GMT 2005
Author: abartlet
Date: 2005-05-15 03:07:20 +0000 (Sun, 15 May 2005)
New Revision: 6792
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6792
Log:
Allow a mech to fail on the first pass at the packet, and still fall
back to the other options.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/auth/gensec/spnego.c
Changeset:
Modified: branches/SAMBA_4_0/source/auth/gensec/spnego.c
===================================================================
--- branches/SAMBA_4_0/source/auth/gensec/spnego.c 2005-05-15 02:51:39 UTC (rev 6791)
+++ branches/SAMBA_4_0/source/auth/gensec/spnego.c 2005-05-15 03:07:20 UTC (rev 6792)
@@ -382,6 +382,8 @@
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;
}
More information about the samba-cvs
mailing list