>From 2db9fca6a377bb1bca2912978177ab377cdebb43 Mon Sep 17 00:00:00 2001 From: Partha Sarathi Date: Fri, 7 Jun 2013 16:30:07 -0700 Subject: [PATCH] Fix bug #9932 - Currently the maximum number of aces in an SD is limited to 1000, but Microsoft supports around 1800. Issue description: I was trying to add maximum number of aces on Microsoft share, where I was able to add nearly 1800 aces on a file/folder SD. But Samba does not support adding 1800 aces to SD instead it limited to 1000. Expected behavior: Ideally SAMBA should also support as like Windows to compare with Windows standard. Set to 2000 until we add EA limits in the server. Reviewed-by: Jeremy Allison --- librpc/idl/security.idl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/librpc/idl/security.idl b/librpc/idl/security.idl index d4324ab..49c2313 100644 --- a/librpc/idl/security.idl +++ b/librpc/idl/security.idl @@ -536,7 +536,7 @@ interface security typedef [public,gensize,nosize] struct { security_acl_revision revision; [value(ndr_size_security_acl(r,ndr->flags))] uint16 size; - [range(0,1000)] uint32 num_aces; + [range(0,2000)] uint32 num_aces; security_ace aces[num_aces]; } security_acl; -- 1.7.9.5