AUTH_GSSAPI.
* kadmin.M: Describe "-O" and "-N" flags.
ticket: 2913
tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17101
dc483132-0cff-0310-8789-
dd5450dbe970
+2005-02-11 Tom Yu <tlyu@mit.edu>
+
+ * kadmin.c (kadmin_startup): New flag "-N" to prevent fallback to
+ AUTH_GSSAPI.
+
+ * kadmin.M: Describe "-O" and "-N" flags.
+
2004-09-17 Tom Yu <tlyu@mit.edu>
* Makefile.in (install): Use $(INSTALL_SCRIPT) for scripts.
.TP
.B kadmin
.ad l
+[\fB\-O\fP | \fB\-N\fP]
[\fB\-r\fP \fIrealm\fP] [\fB\-p\fP \fIprincipal\fP] [\fB\-q\fP \fIquery\fP]
.br
[[\fB-c\fP \fIcache_name\fP] | [\fB-k\fP [\fB-t\fP
\fB\-e\fP \fIenc:salt_list\fP
Sets the list of encryption types and salt types to be used for any new
keys created.
-
+.TP
+.B \-O
+Force use of old AUTH_GSSAPI authentication flavor.
+.TP
+.B \-N
+Prevent fallback to AUTH_GSSAPI authentication flavor.
.SH DATE FORMAT
Various commands in kadmin can take a variety of date formats,
specifying durations or absolute times. Examples of valid formats are:
exit(1);
}
- while ((optchar = getopt(argc, argv, "r:p:kq:w:d:s:mc:t:e:O")) != EOF) {
+ while ((optchar = getopt(argc, argv, "r:p:kq:w:d:s:mc:t:e:ON")) != EOF) {
switch (optchar) {
case 'r':
def_realm = optarg;
case 'O':
params.mask |= KADM5_CONFIG_OLD_AUTH_GSSAPI;
break;
+ case 'N':
+ params.mask |= KADM5_CONFIG_AUTH_NOFALLBACK;
+ break;
default:
usage();
}