The Samba-Bugzilla – Bug 3789
sys_acl_get_entry with SMB_ACL_FIRST_ENTRY does not reset ACL list on AIX 5.3
Last modified: 2014-06-17 11:47:49 UTC
The sys_acl_get_entry function in lib/sysacls.c does not seem to reset the ACL list when passed entry_id SMB_ACL_FIRST_ENTRY.
I have added the following 2 lines at line 2192 in lib/sysacls.c and it seems to have fixed the problem:
if (entry_id == SMB_ACL_FIRST_ENTRY)
the_acl->count = 0;
Please let me know if you require any additional information.
Jeff, I guess the problem is fixed since a long time, right?