summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-03-21 01:04:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:47 -0500
commitea4dada48f404b1ee0caa7b128ddac9c224fc1f4 (patch)
tree1a31d9b8ae25cce5a5170856c7ff0d499be16ed5
parent7e55a6e6c77f5ddabbb3c4b1d7739ef60d6d30b6 (diff)
downloadsamba-ea4dada48f404b1ee0caa7b128ddac9c224fc1f4.tar.gz
samba-ea4dada48f404b1ee0caa7b128ddac9c224fc1f4.tar.bz2
samba-ea4dada48f404b1ee0caa7b128ddac9c224fc1f4.zip
r21900: Token exchange now seems to work, now why does the
client encrypt fail ? Jeremy. (This used to be commit 6bd7c05290909ef9f5f377dd141a64ed0d654134)
-rw-r--r--source3/smbd/seal.c2
1 files changed, 1 insertions, 1 deletions
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);
}