URL:
https://github.com/freeipa/freeipa/pull/4908
Author: vashirov
Title: #4908: Support changelog integrated into main database
Action: opened
PR body:
"""
389-ds will integrate changelog into main database:
https://pagure.io/389-ds-base/issue/49562
http://www.port389.org/docs/389ds/design/integrate-changelog-database-and...
It also changes the location of the configuration from a single entry
`cn=changelog5,cn=config` to an entry for each backend in
`cn=changelog,<backend>,cn=ldbm database,cn=plugins,cn=config`
This breaks IPA in a few places, in particular:
* `setup_changelog()`
Here the expected failure is err=68, it would be trivial to add err=53.
A better way would be to reuse lib389 for setting up changelog,
not sure how much refactoring that would involve.
* `update_unhashed_password()`
Since the entry no longer exists, log message would be affected.
* `update scripts`
nsslapd-changelogmaxage now needs to be set for each backend.
This fix updates the locations of a new changelog.
Related:
https://pagure.io/freeipa/issue/8407
Signed-off-by: Viktor Ashirov <vashirov(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4908/head:pr4908
git checkout pr4908