+Wed Jul 8 01:32:52 1998 Theodore Y. Ts'o <tytso@mit.edu>
+
+ * kadm_ser_wrap.c (kadm_ser_init): Use krb5_425_conv_principal
+ instead of krb5_build_principal to create the changepw
+ sprinc principal.
+
Fri Jul 3 18:17:48 1998 Theodore Y. Ts'o <tytso@mit.edu>
* Makefile.in (build_pwfile): Add rule to build the build_pwfile
(void) strcpy(server_parm.sname, PWSERV_NAME);
(void) strcpy(server_parm.sinst, KRB_MASTER);
(void) strcpy(server_parm.krbrlm, realm);
- if (krb5_build_principal(kadm_context,
- &server_parm.sprinc,
- strlen(realm),
- realm,
- PWSERV_NAME,
- KRB_MASTER, 0))
+ if (krb5_425_conv_principal(kadm_context, server_parm.sname,
+ server_parm.sinst, server_parm.krbrlm,
+ &server_parm.sprinc))
return KADM_NO_MAST;
server_parm.admin_fd = -1;
/* setting up the addrs */