+Sat Jul 18 22:10:29 1998 Geoffrey King <gjking@mit.edu>
+
+ * krb524d.c (main): Remove the variable use_other_realm.
+ It is not actually necessary for the new -r realm code.
+
Fri Jul 17 04:11:47 1998 Geoffrey King <gjking@mit.edu>
* krb524d.c (main): Accept a -r command line option to specify
static int debug = 0;
void *handle;
-int use_keytab, use_master, use_other_realm;
+int use_keytab, use_master;
char *keytab = NULL;
krb5_keytab kt;
whoami = ((whoami = strrchr(argv[0], '/')) ? whoami + 1 : argv[0]);
argv++; argc--;
- use_master = use_keytab = use_other_realm = 0;
+ use_master = use_keytab = 0;
config_params.mask = 0;
while (argc) {
else if (strncmp(*argv, "-m", 2) == 0)
use_master = 1;
else if (strcmp(*argv, "-r") == 0) {
- use_other_realm = 1;
argv++; argc--;
if (argc == 0 || !use_master)
usage(context);
argv++; argc--;
}
if (argc || use_keytab + use_master > 1 ||
- use_keytab + use_other_realm > 1 ||
use_keytab + use_master == 0) {
- use_keytab = use_master = use_other_realm = 0;
+ use_keytab = use_master = 0;
usage(context);
}