* kpasswd.c (kpasswd): call ovsec_kadm_init with
authorTom Yu <tlyu@mit.edu>
Tue, 6 Aug 1996 15:36:50 +0000 (15:36 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 6 Aug 1996 15:36:50 +0000 (15:36 +0000)
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
src/kadmin/passwd/kpasswd.c

index d0f4cbafca18391c86401f779738ec77c0fcacd8..a19d1940bed7ca9ef5fb0b1480857997a86e1fee 100644 (file)
@@ -1,3 +1,9 @@
+Tue Aug  6 11:35:45 1996  Tom Yu  <tlyu@voltage-multiplier.mit.edu>
+
+       * 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  <marc@mit.edu>
 
        * tty_kpasswd.c: main returns int, not void
index f87ad1cb0075e16bd8c29c56dcdc39719caef693..e425280b6487ac1fe7fc77fd75aee22649e91b11 100644 (file)
@@ -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,