From 8b62abaa08ba814ce45bde12d8798d3a6e58c209 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Sun, 10 Apr 2011 15:42:11 +0000 Subject: Implement gss_authorize_localname, as discussed on the kitten list, and make gss_userok a wrapper around it matching the Gnu GSS prototype. The SPI for gss_authorize_localname doesn't match the API since we have no way of representing the contents of an internal name to a mech at the moment. From r24855, r24857, r24858, r24862, r24863, r24864, r24866, r24867, and r24868 in users/lhoward/moonshot-mechglue-fixes. ticket: 6891 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24869 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/generic/gssapi_ext.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/lib/gssapi/generic/gssapi_ext.h') diff --git a/src/lib/gssapi/generic/gssapi_ext.h b/src/lib/gssapi/generic/gssapi_ext.h index 5350dd32ce..c61955e881 100644 --- a/src/lib/gssapi/generic/gssapi_ext.h +++ b/src/lib/gssapi/generic/gssapi_ext.h @@ -41,11 +41,14 @@ gss_pname_to_uid const gss_OID mech_type, uid_t *uidOut); +int KRB5_CALLCONV +gss_userok(const gss_name_t name, + const char *username); + OM_uint32 KRB5_CALLCONV -gss_userok(OM_uint32 *minor, - const gss_name_t name, - const char *user, - int *user_ok); +gss_authorize_localname(OM_uint32 *minor, + const gss_name_t name, + const gss_name_t user); OM_uint32 KRB5_CALLCONV gss_acquire_cred_with_password( -- cgit