[freeipa PR#3049][opened] Fix unnecessary usrmerge assumptions
by tiran
URL: https://github.com/freeipa/freeipa/pull/3049
Author: tiran
Title: #3049: Fix unnecessary usrmerge assumptions
Action: opened
PR body:
"""
Manual backport of PR #3025
On non-usrmerge systems (e.g., Debian), bash, mv, cp, cat, tail,
keyctl, and gzip live in /bin, not /usr/bin.
On usrmerge systems, /bin is a symlink to /usr/bin (or vice versa), so
this has no effect.
Signed-off-by: Robbie Harwood <rharwood(a)redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy(a)redhat.com>
Reviewed-By: Christian Heimes <cheimes(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3049/head:pr3049
git checkout pr3049
5 years
[freeipa PR#3025][opened] Fix unnecessary usrmerge assumptions
by frozencemetery
URL: https://github.com/freeipa/freeipa/pull/3025
Author: frozencemetery
Title: #3025: Fix unnecessary usrmerge assumptions
Action: opened
PR body:
"""
On non-usrmerge systems (e.g., Debian), bash, mv, cp, cat, tail,
keyctl, and gzip live in /bin, not /usr/bin.
On usrmerge systems, /bin is a symlink to /usr/bin (or vice versa), so
this has no effect.
Signed-off-by: Robbie Harwood <rharwood(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3025/head:pr3025
git checkout pr3025
5 years
[freeipa PR#3035][opened] Fix wrong evaluation of attributes in check_repl_update
by flo-renaud
URL: https://github.com/freeipa/freeipa/pull/3035
Author: flo-renaud
Title: #3035: Fix wrong evaluation of attributes in check_repl_update
Action: opened
PR body:
"""
The method check_repl_update in ipaserver/install/replication.py badly
handles the attributes nsds5ReplicaLastUpdateStart and
nsds5ReplicaLastUpdateEnd as it expects them to contain an int.
These attributes are defined as GeneralizedTime
(OID 1.3.6.1.4.1.1466.115.121.1.24, for instance
nsds5ReplicaLastUpdateEnd='20190412122523Z') but older versions of 389-ds can
also return the value 0 for uninitialized values (see 389-ds ticket 47836).
The code must be able to handle the generalized time format or the 0 value.
The fix removes the 'Z' from the GeneralizedTime and converts to an int,
or assigns 0.
Fixes: https://pagure.io/freeipa/issue/7909
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3035/head:pr3035
git checkout pr3035
5 years