From: Tom Yu Date: Tue, 17 Nov 1998 23:21:40 +0000 (+0000) Subject: * svr_principal.c (kadm5_create_principal): X-Git-Tag: krb5-1.1-beta1~471 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=285fc88c677ab17f1d0a9a602665a5e77fc7e4f2;p=krb5.git * svr_principal.c (kadm5_create_principal): (kadm5_chpass_principal): (kadm5_randkey_principal): Fix up for new calling conventions of dbe_crk and dbe_cpw. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11046 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/kadm5/srv/ChangeLog b/src/lib/kadm5/srv/ChangeLog index 67dbe3842..8dff61102 100644 --- a/src/lib/kadm5/srv/ChangeLog +++ b/src/lib/kadm5/srv/ChangeLog @@ -1,3 +1,10 @@ +Tue Nov 17 18:20:48 1998 Tom Yu + + * svr_principal.c (kadm5_create_principal): + (kadm5_chpass_principal): + (kadm5_randkey_principal): Fix up for new calling conventions of + dbe_crk and dbe_cpw. + 1998-10-27 Marc Horowitz * server_kdb.c, svr_principal.c: convert to new crypto api diff --git a/src/lib/kadm5/srv/svr_principal.c b/src/lib/kadm5/srv/svr_principal.c index 9504556ff..315d74613 100644 --- a/src/lib/kadm5/srv/svr_principal.c +++ b/src/lib/kadm5/srv/svr_principal.c @@ -238,7 +238,8 @@ kadm5_create_principal(void *server_handle, handle->params.keysalts, handle->params.num_keysalts, password, - (mask & KADM5_KVNO)?entry->kvno:1, &kdb)) { + (mask & KADM5_KVNO)?entry->kvno:1, + FALSE, &kdb)) { krb5_dbe_free_contents(handle->context, &kdb); if (mask & KADM5_POLICY) (void) kadm5_free_policy_ent(handle->lhandle, &polent); @@ -1053,7 +1054,8 @@ kadm5_chpass_principal(void *server_handle, if (ret = krb5_dbe_cpw(handle->context, &master_keyblock, handle->params.keysalts, handle->params.num_keysalts, - password, 0 /* increment kvno */, &kdb)) + password, 0 /* increment kvno */, + FALSE, &kdb)) goto done; kdb.attributes &= ~KRB5_KDB_REQUIRES_PWCHANGE; @@ -1171,7 +1173,7 @@ kadm5_randkey_principal(void *server_handle, if (ret = krb5_dbe_crk(handle->context, &master_keyblock, handle->params.keysalts, - handle->params.num_keysalts, + handle->params.num_keysalts, FALSE, &kdb)) goto done;