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. Note: Samba do have SD size of 64kb which can easily accommodate 1800 aces.
Created attachment 8947 [details] attached the patch for supporting maximum number of aces limit in SAMBA attached the patch for supporting maximum number of aces limit in SAMBA. Please do review and let me know any further changes required
Test result: With the fix I have tested SAMBA and its able to accommodate/set 1800 aces on the 64kb size xattr. through smb2 setinfo and able to fetch them through smb2 getinfo.
Comment on attachment 8947 [details] attached the patch for supporting maximum number of aces limit in SAMBA Fixed the mime type.
Hi Partha, Can you submit the patch as a git format-patch patch with a proper Signed-Off-By line. You will need to git clone the Samba repos if you haven't already done that, and then you will need to git add the file you have modified and git commit. I can show you the steps tomorrow if you are not familiar with them. Since 1,000 produces an SD much larger than 4,096 bytes (the limit of XATTRs on some platforms, I can't see any problems with this patch. Probably the VFS should return an appropriate error if an SD is too large for it.
Having a signed-off-by git patch would be nice, but probably isn't necessary for this small a change. It looks good to me - Richard I'll post it to the samba-technical list and if you can review it we'll get it into master, then into 4.0.next. Cheers, Jeremy.
Created attachment 8949 [details] git-am fix for master and 4.0.x git-am version of the patch I've submitted to samba-technical. Jeremy.
closing, fixed long ago with 3e66cb7d771e9f2156f4183485736cca7d5609f9