diff options
author | Steve French <sfrench@us.ibm.com> | 2008-01-09 11:21:36 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2008-01-09 11:21:36 -0500 |
commit | 6103335de8afa5d780dcd512abe85c696af7b040 (patch) | |
tree | 92940053ea0bef4b5c821ed84aa265c496724391 /fs/Kconfig | |
parent | f6d09982197c4163c70f6af0cf15bb78674105c0 (diff) |
[CIFS] DNS name resolution helper upcall for cifs
Adds additional option CIFS_DFS_UPCALL to fs/Kconfig for enabling
DFS support. Resolved IP address is saved as a string in the
key payload.
Igor has a series of related patches that will follow which finish up
CIFS DFS support
Acked-by: Igor Mammedov <niallain@gmail.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r-- | fs/Kconfig | 39 |
1 files changed, 26 insertions, 13 deletions
diff --git a/fs/Kconfig b/fs/Kconfig index 487236c65837..18cd22149466 100644 --- a/fs/Kconfig +++ b/fs/Kconfig | |||
@@ -1905,13 +1905,15 @@ config CIFS | |||
1905 | file servers such as Windows 2000 (including Windows 2003, NT 4 | 1905 | file servers such as Windows 2000 (including Windows 2003, NT 4 |
1906 | and Windows XP) as well by Samba (which provides excellent CIFS | 1906 | and Windows XP) as well by Samba (which provides excellent CIFS |
1907 | server support for Linux and many other operating systems). Limited | 1907 | server support for Linux and many other operating systems). Limited |
1908 | support for OS/2 and Windows ME and similar servers is provided as well. | 1908 | support for OS/2 and Windows ME and similar servers is provided as |
1909 | 1909 | well. | |
1910 | The intent of the cifs module is to provide an advanced | 1910 | |
1911 | network file system client for mounting to CIFS compliant servers, | 1911 | The cifs module provides an advanced network file system |
1912 | including support for dfs (hierarchical name space), secure per-user | 1912 | client for mounting to CIFS compliant servers. It includes |
1913 | session establishment, safe distributed caching (oplock), optional | 1913 | support for DFS (hierarchical name space), secure per-user |
1914 | packet signing, Unicode and other internationalization improvements. | 1914 | session establishment via Kerberos or NTLM or NTLMv2, |
1915 | safe distributed caching (oplock), optional packet | ||
1916 | signing, Unicode and other internationalization improvements. | ||
1915 | If you need to mount to Samba or Windows from this machine, say Y. | 1917 | If you need to mount to Samba or Windows from this machine, say Y. |
1916 | 1918 | ||
1917 | config CIFS_STATS | 1919 | config CIFS_STATS |
@@ -1943,7 +1945,8 @@ config CIFS_WEAK_PW_HASH | |||
1943 | (since 1997) support stronger NTLM (and even NTLMv2 and Kerberos) | 1945 | (since 1997) support stronger NTLM (and even NTLMv2 and Kerberos) |
1944 | security mechanisms. These hash the password more securely | 1946 | security mechanisms. These hash the password more securely |
1945 | than the mechanisms used in the older LANMAN version of the | 1947 | than the mechanisms used in the older LANMAN version of the |
1946 | SMB protocol needed to establish sessions with old SMB servers. | 1948 | SMB protocol but LANMAN based authentication is needed to |
1949 | establish sessions with some old SMB servers. | ||
1947 | 1950 | ||
1948 | Enabling this option allows the cifs module to mount to older | 1951 | Enabling this option allows the cifs module to mount to older |
1949 | LANMAN based servers such as OS/2 and Windows 95, but such | 1952 | LANMAN based servers such as OS/2 and Windows 95, but such |
@@ -1951,8 +1954,8 @@ config CIFS_WEAK_PW_HASH | |||
1951 | security mechanisms if you are on a public network. Unless you | 1954 | security mechanisms if you are on a public network. Unless you |
1952 | have a need to access old SMB servers (and are on a private | 1955 | have a need to access old SMB servers (and are on a private |
1953 | network) you probably want to say N. Even if this support | 1956 | network) you probably want to say N. Even if this support |
1954 | is enabled in the kernel build, they will not be used | 1957 | is enabled in the kernel build, LANMAN authentication will not be |
1955 | automatically. At runtime LANMAN mounts are disabled but | 1958 | used automatically. At runtime LANMAN mounts are disabled but |
1956 | can be set to required (or optional) either in | 1959 | can be set to required (or optional) either in |
1957 | /proc/fs/cifs (see fs/cifs/README for more detail) or via an | 1960 | /proc/fs/cifs (see fs/cifs/README for more detail) or via an |
1958 | option on the mount command. This support is disabled by | 1961 | option on the mount command. This support is disabled by |
@@ -2018,12 +2021,22 @@ config CIFS_UPCALL | |||
2018 | depends on CIFS_EXPERIMENTAL | 2021 | depends on CIFS_EXPERIMENTAL |
2019 | depends on KEYS | 2022 | depends on KEYS |
2020 | help | 2023 | help |
2021 | Enables an upcall mechanism for CIFS which will be used to contact | 2024 | Enables an upcall mechanism for CIFS which accesses |
2022 | userspace helper utilities to provide SPNEGO packaged Kerberos | 2025 | userspace helper utilities to provide SPNEGO packaged (RFC 4178) |
2023 | tickets which are needed to mount to certain secure servers | 2026 | Kerberos tickets which are needed to mount to certain secure servers |
2024 | (for which more secure Kerberos authentication is required). If | 2027 | (for which more secure Kerberos authentication is required). If |
2025 | unsure, say N. | 2028 | unsure, say N. |
2026 | 2029 | ||
2030 | config CIFS_DFS_UPCALL | ||
2031 | bool "DFS feature support (EXPERIMENTAL)" | ||
2032 | depends on CIFS_EXPERIMENTAL | ||
2033 | depends on KEYS | ||
2034 | help | ||
2035 | Enables an upcall mechanism for CIFS which contacts userspace | ||
2036 | helper utilities to provide server name resolution (host names to | ||
2037 | IP addresses) which is needed for implicit mounts of DFS junction | ||
2038 | points. If unsure, say N. | ||
2039 | |||
2027 | config NCP_FS | 2040 | config NCP_FS |
2028 | tristate "NCP file system support (to mount NetWare volumes)" | 2041 | tristate "NCP file system support (to mount NetWare volumes)" |
2029 | depends on IPX!=n || INET | 2042 | depends on IPX!=n || INET |