Project

General

Profile

Bug #5924

maproot/mapall options need to be greyed out if nfsv4 checked

Added by Dru Lavigne about 6 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Nice to have
Assignee:
Josh Paetzel
Category:
OS
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

From http://www.freebsd.org/cgi/man.cgi?exports%285%29, the maproot and mapall options do not apply to NFSv4. If one checks the box to enable NFSv4 in Services -> NFS, these options should be greyed out in the Add NFS Share screen.

It is probably worthwhile to have a pop-up message occur when checking NFSv4 to warn the user that these options don't apply, in case they already have shares using these options (or, if it only applies to new shares, it should indicate that as well).

History

#1 Updated by Josh Paetzel about 6 years ago

  • Category set to 39
  • Status changed from Unscreened to Screened
  • Assignee set to Josh Paetzel
  • Target version set to 49

?Dru,

I don't see where it says that in the man page. Can you paste the relevant section?

#2 Updated by Dru Lavigne about 6 years ago

The second component of a line specifies how the file system is to be exported to the host set. The option flags specify whether the file system is exported read-only or read-write and how the client UID is mapped to user credentials on the server. For the NFSv4 tree root, the only option that can be specified in this section is -sec.

#3 Updated by Josh Paetzel about 6 years ago

  • Status changed from Screened to Closed: Behaves correctly

Dru,

That's the tree root, not the individual shares. The shares still respect maproot/mapall

We don't expose the tree root and just hardwire it to v4: /

#4 Updated by Dru Lavigne about 6 years ago

  • Status changed from Closed: Behaves correctly to Closed

Thanks for the clarification!

#5 Avatar?id=14398&size=24x24 Updated by Kris Moore about 3 years ago

  • Target version changed from 49 to N/A

Also available in: Atom PDF