Fix bug #9932 - Currently the maximum number of aces in an SD is limited to 1000...
authorPartha Sarathi <parthasarathi.bl@gmail.com>
Fri, 7 Jun 2013 23:30:07 +0000 (16:30 -0700)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 12 Jun 2013 00:52:36 +0000 (02:52 +0200)
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 <jra@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Jun 12 02:52:36 CEST 2013 on sn-devel-104

librpc/idl/security.idl

index d4324aba73de4ce10b8bb5110436a081260bdf17..00bb6e6dc96571cf610c46f748f84ce767ab6b1f 100644 (file)
@@ -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;