diff options
Diffstat (limited to 'src/lib/kadm5')
-rw-r--r-- | src/lib/kadm5/srv/ChangeLog | 7 | ||||
-rw-r--r-- | src/lib/kadm5/srv/svr_principal.c | 8 |
2 files changed, 12 insertions, 3 deletions
diff --git a/src/lib/kadm5/srv/ChangeLog b/src/lib/kadm5/srv/ChangeLog index 67dbe38..8dff611 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 <tlyu@mit.edu> + + * 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 <marc@mit.edu> * 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 9504556..315d746 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; |