From 5d034a9d5dd79cbef89b3dc85b73296e6e63d359 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 4 Nov 2006 20:57:32 +0000 Subject: r19558: Make behaviour of "OK" match that of Samba3's ntlm_auth. Patch by Kai Blin. (This used to be commit d599bb8f98c01459dfbafe041f481d301316057c) --- source4/utils/ntlm_auth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/utils/ntlm_auth.c b/source4/utils/ntlm_auth.c index ceefd0de09..68ee70fdbb 100644 --- a/source4/utils/ntlm_auth.c +++ b/source4/utils/ntlm_auth.c @@ -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) && -- cgit