diff options
-rw-r--r-- | Documentation/kernel-parameters.txt | 17 | ||||
-rw-r--r-- | fs/nfs/client.c | 2 |
2 files changed, 12 insertions, 7 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 81c287fad79d..dfd21cfdf579 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -1630,12 +1630,17 @@ bytes respectively. Such letter suffixes can also be entirely omitted. | |||
1630 | The default is to return 64-bit inode numbers. | 1630 | The default is to return 64-bit inode numbers. |
1631 | 1631 | ||
1632 | nfs.nfs4_disable_idmapping= | 1632 | nfs.nfs4_disable_idmapping= |
1633 | [NFSv4] When set, this option disables the NFSv4 | 1633 | [NFSv4] When set to the default of '1', this option |
1634 | idmapper on the client, but only if the mount | 1634 | ensures that both the RPC level authentication |
1635 | is using the 'sec=sys' security flavour. This may | 1635 | scheme and the NFS level operations agree to use |
1636 | make migration from legacy NFSv2/v3 systems easier | 1636 | numeric uids/gids if the mount is using the |
1637 | provided that the server has the appropriate support. | 1637 | 'sec=sys' security flavour. In effect it is |
1638 | The default is to always enable NFSv4 idmapping. | 1638 | disabling idmapping, which can make migration from |
1639 | legacy NFSv2/v3 systems to NFSv4 easier. | ||
1640 | Servers that do not support this mode of operation | ||
1641 | will be autodetected by the client, and it will fall | ||
1642 | back to using the idmapper. | ||
1643 | To turn off this behaviour, set the value to '0'. | ||
1639 | 1644 | ||
1640 | nmi_debug= [KNL,AVR32,SH] Specify one or more actions to take | 1645 | nmi_debug= [KNL,AVR32,SH] Specify one or more actions to take |
1641 | when a NMI is triggered. | 1646 | when a NMI is triggered. |
diff --git a/fs/nfs/client.c b/fs/nfs/client.c index 41bd67f80d31..277dfaf2e99a 100644 --- a/fs/nfs/client.c +++ b/fs/nfs/client.c | |||
@@ -84,7 +84,7 @@ retry: | |||
84 | /* | 84 | /* |
85 | * Turn off NFSv4 uid/gid mapping when using AUTH_SYS | 85 | * Turn off NFSv4 uid/gid mapping when using AUTH_SYS |
86 | */ | 86 | */ |
87 | static int nfs4_disable_idmapping = 0; | 87 | static int nfs4_disable_idmapping = 1; |
88 | 88 | ||
89 | /* | 89 | /* |
90 | * RPC cruft for NFS | 90 | * RPC cruft for NFS |