We are getting default_client, not client. this way the user can

override the result.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21972 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-10-18 19:11:15 +00:00
parent 1dd5277f45
commit d8587d0752

View File

@@ -354,7 +354,7 @@ _kadm5_c_get_cred_cache(krb5_context context,
krb5_set_error_string(context, "Unable to find local user name");
return KADM5_FAILURE;
}
ret = krb5_make_principal(context, &client,
ret = krb5_make_principal(context, &default_client,
NULL, user, "admin", NULL);
if(ret)
return ret;