diff options
author | Santosh Kumar Pradhan <spradhan@redhat.com> | 2014-01-07 14:22:03 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-01-08 03:54:06 -0800 |
commit | a1e26be05c7b344dc8e7f980d0a6ab00695f2f42 (patch) | |
tree | 26049e21f54a8675e65d6b4910450992899a864f /xlators/cluster/afr | |
parent | 1e4f2d08f102e9fc1e27ffb5608d4b45c11e0b55 (diff) |
gNFS: mnt3_find_export() by pass AUTH check
NFS subdir mount does not respect nfs.rpc-auth-reject option
in the volume. If the volume is being mounted, then it would
validate the AUTH by mnt3_check_client_net() but if the client
is mounting a subdir, the control takes a different code path
i.e. mnt3_find_export() which does not bother about the AUTH.
FIX:
Enforce the AUTH check in mnt3_parse_dir_exports() which is
invoked by mnt3_find_export() for subdir mount.
Change-Id: I6fdd3e6bd6cbd32b0d9ca620cc4c30fdaff9ca30
BUG: 1049225
Signed-off-by: Santosh Kumar Pradhan <spradhan@redhat.com>
Reviewed-on: http://review.gluster.org/6655
Reviewed-by: Niels de Vos <ndevos@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/afr')
0 files changed, 0 insertions, 0 deletions