[freeipa PR#1844][opened] Fixing TestBackupAndRestore
by felipevolpone
URL: https://github.com/freeipa/freeipa/pull/1844
Author: felipevolpone
Title: #1844: Fixing TestBackupAndRestore
Action: opened
PR body:
"""
#### Adding GSSPROXY_CONF to be backed up on ipa-backup
Without GSSPROXY_CONF being backed up, we would get this error
"ipa: ERROR: No valid Negotiate header in server response"
when running any ipa command after a ipa backup and restore.
This commit also fixes the tests:
- TestBackupAndRestore::test_full_backup_and_restore
- TesttBackupAndRestore::test_full_backup_and_restore_with_selinux_booleans_off
https://pagure.io/freeipa/issue/7473
#### Fixing TestBackupAndRestore::test_full_backup_and_restore_with_removed_users
The test as it was, was testing the backup and restore based on previous
backups and restore, not with an actual installation.
Now, with a clear setup for each test, the test mentioned above will not
fail to do a lookup (using the host command, in check_dns method) for
the master domain.
---
Once we have an ack, I'll remove the temp commit.
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1844/head:pr1844
git checkout pr1844
6 years
[freeipa PR#1813][opened] csrgen: fix when attribute shortname is lower case
by frasertweedale
URL: https://github.com/freeipa/freeipa/pull/1813
Author: frasertweedale
Title: #1813: csrgen: fix when attribute shortname is lower case
Action: opened
PR body:
"""
OpenSSL requires attribute short names ("CN", "O", etc) to be in upper
case, otherwise it fails to add the attribute. This can be triggered when
FreeIPA has been installed with --subject-base containing a lower-case
attribute shortname (e.g.
--subject-base="o=Red Hat").
Explicitly convert the attribute type string to an OID
(ASN1_OBJECT *). If that fails, upper-case the type string and try again.
Add some tests for the required behaviour.
This PR also fixes a python3 str/bytes issue in the csrgen error handling.
Fixes: https://pagure.io/freeipa/issue/7496
"""
To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/1813/head:pr1813
git checkout pr1813
6 years
[freeipa PR#1851][opened] Create users in server-common pre hook
by tiran
URL: https://github.com/freeipa/freeipa/pull/1851
Author: tiran
Title: #1851: Create users in server-common pre hook
Action: opened
PR body:
"""
The ipaapi user was created in the server package but referenced by a
config file in the server-common package. The server-common package can
be installed without the server package. This caused an error
Unknown user 'ipaapi'
with systemd-tmpfiles --create. The users are now created in the
server-common package.
Signed-off-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/1851/head:pr1851
git checkout pr1851
6 years