]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix compatibility with pre-1.11 iprop dump files 298/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 17 Jul 2015 17:03:35 +0000 (13:03 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 20 Jul 2015 15:29:56 +0000 (11:29 -0400)
commit3c9ab5220bcc3f57641f6f4b6942b17aadb6613d
tree72592ae2ec9d319026c2b46c2e1efe5687e56565
parent7fd55f171e4f0bdcdfe70a912dfa6b6be92b1479
Fix compatibility with pre-1.11 iprop dump files

Ticket #7223 added new policy fields and a new dump format version to
marshal them, but did not add a new iprop dump format version.  As a
result, slave KDCs running 1.11 or later cannot receive full resyncs
from master KDCs running 1.10 or earlier.  (Reported by John
Devitofranceschi.)

Retroactively add support for pre-1.11 policy entries by making
process_r1_11_policy() read the first ten fields, check whether the
next whitespace character is a newline, and then read the rest if it
is not.

ticket: 8213
target_version: 1.13.3
src/kadmin/dbutil/dump.c
src/tests/t_dump.py