]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rpc: handle rotated gss data for Windows interoperability
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 12 Apr 2012 00:08:45 +0000 (20:08 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 1 Jun 2012 00:29:39 +0000 (20:29 -0400)
commitc52226daf553b21891f39777d78a54ea4e7e8654
treea85dd956745f473bb6f4990c68cd07cdbc768d68
parente7a0444aef4a1649bc155fd5c6d6ab3f8bdc88ab
rpc: handle rotated gss data for Windows interoperability

The data in Kerberos gss tokens can be rotated.  But we were lazy and
rejected any nonzero rotation value.  It wasn't necessary for the
implementations we were testing against at the time.

But it appears that Windows does use a nonzero value here.

So, implement rotation to bring ourselves into compliance with the spec
and to interoperate with Windows.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/auth_gss/gss_krb5_wrap.c