[CIFS] use krb5 session key from first SMB session after a NegProt
authorJeff Layton <jlayton@redhat.com>
Mon, 31 Dec 2007 04:03:02 +0000 (04:03 +0000)
committerSteve French <sfrench@us.ibm.com>
Mon, 31 Dec 2007 04:03:02 +0000 (04:03 +0000)
commit1a67570c76402b36695cd0725e28649ee8fe830d
tree77e71577106a8e0c2d2d61b032a8dd7437f3deb3
parent1d9a8852c365fb7f8db0f8364210138985f457b8
[CIFS]  use krb5 session key from first SMB session after a NegProt

Currently, any new kerberos SMB session overwrites the server's session
key. The session key should only be set by the first SMB session set up
on the socket.

Signed-off-by: Jeff Layton <jlayton@tupile.poochiereds.net>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/cifs/sess.c