[Heimdal-source-changes] [heimdal/heimdal] 56b67a: start-realm: don't write NUL

GitHub noreply at github.com
Ons May 20 17:08:08 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 56b67ac2eb7f88946d6547eec78dcd9c71749a5f
      https://github.com/heimdal/heimdal/commit/56b67ac2eb7f88946d6547eec78dcd9c71749a5f
  Author: Nicolas Williams <nico at cryptonector.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M lib/krb5/cache.c

  Log Message:
  -----------
  start-realm: don't write NUL


  Commit: 854aaab182d3da84ab7f5fb087be5745e8e6b593
      https://github.com/heimdal/heimdal/commit/854aaab182d3da84ab7f5fb087be5745e8e6b593
  Author: Nicolas Williams <nico at cryptonector.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M lib/kadm5/ipropd_master.c

  Log Message:
  -----------
  iprop master: Don't ignore flock() result


  Commit: 409501e5e4cea3005bba8b61a1928145cb4bcd43
      https://github.com/heimdal/heimdal/commit/409501e5e4cea3005bba8b61a1928145cb4bcd43
  Author: Nicolas Williams <nico at cryptonector.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M lib/kadm5/ipropd_master.c

  Log Message:
  -----------
  Tolerate some time-travel by slaves


  Commit: 4158ddbc25df465e992e4e3b9ee68235d0390bb5
      https://github.com/heimdal/heimdal/commit/4158ddbc25df465e992e4e3b9ee68235d0390bb5
  Author: Nicolas Williams <nico at cryptonector.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M lib/kadm5/ipropd_slave.c

  Log Message:
  -----------
  Fix HDB rename/close order in iprop slave


  Commit: 05a919b94b42c8264f5a38aea860f66c1b16481d
      https://github.com/heimdal/heimdal/commit/05a919b94b42c8264f5a38aea860f66c1b16481d
  Author: Nicolas Williams <nico at cryptonector.com>
  Date:   2015-05-20 (Wed, 20 May 2015)

  Changed paths:
    M lib/kadm5/ipropd_slave.c
    M tests/kdc/Makefile.am
    M tests/kdc/check-iprop.in

  Log Message:
  -----------
  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.


Compare: https://github.com/heimdal/heimdal/compare/26c7affa70e9...05a919b94b42


More information about the Heimdal-source-changes mailing list