From 9e98ee39b9997d176afaf175699f34b72649f113 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Tue, 6 Aug 1996 15:36:50 +0000 Subject: [PATCH] * kpasswd.c (kpasswd): call ovsec_kadm_init with KADM5_CHANGEPW_SERVICE so that ovsec principals don't need to exist in the db. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8911 dc483132-0cff-0310-8789-dd5450dbe970 --- src/kadmin/passwd/ChangeLog | 6 ++++++ src/kadmin/passwd/kpasswd.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/kadmin/passwd/ChangeLog b/src/kadmin/passwd/ChangeLog index d0f4cbafc..a19d1940b 100644 --- a/src/kadmin/passwd/ChangeLog +++ b/src/kadmin/passwd/ChangeLog @@ -1,3 +1,9 @@ +Tue Aug 6 11:35:45 1996 Tom Yu + + * kpasswd.c (kpasswd): call ovsec_kadm_init with + KADM5_CHANGEPW_SERVICE so that ovsec principals don't need + to exist in the db. + Mon Jul 22 04:07:02 1996 Marc Horowitz * tty_kpasswd.c: main returns int, not void diff --git a/src/kadmin/passwd/kpasswd.c b/src/kadmin/passwd/kpasswd.c index f87ad1cb0..e425280b6 100644 --- a/src/kadmin/passwd/kpasswd.c +++ b/src/kadmin/passwd/kpasswd.c @@ -182,7 +182,7 @@ kpasswd(context, argc, argv) strncat(admin_realm, krb5_princ_realm(context, princ)->data, krb5_princ_realm(context, princ)->length); - code = ovsec_kadm_init(princ_str, password, OVSEC_KADM_CHANGEPW_SERVICE, + code = ovsec_kadm_init(princ_str, password, KADM5_CHANGEPW_SERVICE, admin_realm /* we probably should take a -r */ /* someday */, OVSEC_KADM_STRUCT_VERSION, -- 2.26.2