Bug 3789 - sys_acl_get_entry with SMB_ACL_FIRST_ENTRY does not reset ACL list on AIX 5.3
Summary: sys_acl_get_entry with SMB_ACL_FIRST_ENTRY does not reset ACL list on AIX 5.3
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.21c
Hardware: PPC AIX
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-18 23:29 UTC by Jeff Wright (dead mail address)
Modified: 2022-03-06 23:44 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 (dead mail address) 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?
Comment 2 Björn Jacke 2022-03-06 23:44:51 UTC
no feedback, don't see an issue here, closing now.