From ea4dada48f404b1ee0caa7b128ddac9c224fc1f4 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 21 Mar 2007 01:04:56 +0000 Subject: r21900: Token exchange now seems to work, now why does the client encrypt fail ? Jeremy. (This used to be commit 6bd7c05290909ef9f5f377dd141a64ed0d654134) --- source3/smbd/seal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/seal.c b/source3/smbd/seal.c index 8283346c28..fa47786d51 100644 --- a/source3/smbd/seal.c +++ b/source3/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); } -- cgit