17857 Commits

Author SHA1 Message Date
Timo Aaltonen
6dfca154aa releasing package freeipa version 4.8.6-1 debian/4.8.6-1 2020-04-07 06:28:10 +03:00
Timo Aaltonen
6921f1e045 control: Update bind9-utils, opendnssec dependency. 2020-04-07 06:24:51 +03:00
Timo Aaltonen
5e7610eb9e dnssec-race-wa.diff: Work-around racy dnssec setup, the socket isn't necessarily ready when doing policy import. 2020-04-07 06:02:36 +03:00
Timo Aaltonen
790407a5b4 tasks-fixes.diff: Use enable/disable_ldap_automount from base, parse_ipa_version from redhat.
Add librpm8 to python3-ipalib Depends.
2020-04-07 05:58:54 +03:00
Timo Aaltonen
7cead0334b rules: Don't remove po/ipa.pot on clean. 2020-03-31 07:35:22 +03:00
Timo Aaltonen
c21566638b source: Update diff-ignore. 2020-03-31 07:35:06 +03:00
Timo Aaltonen
db96bf78a7 control: Drop the dummy freeipa-admintools package. 2020-03-31 06:48:50 +03:00
Timo Aaltonen
8d0681fbd3 control: Fix some M-A issues. 2020-03-31 06:39:37 +03:00
Timo Aaltonen
f02b776fe3 control: Bump policy to 4.5.0. 2020-03-31 06:33:20 +03:00
Timo Aaltonen
1440f98e0a control: Relax apache2 dependency so it works on ubuntu. 2020-03-31 06:26:02 +03:00
Timo Aaltonen
6422cb4c13 control: Bump gssproxy depends. 2020-03-30 21:48:43 +03:00
Timo Aaltonen
a4e389325a migrate-to-gpg.diff: Use gpg instead of gpg2, update dependencies. (Closes: #919062) 2020-03-30 18:44:03 +03:00
Timo Aaltonen
80a7dcc80a pki-proxy-Don-t-rely-on-running-apache-until-it-s-co.patch: Dropped, upstream. 2020-03-30 16:40:25 +03:00
Timo Aaltonen
da539a3676 Merge branch 'upstream' 2020-03-30 16:38:40 +03:00
Alexander Bokovoy
75d04b5e0e Become FreeIPA 4.8.6 2020-03-27 09:12:34 +02:00
François Cami
a692212e3b ipatests: test_replica_promotion.py: test KRA on Hidden Replica
The Hidden replica tests did not test what happened when KRA was
installed on a hidden replica and then other KRAs instantiated from
this original one. Add a test scenario that covers this.

Related: https://pagure.io/freeipa/issue/8240
Signed-off-by: François Cami <fcami@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Michal Polovka <mpolovka@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Michal Polovka <mpolovka@redhat.com>
2020-03-26 15:09:16 +01:00
Timo Aaltonen
6eb6b27e61 releasing package freeipa version 4.8.5-1 debian/4.8.5-1 2020-03-25 19:42:43 +02:00
Mohammad Rizwan Yusuf
45507c1e86 ipatests: Skip test using paramiko when FIPS is enabled
Test used paramiko to connect to the master from controller.
Hence skip if FIPS is enabled

Signed-off-by: Mohammad Rizwan Yusuf <myusuf@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 17:17:34 +01:00
Christian Heimes
616ad399c9 po: fix LINGUAS to use whitespace separation
The po/LINGUAS file contains a list of all avilable translations.
According to the GNU gettext documentation it's is a whitespace
separated list. Our LINGUAS file used newline separated list with inline
comments. This conflicts with weblate automation.

Fixes: https://pagure.io/freeipa/issue/8159
See: https://www.gnu.org/software/gettext/manual/html_node/po_002fLINGUAS.html
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2020-03-25 17:16:05 +01:00
Rob Crittenden
b34063e700 Test that pwpolicy only applied on Kerberos entries
Also test that a normal user has password history enforcement

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 14:47:12 +01:00
Rob Crittenden
840671b1cd Add ability to change a user password as the Directory Manager
This is to confirm that the Directory Manager is not affected by
password policy.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 14:47:12 +01:00
Rob Crittenden
8b7bb96b32 Don't save password history on non-Kerberos accounts
While other password policies were properly ignored the password
history was always being saved if the global history size was
non-zero.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 14:47:12 +01:00
Alexander Bokovoy
bcbf64b1bf ipa-pwd-extop: don't check password policy for non-Kerberos account set by DM or a passsync manager
Password changes performed by cn=Directory Manager are excluded from
password policy checks according to [1]. This is correctly handled by
ipa-pwd-extop in case of a normal Kerberos principal in IPA. However,
non-kerberos accounts were not excluded from the check.

As result, password updates for PKI CA admin account in o=ipaca were
failing if a password policy does not allow a password reuse. We are
re-setting the password for PKI CA admin in ipa-replica-prepare in case
the original directory manager's password was updated since creation of
`cacert.p12`.

Do password policy check for non-Kerberos accounts only if it was set by
a regular user or admin. Changes performed by a cn=Directory Manager and
passsync managers should be excluded from the policy check.

Fixes: https://pagure.io/freeipa/issue/7181
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>

[1] https://access.redhat.com/documentation/en-us/red_hat_directory_server/10/html/administration_guide/user_account_management-managing_the_password_policy

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 14:47:12 +01:00
Alexander Bokovoy
5bae736bc8 ipa-pwd-extop: use SLAPI_BIND_TARGET_SDN
SLAPI_BIND_TARGET_DN is deprecated since 2011 by 389-ds team,
see commit f6397113666f06848412bb12f754f04258cfa5fa in 389-ds:
https://pagure.io/389-ds-base/c/f6397113666f06848412bb12f754f04258cfa5fa?branch=master

Use SLAPI_BIND_TARGET_SDN instead and move internal ipa-pwd-extop
helpers to accept Slapi_DN references rather than strings.

Related: https://pagure.io/freeipa/issue/7181

Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 14:47:12 +01:00
Alexander Bokovoy
313542e8a1 ipatests: test sysaccount password change with a password policy applied
ipa-pwd-extop plugin had a bug which prevented a cn=Directory Manager
to change a password to a value that is not allowed by an associated
password policy. Password policy checks should not apply to any
operations done as cn=Directory Manager.

The test creates a system account with associated policy that prevents
password reuse. It then goes to try to change a password three times:
 - as a user: must succeeed
 - as a cn=Directory Manager: must succeed even with a password re-use
 - as a user again: must fail due to password re-use

Related: https://pagure.io/freeipa/issue/7181
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 14:47:12 +01:00
Alexander Bokovoy
f4dc10b8ca ipatests: allow changing sysaccount passwords as cn=Directory Manager
Extend ldappasswd_sysaccount_change() helper to allow changing
passwords as a cn=Directory Manager.

Related to: https://pagure.io/freeipa/issue/7181
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 14:47:12 +01:00
Alexander Bokovoy
c62b9e7f6a Fix indentation levels
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 14:47:12 +01:00
Christian Heimes
f08ced1b25 SELinux: apache_manage_pid_files for F30
SELinux policy on F30 doesn't have the interface
apache_manage_pid_files(). Define the interface conditionally.

Fixes: https://pagure.io/freeipa/issue/8241
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2020-03-25 12:47:40 +01:00
Alexander Bokovoy
74f36e7c2f ipatests: always skip additional input for group-add-member --external
'ipa group-add-member groupname --external some-object' will attempt to
ask interactive questions about other optional parameters (users and
groups) if only external group member was specified. This leads to a
timeout in the tests as there is no input provided.

Do not wait for the entry that would never come by using 'ipa -n'.

Related: https://pagure.io/freeipa/issue/8236
Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2020-03-25 10:44:50 +01:00
Alexander Bokovoy
c6adee0406 po: update Chinese (China) translation
Several translated strings were splitted and old translations do not
apply directly anymore.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 42e86692b6)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
855a36b6c0 po: update Ukrainian translation
Several translated strings were splitted and old translations do not
apply directly anymore.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 9fcae1590d)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
3d411cf29f po: update Tajik translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit e50c2500f4)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
3c15e47a7c po: update Slovak translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit ed55c408f8)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
db433fbe4e po: update Russian translation
Several translated strings were splitted and old translations do not
apply directly anymore.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit ad3ef9de44)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
eab195ff38 po: update Portuguese (Brazil) translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 45dede73c7)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
31a9da8efa po: update Portuguese translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit baf1a7217d)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
4e3867fcc4 po: update Polish translation
Several translated strings were splitted and old translations do not
apply directly anymore.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 047c8cc55d)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
e4dfb7409b po: update Punjabi translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 3e636959ff)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
e794528490 po: update Dutch translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 7f3cc11a20)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
28a963eed0 po: update Marathi translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 0c9066e8f3)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
89b048d140 po: update Kannada translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 1c30d18611)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
89dbf88abb po: update Japanese translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 60d69a8755)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
124a563eb6 po: update Indonesian translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 347d9c78b1)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
595d5062b9 po: update Hungarian translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit f18a4f8dd3)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
c4dd8b226a po: update Hindi translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 35c1da8346)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
a2ca393d35 po: update French translation
Several translated strings were splitted and old translations do not
apply directly anymore.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 1a0232a693)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
92fb5c5268 po: update Basque translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit e6574914ad)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
7af52df7a8 po: update Spanish translation
Several translated strings were splitted and old translations do not
apply directly anymore.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 2859216b4c)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
37a1e927a1 po: update English (United Kingdom) translation timestamp
Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 439c488f04)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00
Alexander Bokovoy
0d053d8b1d po: update German translation
Several translated strings were splitted into smaller ones. The older
translation either is a duplicate of the new one or does not apply
anymore.

Reviewed-By: Christian Heimes <cheimes@redhat.com>
(cherry picked from commit 117893f03e)

Reviewed-By: Christian Heimes <cheimes@redhat.com>
2020-03-25 09:49:28 +02:00