1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

r19558: Make behaviour of "OK" match that of Samba3's ntlm_auth. Patch by

Kai Blin.
(This used to be commit d599bb8f98c01459dfbafe041f481d301316057c)
This commit is contained in:
Jelmer Vernooij 2006-11-04 20:57:32 +00:00 committed by Gerald (Jerry) Carter
parent 6031841dd8
commit 5d034a9d5d

View File

@ -402,7 +402,8 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode,
state->gensec_state = NULL;
}
} else if ( (strncmp(buf, "OK", 2) == 0)) {
/* do nothing */
/* Just return BH, like ntlm_auth from Samba 3 does. */
mux_printf(mux_id, "BH\n");
data_blob_free(&in);
return;
} else if ( (strncmp(buf, "TT ", 3) != 0) &&