+Tue Jan 20 23:06:36 1998 Tom Yu <tlyu@mit.edu>
+
+ * alt_prof.c (kadm5_get_config_params): Add support for Cygnus chpw.
+
+ * admin.h: Add support for Cygnus chpw.
+
Mon Oct 13 10:48:24 1997 Ezra Peisach <epeisach@mit.edu>
* alt_prof.c (kadm5_get_config_params): When KADM5_CONFIG_ENCTYPES
#define KADM5_CONFIG_ADMIN_SERVER 0x010000
#define KADM5_CONFIG_DICT_FILE 0x020000
#define KADM5_CONFIG_MKEY_FROM_KBD 0x040000
-
+#define KADM5_CONFIG_KPASSWD_PORT 0x080000
+
/*
* permission bits
*/
char * realm;
char * profile;
int kadmind_port;
+ int kpasswd_port;
char * admin_server;
}
}
+ /* Get the value for the kpasswd port */
+ if (! (params.mask & KADM5_CONFIG_KPASSWD_PORT)) {
+ hierarchy[2] = "kpasswd_port";
+ if (params_in->mask & KADM5_CONFIG_KPASSWD_PORT) {
+ params.mask |= KADM5_CONFIG_KPASSWD_PORT;
+ params.kpasswd_port = params_in->kpasswd_port;
+ } else if (aprofile &&
+ !krb5_aprof_get_int32(aprofile, hierarchy, TRUE,
+ &ivalue)) {
+ params.kpasswd_port = ivalue;
+ params.mask |= KADM5_CONFIG_KPASSWD_PORT;
+ } else {
+ params.kpasswd_port = DEFAULT_KPASSWD_PORT;
+ params.mask |= KADM5_CONFIG_KPASSWD_PORT;
+ }
+ }
+
/* Get the value for the master key name */
hierarchy[2] = "master_key_name";
if (params_in->mask & KADM5_CONFIG_MKEY_NAME) {