Bug 2081 - "map acl inherit" ignored when setting SE_DESC_DACL_PROTECTED
"map acl inherit" ignored when setting SE_DESC_DACL_PROTECTED
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.9
All Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-23 14:13 UTC by John Janosik
Modified: 2005-08-24 10:27 UTC (History)
0 users

See Also:


Attachments
This should fix it. (595 bytes, patch)
2004-11-24 17:57 UTC, Jeremy Allison
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Janosik 2004-11-23 14:13:01 UTC
When "map acl inherit" is set to no Samba does not store ACL inheritence
information in an xattr.  But when getting an nt acl for a file it ignores this
setting when setting the SE_DESC_DACL_PROTECTED flag.  On a server which has
always had set "map acl inherit = no" this means the SE_DESC_DACL_PROTECTED flag
is never set for acls returned by get_nt_acl in smbd/posix_acls.c.  The result
is that the ACL shows up as inherited in the Windows XP GUI even though it is
not inherited.
Comment 1 Jeremy Allison 2004-11-24 17:57:12 UTC
Created attachment 809 [details]
This should fix it.
Comment 2 Jeremy Allison 2004-11-24 17:57:56 UTC
Always turn on this flag if "map acl inherit" is turned off.
Should fix this.
Jeremy.
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:27:07 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.