Commit Graph
17440 Commits
Author SHA1 Message Date
Timo Aaltonen 2311af0ddf tests: Add ssl-cert to depends. 2019-09-09 14:20:33 +03:00
Timo Aaltonen cebc309bed control: Add python3-pki-base to python3-ipaserver depends. 2019-09-09 00:46:13 +03:00
Timo Aaltonen c5a8d7ce4e {server,client}.postinst: Migrate checks to python3. 2019-09-08 23:58:20 +03:00
Timo Aaltonen 1d34124924 releasing package freeipa version 4.8.1-1 debian/4.8.1-1 2019-09-08 00:19:28 +03:00
Timo Aaltonen afb0d06966 4.8.0-1 wasn't actually released 2019-09-07 23:51:24 +03:00
Timo Aaltonen ad6b9125ea bump the version 2019-09-07 23:25:39 +03:00
Timo Aaltonen aefaae8cf4 Merge tag 'release-4-8-1' into master-next
tagging FreeIPA 4.8.1
2019-09-07 23:16:50 +03:00
Alexander Bokovoy 828fdc0ed6 Become FreeIPA 4.8.1 2019-08-14 18:32:45 +03:00
Florence Blanc-Renaud 179e0406b9 Nightly test definition: add missing tests
The following test was missing from all nightlies:
- test_integration/test_crlgen_manage.py

The following tests was missing from nightly_f29:
- test_integration/test_smb.py

The following test was missing from nightly_rawhide:
- test_integration/test_smb.py

Note: nightly_f28 not updated as we stopped testing on f28.
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2019-08-14 18:14:01 +03:00
Alexander Bokovoy 96ac8920a5 Update translation and code contributors for FreeIPA 4.8.1
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-08-14 14:18:58 +03:00
Alexander Bokovoy 89f99eba56 Switch ipa-4-8 branch to track Zanata ipa-4-8 branch
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-08-14 14:18:58 +03:00
Alexander Bokovoy 47e2152b79 Update translations for FreeIPA 4.8 branch
When releasing FreeIPA 4.8.0, I forgot to create ipa-4-8 branch in
Zanata. As result, we were tracking changes for master branch in the
released one. Fix this and bring translations from Ukrainian team that
happened since 4.8.0 release.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-08-14 14:18:58 +03:00
Alexander Bokovoy e7762aefc1 Add Theodor van Nahl to the Contributors.txt
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2019-08-13 15:08:55 -04:00
Alexander Bokovoy 9d751dc11a Update translations for FreeIPA 4.8.1
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2019-08-13 15:08:55 -04:00
Christian Heimes 8e207fd33d Allow insecure binds for migration
Commit 5be9341fba disallowed simple bind
over an insecure connection. Password logins were only allowed over LDAPS
or LDAP+STARTTLS. The restriction broke 'ipa migrate-ds' in some cases.

This commit lifts the restriction and permits insecure binds over plain
LDAP. It also makes the migrate-ds plugin use STARTTLS when a CA
certificate is configured with a plain LDAP connection.

Fixes: https://pagure.io/freeipa/issue/8040
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Thomas Woerner <twoerner@redhat.com>
2019-08-13 20:58:26 +02:00
Christian Heimes f6c2a9de8c Don't move keys when key backup is disabled
The CA_BACKUP_KEYS_P12 file is not enabled when pki_backup_keys is
set to False. It's the case when FreeIPA is configured with HSM support.

Related: https://pagure.io/freeipa/issue/7677
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
2019-08-13 12:34:10 +02:00
Timo Aaltonen 27586cb7ae install: Add missing scripts to app_DATA.
Signed-off-by: Timo Aaltonen <tjaalton@debian.org>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-08-11 12:52:56 +03:00
Timo Aaltonen 0fa203472b releasing package freeipa version 4.8.0-1 2019-08-10 00:53:54 +03:00
Alexander Bokovoy fd0386f08e Restore SELinux context for p11-kit config overrides
When 74e09087 started disabling softshm2 module in p11-kit-proxy,
we missed to restore SELinux context on the configuration override
creation.

