From 6bd7c05290909ef9f5f377dd141a64ed0d654134 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 21 Mar 2007 01:04:56 +0000 Subject: [PATCH] r21900: Token exchange now seems to work, now why does the client encrypt fail ? Jeremy. --- source/smbd/seal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/smbd/seal.c b/source/smbd/seal.c index 8283346c28d..fa47786d519 100644 --- a/source/smbd/seal.c +++ b/source/smbd/seal.c @@ -318,7 +318,7 @@ static NTSTATUS srv_enc_raw_ntlm_auth(unsigned char **ppdata, size_t *p_data_siz if (!partial_srv_trans_enc_ctx) { /* This is the initial step. */ status = srv_enc_ntlm_negotiate(ppdata, p_data_size, blob, False); - if (!NT_STATUS_IS_OK(status)) { + if (!NT_STATUS_EQUAL(status,NT_STATUS_MORE_PROCESSING_REQUIRED) && !NT_STATUS_IS_OK(status)) { srv_free_encryption_context(&partial_srv_trans_enc_ctx); return nt_status_squash(status); } -- 2.34.1