> Project SMB shares have export ACLs (as in "mmsmb exportacl ..")
> limiting share access to the project's member group, in addition to the
> NFSv4 ACLs.
>
> We also want to limit access to SMB shares to project subnets.
> There is no way to specify that with "mmsmb", but we have found
>
> /usr/lpp/mmfs/bin/net conf setparm <share> "hosts allow" <subnet>
>
> to be working, at least with some limited testing: share access is
> actually limited to the specified subnets. The additional settings
> seems to be stored in CTDB under /var/lib/ctdb/persistent.
>
> We assume that the "net conf setparm" method is not officially supported
> by IBM. Although it seems to be working, we wonder if it is a good idea
> to implement it. For instance, we are wondering if the additional
> settings will survive later ESS code upgrades, and if it will scale to
> thousands of SMB shares.
Officially Scale only supports Samba options that can be set through
the GUI or the mmsmb CLI. Everything else set through 'net conf' has
not been tested and is not supported. In this specific case, this is
likely to work, and it should also be preserved across code upgrades,
but again, this is not an official support statement.
Regards,