svn commit: samba r9419 - in branches/SAMBA_4_0/source/auth/gensec:
.
abartlet at samba.org
abartlet at samba.org
Sat Aug 20 07:04:14 GMT 2005
Author: abartlet
Date: 2005-08-20 07:04:13 +0000 (Sat, 20 Aug 2005)
New Revision: 9419
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9419
Log:
Silly, silly, untested mistake...
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-08-20 06:36:35 UTC (rev 9418)
+++ branches/SAMBA_4_0/source/auth/gensec/spnego.c 2005-08-20 07:04:13 UTC (rev 9419)
@@ -433,7 +433,7 @@
}
/* In the client, try and produce the first (optimistic) packet */
- if (spnego_state->state_position = SPNEGO_CLIENT_START) {
+ if (spnego_state->state_position == SPNEGO_CLIENT_START) {
nt_status = gensec_update(spnego_state->sub_sec_security,
out_mem_ctx,
null_data_blob,
@@ -458,7 +458,7 @@
&all_sec[i]);
spnego_out.negTokenInit.reqFlags = 0;
- if (spnego_state->state_position = SPNEGO_SERVER_START) {
+ if (spnego_state->state_position == SPNEGO_SERVER_START) {
spnego_out.negTokenInit.mechListMIC
= data_blob_string_const(talloc_asprintf(out_mem_ctx, "%s$@%s", lp_netbios_name(), lp_realm()));
} else {
More information about the samba-cvs
mailing list