We don't need an explicit restore_context() when removing the override
because restore_file() already calls restore_context().

Related: https://pagure.io/freeipa/issue/7810
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2019-08-09 17:49:17 -04:00
Timo Aaltonen 20e4d418fd d/pydist-overrides: Updated. 2019-08-09 00:28:22 +03:00
Timo Aaltonen 57b52fe3f0 tests: enable tests 2019-08-09 00:22:25 +03:00
Timo Aaltonen 00d2cdb9fa samba client fixes 2019-08-09 00:21:22 +03:00
Timo Aaltonen 50e4687b84 rules: fix interpreter for python3 2019-08-09 00:19:40 +03:00
Timo Aaltonen fb05db5b46 update python3-ipaserver.install 2019-08-09 00:15:25 +03:00
Timo Aaltonen 33d54dda10 control, install: Add freeipa-client-samba. 2019-08-09 00:09:13 +03:00
Timo Aaltonen b8362503b1 install: Updated. 2019-08-08 23:59:27 +03:00
Timo Aaltonen 9885524654 d/s/local-options: Updated. 2019-08-08 23:38:07 +03:00
Timo Aaltonen 6130f1903c Migrate to python3. 2019-08-08 23:37:45 +03:00
Timo Aaltonen 4bd4837d23 Bump debhelper compat to 12. 2019-08-08 20:50:55 +03:00
Timo Aaltonen d08213f981 control: Bump policy to 4.4.0. 2019-08-08 20:50:28 +03:00
Timo Aaltonen 3db7d8468d bump the version 2019-08-08 20:48:17 +03:00
Timo Aaltonen b92d82ef01 Merge branch 'master-next' into m 2019-08-08 20:47:42 +03:00
Timo Aaltonen ac0bce618d Merge commit '1f46bb1d81f3bfa' into m 2019-08-08 20:47:33 +03:00
Timo Aaltonen 79e7ca43a9 Merge branch 'master' into master-next 2019-08-08 20:45:51 +03:00
Christian Heimes b0f7e6512c Update comments to explain caSubsystemCert switch
Related: https://bugzilla.redhat.com/1670239
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
2019-08-08 12:51:27 +02:00
Alexander Bokovoy a0996ca3d3 Change RA agent certificate profile to caSubsystemCert
Currently, RA agent certificate is issued using caServerCert profile.
This has unfortunate side effect of asserting id-pk-serverAuth EKU which
is not really needed for RA agent. If IPA CA certificate adds SAN DNS
constraints into issued certificates, presence of id-pk-serverAuth EKU
forces NSS (and other crypto libraries) to validate CN value with
regards to SAN DNS constraints, due to historical use of CN bearing DNS
name.

Since RA agent certificate has 'CN=IPA RA', it is guaranteed to fail
the check.

Default IPA CA configuration does *not* add SAN DNS constraints into RA
agent certificate. However, it is better to be prepared to such
behavior.

Related: https://bugzilla.redhat.com/1670239
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
2019-08-08 12:51:27 +02:00
Christian Heimes 86fe7100e8 Test external CA with DNS name constraints
Verify that FreeIPA can be installed with an external CA that has a name
constraints extension.

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com>
2019-08-08 06:45:39 +02:00
Christian Hermann 6bef8678f6 configure.ac: don't rely on bashisms
93fb037d84 introduced unportable shell
syntax, which led to erros like
./configure: 3179: ./configure: CFLAGS+= -D__STDC_WANT_LIB_EXT1__=1: not found
in case a posix shell is used.

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-08-07 13:02:13 +02:00
Rob Crittenden e539a29d77 Don't return SSH keys with ipa host-find --pkey-only
This was introduced in 14ee02dcbd

