r19558: Make behaviour of "OK" match that of Samba3's ntlm_auth. Patch by
authorJelmer Vernooij <jelmer@samba.org>
Sat, 4 Nov 2006 20:57:32 +0000 (20:57 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:24:50 +0000 (14:24 -0500)
Kai Blin.

source/utils/ntlm_auth.c

index ceefd0de09294713958849de5b83b9722ca4f162..68ee70fdbb59e322c1235250de7d105477a93722 100644 (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) &&