summaryrefslogtreecommitdiff
path: root/auth/gensec
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-12-24 00:27:45 +0100
committerStefan Metzmacher <metze@samba.org>2012-01-12 13:15:08 +0100
commit891318ee4cc77077525e698d21398c6db82f0a1a (patch)
treed382b46f32f45bcd6e034077a3484fe8b85a7cbf /auth/gensec
parentb3f8f7e8a3c28bc74f252534b1c45c9ed52d8ebe (diff)
downloadsamba-891318ee4cc77077525e698d21398c6db82f0a1a.tar.gz
samba-891318ee4cc77077525e698d21398c6db82f0a1a.tar.bz2
samba-891318ee4cc77077525e698d21398c6db82f0a1a.zip
s4:auth/gensec/spnego: add support for fragmented spnego messages
metze
Diffstat (limited to 'auth/gensec')
-rw-r--r--auth/gensec/gensec_start.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/gensec/gensec_start.c b/auth/gensec/gensec_start.c
index b09a76b345..016967a303 100644
--- a/auth/gensec/gensec_start.c
+++ b/auth/gensec/gensec_start.c
@@ -518,7 +518,7 @@ static NTSTATUS gensec_start(TALLOC_CTX *mem_ctx,
(*gensec_security) = talloc_zero(mem_ctx, struct gensec_security);
NT_STATUS_HAVE_NO_MEMORY(*gensec_security);
- (*gensec_security)->max_update_size = UINT32_MAX;
+ (*gensec_security)->max_update_size = 0;
SMB_ASSERT(settings->lp_ctx != NULL);
(*gensec_security)->settings = talloc_reference(*gensec_security, settings);