use krb5_make_principal instead of krb5_425_conv_principal, since they

will mostly do the same thing....

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25047 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-04-03 04:05:04 +00:00
parent 6adab55480
commit 1888913797

View File

@@ -167,8 +167,9 @@ get_cred(struct kafs_data *data, const char *name, const char *inst,
struct krb5_kafs_data *d = data->data;
memset(&in_creds, 0, sizeof(in_creds));
ret = krb5_425_conv_principal(d->context, name, inst, realm,
&in_creds.server);
ret = krb5_make_principal(context, &in_creds.server,
realm, name, instance, NULL);
if(ret)
return ret;
ret = krb5_cc_get_principal(d->context, d->id, &in_creds.client);