summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-11-04 20:57:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:24:50 -0500
commit5d034a9d5dd79cbef89b3dc85b73296e6e63d359 (patch)
tree29e42d9ee6a0738dfd346beda90a6a8358da40dd
parent6031841dd8c605af09889ee3c3128224ef833c32 (diff)
downloadsamba-5d034a9d5dd79cbef89b3dc85b73296e6e63d359.tar.gz
samba-5d034a9d5dd79cbef89b3dc85b73296e6e63d359.tar.bz2
samba-5d034a9d5dd79cbef89b3dc85b73296e6e63d359.zip
r19558: Make behaviour of "OK" match that of Samba3's ntlm_auth. Patch by
Kai Blin. (This used to be commit d599bb8f98c01459dfbafe041f481d301316057c)
-rw-r--r--source4/utils/ntlm_auth.c3
1 files changed, 2 insertions, 1 deletions
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) &&