* svr_principal.c (kadm5_create_principal):
authorTom Yu <tlyu@mit.edu>
Tue, 17 Nov 1998 23:21:40 +0000 (23:21 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 17 Nov 1998 23:21:40 +0000 (23:21 +0000)
(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

src/lib/kadm5/srv/ChangeLog
src/lib/kadm5/srv/svr_principal.c

index 67dbe38429d7aa42de278bd238b3d1285daabce5..8dff61102e0f62a49580d2dd951181991de16fa4 100644 (file)
@@ -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
index 9504556ffbbf24d431cf388c01d71a627578aed3..315d74613e5a317d411f4c972adb5869bdd547f6 100644 (file)
@@ -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;