[patch][linux-cifs-client] Add DER decoding of ASN.1 structure negTokenResp of SPNEGO

Shirish Pargaonkar shirishpargaonkar at gmail.com
Fri Jun 26 20:15:23 GMT 2009


This patch adds DER decoding of ASN.1 structure negTokenResp of SPNEGO.

Currently, only security mechanism used/handled in CIFS using SPNEGO
is Kerberos,
so use the function decode_negTokenResp to check the response to
negTokenInit sent by Kerberos.
I am not sure in case of Kerberos, what follows in the negTokenResp i.e.
how does kerberos blob look like if the negstate is accept-incomplete,
so I let it go further
instead of returning from decode_negTokenResp but at some point we will need a
function to handle that blob.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cifs_asn1.1.patch
Type: application/octet-stream
Size: 5129 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux-cifs-client/attachments/20090626/279685b9/cifs_asn1.1.obj


More information about the linux-cifs-client mailing list