[Freeipa-devel] [freeipa PR#412][opened] Define template version in certmap.conf

flo-renaud freeipa-github-notification at redhat.com
Tue Jan 24 10:19:41 UTC 2017


   URL: https://github.com/freeipa/freeipa/pull/412
Author: flo-renaud
 Title: #412: Define template version in certmap.conf
Action: opened

PR body:
"""
A previous commit (ffb9a09a0d63f7edae2b647b5c1d503d1d4d7a6e) removed the
definition of VERSION 2 in certmap.conf.template.

ipa-server-upgrade tool compares the template version with the version in
certmap.conf. As VERSION is not defined in either file, it concludes that
version = 0 for both and does not make a backup of certmap.conf even though
it prints that it will.

The fix re-defines VERSION in the template and adapts the code because the
template has changed (it is using $ISSUER_DN instead of
CN=Certificate Authority,$SUBJECT_BASE).

The fix also logs an error when a template file is not versioned.

https://fedorahosted.org/freeipa/ticket/6354
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/412/head:pr412
git checkout pr412
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-pr-412.patch
Type: text/x-diff
Size: 2417 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20170124/f987d7c1/attachment.bin>


More information about the Freeipa-devel mailing list