iprop slave: try incremental after complete xfer
commit05a919b94b42c8264f5a38aea860f66c1b16481d
authorNicolas Williams <nico@cryptonector.com>
Tue, 19 May 2015 05:27:30 +0000 (19 00:27 -0500)
committerNicolas Williams <nico@cryptonector.com>
Wed, 20 May 2015 15:07:52 +0000 (20 10:07 -0500)
treefa01b023fe0b086964e86aa48f2adf9cbea2f389
parent4158ddbc25df465e992e4e3b9ee68235d0390bb5
iprop slave: try incremental after complete xfer

The following sequence of events results in slave B having a stale HDB:

 - slave A connects to master, master dumps HDB for the slave
 - kadm5 operations
 - slave B connects to master, master sends previously dumped HDB

slave B won't discover any updates until the next transaction.

The fix is simple: the slave should immediately call ihave() after
receiving a complete HDB.
lib/kadm5/ipropd_slave.c
tests/kdc/Makefile.am
tests/kdc/check-iprop.in