+Mon Oct 21 17:20:32 1996 Barry Jaspan <bjaspan@mit.edu>
+
+ * admin_server.c: use params.admin_keytab instead of a hard-coded
+ value [krb5-admin/30]
+
Thu Sep 26 17:54:33 1996 Barry Jaspan <bjaspan@mit.edu>
* admin_server.c (process_client): allow keytab to be specified on
char prog[32]; /* WHY IS THIS NEEDED??????? */
char *progname = prog;
char *acldir = DEFAULT_ACL_DIR;
-#ifdef OVSEC_KADM
-char *keytab = "FILE:/krb5/ovsec_adm.srvtab";
-#else
-char *keytab = NULL;
-#endif
char krbrlm[REALM_SZ];
extern Kadm_Server server_parm;
krb5_context kadm_context;
(void) strncpy(krbrlm, optarg, sizeof(krbrlm) - 1);
break;
case 'k':
- keytab = optarg;
+#ifdef OVSEC_KADM
+ params.admin_keytab = optarg;
+ params.mask |= KADM5_CONFIG_ADMIN_KEYTAB;
+#endif
break;
case 'h': /* get help on using admin_server */
default:
server_parm.sinst, server_parm.krbrlm);
retval = ovsec_kadm_init_with_skey(service_name,
- keytab,
+ params.admin_keytab,
OVSEC_KADM_ADMIN_SERVICE, krbrlm,
OVSEC_KADM_STRUCT_VERSION,
OVSEC_KADM_API_VERSION_1,