summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorNicolas Williams <nico@cryptonector.com>2012-09-24 21:09:17 -0500
committerGreg Hudson <ghudson@mit.edu>2012-10-05 13:33:18 -0400
commitf1c85fbb0ab9e62b2790647b2681aec4d5fa4585 (patch)
tree22737dc9984a268c2b55c7229190d6e0ff5f27c6 /src/include
parent70a119d4dc7ed7a94cfc32c523352af1d000e1c7 (diff)
downloadkrb5-f1c85fbb0ab9e62b2790647b2681aec4d5fa4585.tar.gz
krb5-f1c85fbb0ab9e62b2790647b2681aec4d5fa4585.tar.xz
krb5-f1c85fbb0ab9e62b2790647b2681aec4d5fa4585.zip
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
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-int.h1
1 files changed, 1 insertions, 0 deletions
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"