names to V5 principal names.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2320
dc483132-0cff-0310-8789-
dd5450dbe970
printf("\nignoring '%s.%s' ...", princ->name, princ->instance);
return 0;
}
- if (retval = krb5_build_principal(&entry.principal, strlen(realm),
- realm, princ->name,
- princ->instance[0] ? princ->instance : 0,
- 0))
+ if (retval = krb5_425_conv_principal(princ->name, princ->instance,
+ realm, &entry.principal))
return retval;
if (verbose) {
if (retval = krb5_unparse_name(entry.principal, &name))