Add gss_userok and gss_pname_to_uid
authorGreg Hudson <ghudson@mit.edu>
Mon, 4 Apr 2011 15:59:35 +0000 (15:59 +0000)
committerGreg Hudson <ghudson@mit.edu>
Mon, 4 Apr 2011 15:59:35 +0000 (15:59 +0000)
commite2c6d09c74ed23e72755d6bc94f3844b0bd3d1eb
tree7daca06e940bd9ec1fdd698fb56b43c6cf03f32f
parent9880b7b620dcfa545f41a3046d09c1fc72583893
Add gss_userok and gss_pname_to_uid

Resurrect gss_userok and gss_pname_to_uid in the mechglue.  Add krb5
mech implementations using krb5_kuserok and krb5_aname_to_localname,
as well as mechanism-independent implementations based on name
attributes.

From r24710, r24715, r24717, r24731, r24732, r24733, r24734, r24735,
r24747, r24816, and r24819 in users/lhoward/moonshot-mechglue-fixes,
with minor edits.

ticket: 6891

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24836 dc483132-0cff-0310-8789-dd5450dbe970
src/appl/gss-sample/gss-server.c
src/lib/gssapi/generic/gssapi_ext.h
src/lib/gssapi/generic/gssapi_generic.c
src/lib/gssapi/krb5/gssapi_krb5.c
src/lib/gssapi/libgssapi_krb5.exports
src/lib/gssapi/mechglue/Makefile.in
src/lib/gssapi/mechglue/g_userok.c
src/lib/gssapi/mechglue/gssd_pname_to_uid.c
src/lib/gssapi/mechglue/mglueP.h
src/lib/gssapi/spnego/spnego_mech.c