[1723] in Kerberos_V5_Development
usage message fixes
daemon@ATHENA.MIT.EDU (Marc Horowitz)
Sun Sep 8 15:52:14 1996
To: tytso@MIT.EDU
Cc: krbcore@MIT.EDU
Date: Sun, 08 Sep 1996 15:52:01 EDT
From: Marc Horowitz <marc@cygnus.com>
The usage messages for add_principal, modify_principal, and
change_password all use -randpass instead of -randkey, which is what
the code and man page use. This could potentially be very confusing
for anybody who uses keytabs.
Please apply this patch for beta7.
Marc
Index: kadmin.c
===================================================================
RCS file: /afs/athena.mit.edu/astaff/project/krbdev/.cvsroot/src/kadmin/cli/kadmin.c,v
retrieving revision 1.30
diff -c -r1.30 kadmin.c
*** kadmin.c 1996/08/23 18:49:49 1.30
--- kadmin.c 1996/09/08 19:48:55
***************
*** 650,656 ****
krb5_free_principal(context, princ);
usage:
fprintf(stderr,
! "usage: change_password [-randpass] [-pw passowrd] "
"principal\n");
return;
}
--- 650,656 ----
krb5_free_principal(context, princ);
usage:
fprintf(stderr,
! "usage: change_password [-randkey] [-pw passowrd] "
"principal\n");
return;
}
***************
*** 820,826 ****
{
fprintf(stderr, "usage: %s [options] principal\n", func);
fprintf(stderr, "\toptions are:\n");
! fprintf(stderr, "\t\t[-expire expdate] [-pwexpire pwexpdate] [-maxlife maxtixlife]\n\t\t[-kvno kvno] [-policy policy] [-randpass] [-pw password]\n\t\t[-maxrenewlife maxrenewlife] [{+|-}attribute]\n");
fprintf(stderr, "\tattributes are:\n");
fprintf(stderr, "%s%s%s",
"\t\tallow_postdated allow_forwardable allow_tgs_req allow_renewable\n",
--- 820,826 ----
{
fprintf(stderr, "usage: %s [options] principal\n", func);
fprintf(stderr, "\toptions are:\n");
! fprintf(stderr, "\t\t[-expire expdate] [-pwexpire pwexpdate] [-maxlife maxtixlife]\n\t\t[-kvno kvno] [-policy policy] [-randkey] [-pw password]\n\t\t[-maxrenewlife maxrenewlife] [{+|-}attribute]\n");
fprintf(stderr, "\tattributes are:\n");
fprintf(stderr, "%s%s%s",
"\t\tallow_postdated allow_forwardable allow_tgs_req allow_renewable\n",