Bug 3789 - sys_acl_get_entry with SMB_ACL_FIRST_ENTRY does not reset ACL list on AIX 5.3
sys_acl_get_entry with SMB_ACL_FIRST_ENTRY does not reset ACL list on AIX 5.3
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.21c
PPC AIX
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-05-18 23:29 UTC by Jeff Wright
Modified: 2014-06-17 11:47 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Wright 2006-05-18 23:29:37 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.

Thanks...
Jeff Wright
Comment 1 Björn Jacke 2014-06-17 11:47:49 UTC
Jeff, I guess the problem is fixed since a long time, right?