Whamcloud - gitweb
LU-8795 gss: Prevent callout truncation with non-root users 00/23600/2
authorJeremy Filizetti <jeremy.filizetti@gmail.com>
Sat, 5 Nov 2016 23:09:05 +0000 (19:09 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 7 Nov 2016 15:46:16 +0000 (15:46 +0000)
commitcc5601dfbe58ee8b0a024e2f9448a6a4f53c02a8
treed5739a5234f963950c973f4472ebe749249db3ca
parentdde6d59ad5c7bb915900bbbe471104ab3c4d3629
LU-8795 gss: Prevent callout truncation with non-root users

The SK changes included an additional svc_type field in the callout
which was initialized to the '0'.  Since the defaulted value is
not changed prior to callout for non-root users this breaks those
kerberos users.  SK is not affected because all users share the same
key context which is limited to the root user.

Signed-off-by: Jeremy Filizetti <jeremy.filizetti@gmail.com>
Change-Id: I2c906714ee6ad6a0091ac922298aee7b63b9e856
Reviewed-on: http://review.whamcloud.com/23600
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/ptlrpc/gss/gss_keyring.c