+2002-09-18 Ken Raeburn <raeburn@mit.edu>
+
+ * adm.h (struct __krb5_realm_params): New field
+ realm_kdc_tcp_ports.
+
2002-08-29 Ken Raeburn <raeburn@mit.edu>
* Makefile.in: Revert $(S)=>/ change, for Windows support.
char * realm_mkey_name;
char * realm_stash_file;
char * realm_kdc_ports;
+ char * realm_kdc_tcp_ports;
char * realm_acl_file;
krb5_int32 realm_kadmind_port;
krb5_enctype realm_enctype;
+2002-09-18 Ken Raeburn <raeburn@mit.edu>
+
+ * osconf.h (DEFAULT_KDC_UDP_PORTLIST): Renamed from
+ DEFAULT_KDC_PORTLIST.
+ (DEFAULT_KDC_TCP_PORTLIST): New macro.
+
2002-07-03 Alexandra Ellwood <lxs@mit.edu>
* osconf.h (DEFAULT_PROFILE_PATH): Conditionalized for Mac OS X
#define DEFAULT_KPASSWD_PORT 464
#define KPASSWD_PORTNAME "kpasswd"
-#define DEFAULT_KDC_PORTLIST "88,750"
+#define DEFAULT_KDC_UDP_PORTLIST "88,750"
+#define DEFAULT_KDC_TCP_PORTLIST ""
/*
* Defaults for the KADM5 admin system.
2002-09-18 Ken Raeburn <raeburn@mit.edu>
+ * admin.h (struct __krb5_realm_params): New field
+ realm_kdc_tcp_ports.
+ * alt_prof.c (krb5_read_realm_params): Fill it in by looking up
+ "kdc_tcp_ports" in the config file.
+ (krb5_free_realm_params): Free the storage.
+
* logger.c (klog_com_err_proc, krb5_klog_init, krb5_klog_close,
severity2string, klog_vsyslog, krb5_klog_syslog,
krb5_klog_reopen): Always define functions in prototype style.
char * realm_mkey_name;
char * realm_stash_file;
char * realm_kdc_ports;
+ char * realm_kdc_tcp_ports;
char * realm_acl_file;
krb5_int32 realm_kadmind_port;
krb5_enctype realm_enctype;
hierarchy[2] = "kdc_ports";
if (!krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue))
rparams->realm_kdc_ports = svalue;
-
+ hierarchy[2] = "kdc_tcp_ports";
+ if (!krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue))
+ rparams->realm_kdc_tcp_ports = svalue;
+
/* Get the name of the acl file */
hierarchy[2] = "acl_file";
if (!krb5_aprof_get_string(aprofile, hierarchy, TRUE, &svalue))
krb5_xfree(rparams->realm_keysalts);
if (rparams->realm_kdc_ports)
krb5_xfree(rparams->realm_kdc_ports);
+ if (rparams->realm_kdc_tcp_ports)
+ krb5_xfree(rparams->realm_kdc_tcp_ports);
if (rparams->realm_acl_file)
krb5_xfree(rparams->realm_acl_file);
krb5_xfree(rparams);