[CIFS] Have CIFS_SessSetup build correct SPNEGO SessionSetup request
authorSteve French <sfrench@us.ibm.com>
Fri, 16 Nov 2007 23:37:35 +0000 (23:37 +0000)
committerSteve French <sfrench@us.ibm.com>
Fri, 16 Nov 2007 23:37:35 +0000 (23:37 +0000)
commit2442421b176420eca7cb68c575fc221332f488d8
treeaaf7a89594c9ae116e4a1768a97dcaeb83841c07
parent8840dee9dc53883883c321d2811e9f87700d9350
[CIFS] Have CIFS_SessSetup build correct SPNEGO SessionSetup request

Have CIFS_SessSetup call cifs_get_spnego_key when Kerberos is
negotiated. Use the info in the key payload to build a session
setup request packet. Also clean up how the request buffer in
the function is freed on error.

With appropriate user space helper (in samba/source/client). Kerberos
support (secure session establishment can be done now via Kerberos,
previously users would have to use NTLMv2 instead for more secure
session setup).

Signed-off-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/CHANGES
fs/cifs/TODO
fs/cifs/cifsglob.h
fs/cifs/sess.c