Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 771845 - nfs:mount allowed even with *auth.reject is set
nfs:mount allowed even with *auth.reject is set
Product: GlusterFS
Classification: Community
Component: nfs (Show other bugs)
Unspecified Unspecified
high Severity high
: ---
: ---
Assigned To: Vivek Agarwal
: 799228 (view as bug list)
Depends On:
Blocks: 817967
  Show dependency treegraph
Reported: 2012-01-05 03:47 EST by Saurabh
Modified: 2016-02-17 19:03 EST (History)
4 users (show)

See Also:
Fixed In Version: glusterfs-3.4.0
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-07-24 13:41:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions: 3.3.0qa29
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Saurabh 2012-01-05 03:47:58 EST
Description of problem:

The problem is that the mount is allowed even if options auth.reject and nfs.rpc-auth-reject are set.

Version-Release number of selected component (if applicable):

glusterfs 3.3.0qa18 built on Dec 29 2011 01:49:17

How reproducible:

Steps to Reproduce:
1.create a volume
2.set options auth.reject and nfs.rpc-auth-reject, for a certain IP 
3. try mounting that volume from the node with the rejected IP
Actual results:
Mount happens.

Expected results:
Mount should not happen.

Additional info:

[root@RHEL6 nfs-regression]# gluster volume info dist-rep
Volume Name: dist-rep
Type: Distributed-Replicate
Status: Started
Number of Bricks: 3 x 2 = 6
Transport-type: tcp
Options Reconfigured:

from node,

[root@RHSSA1 ~]# mount -t nfs -o vers=3,nolock /mnt/nfs-test
[root@RHSSA1 ~]# ls /mnt/nfs-test/
f.1  f.2  f.3  f.n  run7165
Comment 1 Rajesh 2012-03-13 05:31:04 EDT
*** Bug 799228 has been marked as a duplicate of this bug. ***
Comment 2 Anand Avati 2012-03-14 06:11:05 EDT
CHANGE: http://review.gluster.com/2929 (rpc-lib/rpcsvc: nfs auth corrections) merged in master by Vijay Bellur (vijay@gluster.com)

Note You need to log in before you can comment on or make changes to this bug.