Skip to contentSkip to conversation

Mapping Windows ACLs SIDs to POSIX ACL ?

Samba Shirish Pargaonkar 1 participant 1 message Oct 6, 2011 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw
Quoted 12 lines · Xavier Roche

Hi folks,

This may sound like a really stupid question, but I could not find any way to somehow map remote Windows ACLs into POSIX ACLs (mapping users and group SIDs to Unix mapped ids) when mounting a remote share (mount.cifs) on a Linux box.

Is is something not currently implemented ? The smbcacls tool can show the actual ACLs remotely, but this information is not exposed to the mounted filesystem apparently. The acl feature of the client seem to be an extension to CIFS allowing to handle POSIX ACLs, not something allowing a mapping.

Quoted 9 lines

Any insightful remark or documentation would be welcome!

[ Note: the only potential issue when mapping would be related to deny ACLs (AceType == ACCESS_DENIED_ACE_TYPE) ; something which is not mappable to POSIX ACL. ]
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

,
Currently cifs client maps DACL to Linux permission model but not to POSIX ACL model.

You will need a kernel built with cifs_cifsacl config option (because it is still maexperimental) and current cifs-utils package. The manpages in that cifs-utils package will have info on how to use mount option cifsacl and how to setup id mapping (using winbind).

The current cifs-utils package has two binaries, getcifsacl and setcifsacl, modeled after smbcacls.

Hope that helps. You may direct any further questions/concerns to [email protected] mailing list.

Regards,

Shirish