[CIFS] Reserve upcall IDX value for CIFS with connector header and add
authorSteve French <sfrench@us.ibm.com>
Thu, 10 Nov 2005 23:33:38 +0000 (15:33 -0800)
committerSteve French <sfrench@us.ibm.com>
Thu, 10 Nov 2005 23:33:38 +0000 (15:33 -0800)
Kconfig option for CIFS upcall.

Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/Kconfig
fs/cifs/connect.c
include/linux/connector.h

index 4419855d779bdabe070742e24769aaeb90df7a99..1f0ebe61ad4099019dc4366265cb1f6f6c370e02 100644 (file)
@@ -1680,6 +1680,18 @@ config CIFS_EXPERIMENTAL
 
            If unsure, say N.
 
+config CIFS_UPCALL
+         bool "CIFS Kerberos/SPNEGO advanced session setup (EXPERIMENTAL)"
+         depends on CIFS_EXPERIMENTAL
+         select CONNECTOR
+         help
+           Enables an upcall mechanism for CIFS which will be used to contact
+           userspace helper utilities to provide SPNEGO packaged Kerberos
+           tickets which are needed to mount to certain secure servers
+           (for which more secure Kerberos authentication is required).
+           
+         If unsure, say N.  
+
 config NCP_FS
        tristate "NCP file system support (to mount NetWare volumes)"
        depends on IPX!=n || INET
index 450ab75d654623d492c6969fc312bd041083fa2a..2cb620716bc14661295a8c4fe6782d0e9ac99f62 100644 (file)
@@ -42,6 +42,7 @@
 #include "ntlmssp.h"
 #include "nterr.h"
 #include "rfc1002pdu.h"
+#include "cn_cifs.h"
 
 #define CIFS_PORT 445
 #define RFC1001_PORT 139
index c5769c6585f4cf9c623b8e086ba830310cff3256..ad1a22c1c42e24e2c2e0b93e4f090810ccb43a17 100644 (file)
@@ -32,6 +32,8 @@
  */
 #define CN_IDX_PROC                    0x1
 #define CN_VAL_PROC                    0x1
+#define CN_IDX_CIFS                    0x2
+#define CN_VAL_CIFS                     0x1
 
 #define CN_NETLINK_USERS               1