From eec71dac7c1c137507600c73a500c10710689ad6 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Sat, 14 May 2011 14:51:10 +0200 Subject: [PATCH] Revert "disable _gsskrb5_pname_to_uid, there's no aname_to_localname" This reverts commit ad69ac97b13c279a28f205e41b227942f2da8993. --- lib/gssapi/krb5/pname_to_uid.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/gssapi/krb5/pname_to_uid.c b/lib/gssapi/krb5/pname_to_uid.c index cec78e917..135e703e3 100644 --- a/lib/gssapi/krb5/pname_to_uid.c +++ b/lib/gssapi/krb5/pname_to_uid.c @@ -38,7 +38,6 @@ _gsskrb5_pname_to_uid(OM_uint32 *minor_status, const gss_OID mech_type, uid_t *uidp) { -#if 0 krb5_error_code ret; krb5_context context; krb5_const_principal princ = (krb5_const_principal)pname; @@ -78,8 +77,4 @@ _gsskrb5_pname_to_uid(OM_uint32 *minor_status, *uidp = pwd->pw_uid; return GSS_S_COMPLETE; -#else - *minor_status = KRB5_NO_LOCALNAME; - return GSS_S_UNAVAILABLE; -#endif }