]> err.no Git - linux-2.6/commit
[CIFS] distinguish between Kerberos and MSKerberos in upcall
authorSteve French <sfrench@us.ibm.com>
Tue, 19 Aug 2008 19:35:33 +0000 (19:35 +0000)
committerSteve French <sfrench@us.ibm.com>
Tue, 19 Aug 2008 19:35:33 +0000 (19:35 +0000)
commitc16fefa56334e8d0197492607e473fdbb813073f
tree8dc227ea6a712939ce216dd93746dc9baa4ee13f
parentcb7691b648bddbfaf6dd8d8068273dbb18d2484c
[CIFS] distinguish between Kerberos and MSKerberos in upcall

Properly handle MSKRB5 by passing sec=mskrb5 to the upcall so that the
spengo blob can be generated appropriately. Also, make
decode_negTokenInit prefer whichever mechanism is first in the list.

Needed for some NetApp servers, and possibly some older
versions of Windows which treat the two KRB5 mechanisms differently.

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