From: Theodore Tso Date: Tue, 18 Aug 1992 23:07:31 +0000 (+0000) Subject: Changed to use the krb5_425_conv_principal() function to map V4 principal X-Git-Tag: krb5-1.0-beta2~142 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d5be3432c3923886233f8648e3df738ed20ca628;p=krb5.git Changed to use the krb5_425_conv_principal() function to map V4 principal names to V5 principal names. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2320 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/admin/convert/kdb5_convert.c b/src/admin/convert/kdb5_convert.c index 460ebae67..21bc50e79 100644 --- a/src/admin/convert/kdb5_convert.c +++ b/src/admin/convert/kdb5_convert.c @@ -499,10 +499,8 @@ Principal *princ; 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))