From 833e52da0d52e6b11c4bf148bf72a22c4311fb3e Mon Sep 17 00:00:00 2001 From: Mark Eichin Date: Wed, 16 Nov 1994 05:00:06 +0000 Subject: [PATCH] * kdb5_convert.c (enter_in_v5_db): use the correct instance for the mod_name field. This makes the modifier field actually have a valid name in it, which makes it (1) useful (2) easier to turn back into a v4 field... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4662 dc483132-0cff-0310-8789-dd5450dbe970 --- src/admin/convert/ChangeLog | 5 +++++ src/admin/convert/kdb5_convert.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/admin/convert/ChangeLog b/src/admin/convert/ChangeLog index 5c4bf2ee2..eaa101001 100644 --- a/src/admin/convert/ChangeLog +++ b/src/admin/convert/ChangeLog @@ -1,3 +1,8 @@ +Tue Nov 15 23:55:56 1994 Mark Eichin (eichin@cygnus.com) + + * kdb5_convert.c (enter_in_v5_db): use the correct instance for + the mod_name field. + Mon Oct 3 19:12:02 1994 Theodore Y. Ts'o (tytso@dcl) * Makefile.in: Use $(srcdir) to find manual page for make install. diff --git a/src/admin/convert/kdb5_convert.c b/src/admin/convert/kdb5_convert.c index 17dd38622..c5caeba0f 100644 --- a/src/admin/convert/kdb5_convert.c +++ b/src/admin/convert/kdb5_convert.c @@ -509,7 +509,7 @@ Principal *princ; if (retval = krb5_build_principal(&entry.mod_name, strlen(realm), realm, princ->mod_name, - princ->mod_instance[0] ? princ->instance : 0, + princ->mod_instance[0] ? princ->mod_instance : 0, 0)) { krb5_free_principal(entry.principal); return retval; -- 2.26.2