summaryrefslogtreecommitdiff
path: root/source4/auth/gensec
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-08-20 07:04:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:33:37 -0500
commit1ba76ee8baa740213e1cce9a77866457d794fbce (patch)
treea89a71c7ceb14beeb0861c3b16fe328c1c6879ca /source4/auth/gensec
parent7f7b6a59b45c14843be091b2a53a444f98830bbb (diff)
downloadsamba-1ba76ee8baa740213e1cce9a77866457d794fbce.tar.gz
samba-1ba76ee8baa740213e1cce9a77866457d794fbce.tar.bz2
samba-1ba76ee8baa740213e1cce9a77866457d794fbce.zip
r9419: Silly, silly, untested mistake...
Andrew Bartlett (This used to be commit 66cdd4dbd7f4024b49bcc9fe1c7ff2a0de7e82e8)
Diffstat (limited to 'source4/auth/gensec')
-rw-r--r--source4/auth/gensec/spnego.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/gensec/spnego.c b/source4/auth/gensec/spnego.c
index d9b1ce495c..f5363467e8 100644
--- a/source4/auth/gensec/spnego.c
+++ b/source4/auth/gensec/spnego.c
@@ -433,7 +433,7 @@ static NTSTATUS gensec_spnego_create_negTokenInit(struct gensec_security *gensec
}
/* 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 @@ static NTSTATUS gensec_spnego_create_negTokenInit(struct gensec_security *gensec
&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 {