Hi,

I'm using a pair of OpenFiler (2.2) systems, and I need to setup NFS shares
that will be used by various existing Linux servers to offload their
storage, and these NFS shares must hold files with multiple owners/rights
(qpopuser, qpopgroup, httpd, www-data, root, etc.).

My OpenFiler is also acting as a CIFS server for Windows client, and
connected to an Active Directory for the user authentication/database. So, I
initially created my NFS shares with "Domain users" as the primary group,
then tweaked manually the ownership/right of the NFS shares in order to use
them with my servers.

Everything was right, until I re-registered my OpenFiler to the Active
Directory server and it triggered the apply_configuration() function in
OpenFler which resetted recursively the ownerships of the files on my NFS
shares.

So, I thought it could be useful to have a third choice in the "Group access
configuration" section, which would disable enforcement of any ownership on
a share, and let the administrator handle this manually.

Here is a patch I'm currently using on my OpenFiler in order to implement
this:
- it add a "Custom/manual access control" choice in "Group access
configuration"
- and change the <access/> tag from <access public="(yes|no)" /> to <access
type="(custom|public|controlled)" />

This "Custom/manual access control" might also be useful for SMB shares,
allowing Windows client to set custom ACLs on files/directories.

Regards,
Jérôme Augé

Attachment: openfiler-custom_access_control.patch
Description: Binary data

_______________________________________________
Openfiler-users mailing list
[email protected]
https://lists.openfiler.com/mailman/listinfo/openfiler-users

Reply via email to