]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r21900: Token exchange now seems to work, now why does the
authorJeremy Allison <jra@samba.org>
Wed, 21 Mar 2007 01:04:56 +0000 (01:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:47 +0000 (12:18 -0500)
client encrypt fail ?
Jeremy.

source/smbd/seal.c

index 8283346c28d4d4a8cd6dd3e03b30ad2067aa036e..fa47786d5195eac48ebb7f3e4e0faea1af9a9451 100644 (file)
@@ -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);
                }