Index: nfs-utils-1.3.4/utils/gssd/krb5_util.c =================================================================== --- nfs-utils-1.3.4.orig/utils/gssd/krb5_util.c +++ nfs-utils-1.3.4/utils/gssd/krb5_util.c @@ -831,7 +831,7 @@ find_keytab_entry(krb5_context context, * single realm, but we code with the assumption that * someday it may actually return a list. */ - code = krb5_get_host_realm(context, targethostname, &realmnames); + code = krb5_get_host_realm(context, myhostname, &realmnames); if (code) { k5err = gssd_k5_err_msg(context, code); printerr(0, "ERROR: %s while getting realm(s) for host '%s'\n",