Revert "remove krb5 authorize_localname impl, there's no krb5_kuserok"

This reverts commit 4b92552c1e.
This commit is contained in:
Luke Howard
2011-05-14 14:51:08 +02:00
parent 6971125a79
commit 9f2cd17add

View File

@@ -38,7 +38,6 @@ _gsskrb5_authorize_localname(OM_uint32 *minor_status,
gss_const_buffer_t user_name,
gss_const_OID user_name_type)
{
#if 0
krb5_context context;
krb5_principal princ = (krb5_principal)input_name;
char *user;
@@ -64,8 +63,4 @@ _gsskrb5_authorize_localname(OM_uint32 *minor_status,
free(user);
return user_ok ? GSS_S_COMPLETE : GSS_S_UNAUTHORIZED;
#else
*minor_status = 0;
return GSS_S_UNAUTHORIZED;
#endif
}