From dc3b68906b5f12d7379082777dd5d30b251b6fc9 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 1 Jul 1997 06:34:18 +0000 Subject: [PATCH] * server_acl.h: Fix ACL_ALL_MASK to include ACL_SETKEY * svr_principal.c: Fix setv4key_principal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10108 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/srv/ChangeLog | 6 ++++++ src/lib/kadm5/srv/server_acl.h | 3 ++- src/lib/kadm5/srv/svr_principal.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/lib/kadm5/srv/ChangeLog b/src/lib/kadm5/srv/ChangeLog index 248179e6a..238fc8fcb 100644 --- a/src/lib/kadm5/srv/ChangeLog +++ b/src/lib/kadm5/srv/ChangeLog @@ -1,3 +1,9 @@ +Tue Jul 1 02:32:49 1997 Tom Yu + + * server_acl.h: Fix ACL_ALL_MASK to include ACL_SETKEY. + + * svr_principal.c: Fix setv4key_principal. + Sun Jun 29 14:52:51 1997 Tom Yu * svr_principal.c: Add new function kadm5_setv4key_principal. diff --git a/src/lib/kadm5/srv/server_acl.h b/src/lib/kadm5/srv/server_acl.h index 4323d6319..d7118fa7c 100644 --- a/src/lib/kadm5/srv/server_acl.h +++ b/src/lib/kadm5/srv/server_acl.h @@ -64,7 +64,8 @@ ACL_MODIFY | \ ACL_CHANGEPW | \ ACL_INQUIRE | \ - ACL_LIST) + ACL_LIST | \ + ACL_SETKEY) krb5_error_code acl_init KRB5_PROTOTYPE((krb5_context, diff --git a/src/lib/kadm5/srv/svr_principal.c b/src/lib/kadm5/srv/svr_principal.c index a9d5ba35b..ee45723a4 100644 --- a/src/lib/kadm5/srv/svr_principal.c +++ b/src/lib/kadm5/srv/svr_principal.c @@ -1319,7 +1319,7 @@ kadm5_setv4key_principal(void *server_handle, &master_encblock, keyblock, &keysalt, kvno + 1, - &kdb.key_data[i])) { + kdb.key_data)) { goto done; } -- 2.26.2