Whamcloud - gitweb
LU-3137 kerberos: GSSAPI broken due to library confusion
authorAndrew Korty <ajk@iu.edu>
Tue, 9 Apr 2013 13:54:26 +0000 (09:54 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 12 Apr 2013 05:31:25 +0000 (01:31 -0400)
commit38b0200db88544f1237bb1a10ab9de679b637696
tree81713aa70e14fea3877ef6bd5db85512648bc788
parent0443898cd253cea9905727f38dd027d91e614358
LU-3137 kerberos: GSSAPI broken due to library confusion

libgssglue has replaced libgssapi on some platforms, including RHEL
6.4, producing the compile-time errors

lsvcgssd-context_lucid.o: In function `serialize_krb5_ctx':
/home/ajk/lustre-master/lustre/utils/gss/context_lucid.c:598:
undefined reference to `gss_export_lucid_sec_context'
/home/ajk/lustre-master/lustre/utils/gss/context_lucid.c:634:
undefined reference to `gss_free_lucid_sec_context'

Having Autoconf look for gss_free_lucid_sec_context() instead of
gss_init_sec_context() finds the correct library.

Signed-off-by: Andrew Korty <ajk@iu.edu>
Change-Id: I1362682a5a2cc78b176ad0b4f9181db335084cd4
Reviewed-on: http://review.whamcloud.com/5991
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: John Hammond <johnlockwoodhammond@gmail.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
lustre/autoconf/lustre-core.m4