mirror of
https://github.com/samba-team/samba.git
synced 2025-01-31 01:48:16 +03:00
r9419: Silly, silly, untested mistake...
Andrew Bartlett
This commit is contained in:
parent
9941da8081
commit
66cdd4dbd7
@ -433,7 +433,7 @@ static NTSTATUS gensec_spnego_create_negTokenInit(struct gensec_security *gensec
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* In the client, try and produce the first (optimistic) packet */
|
/* 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,
|
nt_status = gensec_update(spnego_state->sub_sec_security,
|
||||||
out_mem_ctx,
|
out_mem_ctx,
|
||||||
null_data_blob,
|
null_data_blob,
|
||||||
@ -458,7 +458,7 @@ static NTSTATUS gensec_spnego_create_negTokenInit(struct gensec_security *gensec
|
|||||||
&all_sec[i]);
|
&all_sec[i]);
|
||||||
spnego_out.negTokenInit.reqFlags = 0;
|
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
|
spnego_out.negTokenInit.mechListMIC
|
||||||
= data_blob_string_const(talloc_asprintf(out_mem_ctx, "%s$@%s", lp_netbios_name(), lp_realm()));
|
= data_blob_string_const(talloc_asprintf(out_mem_ctx, "%s$@%s", lp_netbios_name(), lp_realm()));
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user