diff options
author | Tom Yu <tlyu@mit.edu> | 1998-11-17 23:21:40 +0000 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 1998-11-17 23:21:40 +0000 |
commit | 285fc88c677ab17f1d0a9a602665a5e77fc7e4f2 (patch) | |
tree | bc353026dcc7dbf0657806aed5114cb8ff8da16b /src | |
parent | 5052f96549075517a28a7dcc350c7965ad44d523 (diff) | |
download | krb5-285fc88c677ab17f1d0a9a602665a5e77fc7e4f2.tar.gz krb5-285fc88c677ab17f1d0a9a602665a5e77fc7e4f2.tar.xz krb5-285fc88c677ab17f1d0a9a602665a5e77fc7e4f2.zip |
* 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
Diffstat (limited to 'src')
-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 67dbe38429..8dff61102e 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 9504556ffb..315d74613e 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; |