[L] Change in ...nfs-ganesha[next]: Add PSEUDOFS config block
by Frank Filz (GerritHub)
Frank Filz has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/555099?usp=email )
Change subject: Add PSEUDOFS config block
......................................................................
Add PSEUDOFS config block
This provides a very simple way to configure the pseudofs root with
several options that are allowed, including specifying a CLIENT list.
This is very useful if a restrictive client list is specified in
EXPORT_DEFAULTS. For example, the following would restrict access to
the pseudofs:
EXPORT_DEFAULTS
{
Anonymous_uid = -99;
Anonymous_gid = -99;
Protocols = 3,4;
Manage_Gids = false;
Squash = None;
Access_Type = RW;
CLIENT
{
Access_Type=RW;
Clients=192.168.0.0/24,192.168.1.0/24;
}
CLIENT
{
Access_Type=NONE;
Clients=*;
}
}
With this change, the following simple definition restores access to
the pseudofs:
PSEUDOFS
{
CLIENT
{
Clients=*;
}
}
Thus patch also includes several logging changes that became obvious
while debugging.
Additionally in updating the config documentation for this patch, some
errors were observed and fixed.
Change-Id: I5dccfab272c1ffe2a6750ba2304db706233b9a55
Signed-off-by: Frank S. Filz <ffilzlnx(a)mindspring.com>
---
M src/config_samples/config.txt
M src/doc/man/ganesha-ceph-config.rst
M src/doc/man/ganesha-export-config.rst
M src/support/exports.c
4 files changed, 619 insertions(+), 65 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/99/555099/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/555099?usp=email
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: I5dccfab272c1ffe2a6750ba2304db706233b9a55
Gerrit-Change-Number: 555099
Gerrit-PatchSet: 1
Gerrit-Owner: Frank Filz <ffilzlnx(a)mindspring.com>
Gerrit-MessageType: newchange