https://pagure.io/freeipa/issue/8029

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-08-07 11:46:36 +02:00
Theodor van Nahl 3d0e3fb987 Fix UnboundLocalError in ipa-replica-manage on errors
If ipa-replica-manage is unable to retrieve e.g. due to certificate
validity problem. An UnboundLocalError is thrown for `type1`. This fixes
the issue with a clean exit.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2019-08-06 12:43:40 +02:00
François Cami f4bbe0008c azure-pipelines.yml: switch to Python 3.7
* switch to Python 3.7 (UsePythonVersion@0 task)
* use "pip install --user"

Fixes: https://pagure.io/freeipa/issue/8030
Signed-off-by: François Cami <fcami@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-08-02 23:30:05 +02:00
Armando Neto d1457fb68b travis: update container used for testing ipa-4-8 branch
Based on the new Dockerfile included in
https://github.com/freeipa/ipa-docker-test-runner/commit/809dde3cd5b04bf9306f3be0ef459d503288b02b

Signed-off-by: Armando Neto <abiagion@redhat.com>
Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2019-08-01 11:44:29 -03:00
Tibor Dudlák 744b820e01 Increase ntp_options test timeout
Reviewed-By: Michal Polovka <mpolovka@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2019-07-31 15:20:26 +02:00
Tibor Dudlák 708528e13a ipatests: refactor TestNTPoptions
Move common and error messages to class scope to be reused again.

Reviewed-By: Michal Polovka <mpolovka@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2019-07-31 15:20:26 +02:00
Tibor Dudlák 1c6efcd9fd ipatests: Add tests for interactive chronyd config
Add interactive configuration tests for
ipa-server-install and ipa-client-install
FreeIPA server as it is now is unable to
configure NTP interactively for replica
installations.

Resolves: https://pagure.io/freeipa/issue/7908
Reviewed-By: Michal Polovka <mpolovka@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2019-07-31 15:20:26 +02:00
Tibor Dudlák cbb4b65c84 ipatests: Update test tasks for client to be interactive
Related: https://pagure.io/freeipa/issue/7908
Reviewed-By: Michal Polovka <mpolovka@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
2019-07-31 15:20:26 +02:00
François Cami 1ad3bf4832 test_nfs.py: switch to master_3repl
test_nfs.py historically used master_2repl_1client.
Now that master_3client exists, switch to that as it allows removal
of custom install/cleanup steps.

Fixes: https://pagure.io/freeipa/issue/8027
Signed-off-by: François Cami <fcami@redhat.com>
Reviewed-By: Sergey Orlov <sorlov@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-07-31 14:16:40 +02:00
François Cami 0fdfce5249 ipatests: rename config_replica_resolvconf_with_master_data()
config_replica_resolvconf_with_master_data() is not replica specific.
Rename to config_host_resolvconf_with_master_data() as it is not tied
to any role (master, replica, client).

Signed-off-by: François Cami <fcami@redhat.com>
Reviewed-By: Sergey Orlov <sorlov@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-07-31 14:16:40 +02:00
François Cami 68f98e29d3 test_nfs.py: switch to tasks.config_replica_resolvconf_with_master_data()
Previously test_nfs.py would implement its own method to configure
resolv.conf leading to cleanup failures in some cases.
Use tasks.config_replica_resolvconf_with_master_data() instead.
Also simplify and fix client uninstall.

Fixes: https://pagure.io/freeipa/issue/7949
Signed-off-by: François Cami <fcami@redhat.com>
Reviewed-By: Sergey Orlov <sorlov@redhat.com>
Reviewed-By: Rob Crittenden <rcritten@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2019-07-31 14:16:40 +02:00
François Cami 0231d8735f prci_definitions: add master_3client topology
Some tests would benefit from using a multi-client topology.
As PR-CI now supports master_3client, use it.

Fixes: https://pagure.io/freeipa/issue/8026
Signed-off-by: François Cami <fcami@redhat.com>
Reviewed-By: Armando Neto <abiagion@redhat.com>
Reviewed-By: Armando Neto <abiagion@redhat.com>
2019-07-31 12:10:32 +02:00