Whamcloud - gitweb
LU-6490 gss: 3.1x kernels adjustments for gssapi code 42/15342/9
authorSebastien Buisson <sebastien.buisson@bull.net>
Thu, 18 Jun 2015 16:15:47 +0000 (18:15 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 3 Aug 2015 01:59:30 +0000 (01:59 +0000)
commit37e738fbde6220164da7b9c2097065eb323e2da7
treedfd36a0e0b0135c3ee54b6370081dad5800a96e1
parent78add6cb8aad0dda0528423dc930fec54ed36259
LU-6490 gss: 3.1x kernels adjustments for gssapi code

There are a number of changes in 3.1x kernels concerning the GSSAPI:
- libgssapi and libgssglue do not exist anymore, so call krb5
  primitives directly, and remove associated config checks;
- struct cred has no tgcred member anymore, so use cred directly;
- struct key_type instantiate and update function prototypes
  have changed;
- add new config checks on struct cred and struct key_type;
- u_int is BSD specific, so it is replaced with unsigned int.

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Change-Id: I3b13c2afcb4b800bdcffb3b8713048f8e39f6866
Reviewed-on: http://review.whamcloud.com/15342
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Tested-by: Jenkins
Reviewed-by: James Simmons <uja.ornl@yahoo.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/autoconf/kerberos5.m4
lustre/autoconf/lustre-core.m4
lustre/ptlrpc/gss/gss_keyring.c
lustre/utils/gss/context_lucid.c
lustre/utils/gss/err_util.c
lustre/utils/gss/gssd_proc.c
lustre/utils/gss/krb5_util.c
lustre/utils/gss/lgss_keyring.c
lustre/utils/gss/svcgssd_proc.c