From f1c85fbb0ab9e62b2790647b2681aec4d5fa4585 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Mon, 24 Sep 2012 21:09:17 -0500 Subject: Improve kpropd behavior in iprop mode - Make kpropd in iprop mode fork a child to listen for kprops from the master. The child writes progress and outcome reports to the parent for each kprop. This fixes a race between asking for a full resync and setting up a listener socket for it. - Add runonce (-t) for kpropd do_standalone() too. - Add a new iprop parameter: iprop_resync_timeout. kpropd will keep asking for incremental updates while waiting for a full resync to finish, and will re-request a full resync if kadmind continues to indicate that one is needed after this timeout passes since the previous full resync was requested. - Allow polling intervals less than 10 seconds. [ghudson@mit.edu: split out debug output changes; note polling interval change in commit message] ticket: 7373 --- src/include/k5-int.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/k5-int.h b/src/include/k5-int.h index bf36a177d..14123a648 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -224,6 +224,7 @@ typedef INT64_TYPE krb5_int64; #define KRB5_CONF_IPROP_PORT "iprop_port" #define KRB5_CONF_IPROP_SLAVE_POLL "iprop_slave_poll" #define KRB5_CONF_IPROP_LOGFILE "iprop_logfile" +#define KRB5_CONF_IPROP_RESYNC_TIMEOUT "iprop_resync_timeout" #define KRB5_CONF_K5LOGIN_AUTHORITATIVE "k5login_authoritative" #define KRB5_CONF_K5LOGIN_DIRECTORY "k5login_directory" #define KRB5_CONF_KADMIND_PORT "kadmind_port" -- cgit