diff options
-rw-r--r-- | src/kadmin/cli/ChangeLog | 5 | ||||
-rw-r--r-- | src/kadmin/cli/kadmin.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/kadmin/cli/ChangeLog b/src/kadmin/cli/ChangeLog index bd93730..0b8eb91 100644 --- a/src/kadmin/cli/ChangeLog +++ b/src/kadmin/cli/ChangeLog @@ -1,3 +1,8 @@ +2004-06-15 Tom Yu <tlyu@mit.edu> + + * kadmin.c (kadmin_startup): Add option to force old AUTH_GSSAPI + flavor. + 2003-08-26 Ken Raeburn <raeburn@mit.edu> * getdate.y (bcopy): Don't bother with HAVE_BCOPY and HAVE_MEMCPY diff --git a/src/kadmin/cli/kadmin.c b/src/kadmin/cli/kadmin.c index eb5468d..d906821 100644 --- a/src/kadmin/cli/kadmin.c +++ b/src/kadmin/cli/kadmin.c @@ -194,7 +194,7 @@ char *kadmin_startup(argc, argv) exit(1); } - while ((optchar = getopt(argc, argv, "r:p:kq:w:d:s:mc:t:e:")) != EOF) { + while ((optchar = getopt(argc, argv, "r:p:kq:w:d:s:mc:t:e:O")) != EOF) { switch (optchar) { case 'r': def_realm = optarg; @@ -242,6 +242,9 @@ char *kadmin_startup(argc, argv) } params.mask |= KADM5_CONFIG_ENCTYPES; break; + case 'O': + params.mask |= KADM5_CONFIG_OLD_AUTH_GSSAPI; + break; default: usage(); } |