Commit Graph

12880 Commits

Author SHA1 Message Date
Timo Aaltonen
eea684e2a7 fix-is-running.diff: Add a third argument to is_running() in ipaplatform/debian/services.py. 2017-02-17 01:40:24 +02:00
Timo Aaltonen
df246cc112 releasing package freeipa version 4.4.3-3 debian/4.4.3-3 2017-02-16 11:26:17 +02:00
Timo Aaltonen
4631e1893b client.postinst: Fix logfile location. 2017-01-28 15:29:02 +02:00
Timo Aaltonen
cee4417e77 releasing package freeipa version 4.4.3-2 2017-01-28 00:21:37 +02:00
Timo Aaltonen
a4e4d1d6f4 control: Fix python-ipatests to depend on python-sss instead of - sssdconfig. 2017-01-28 00:04:28 +02:00
Timo Aaltonen
b60eb8b01e releasing package freeipa version 4.4.3-1 debian/4.4.3-1 2017-01-14 15:37:21 +02:00
Timo Aaltonen
3f7fe2aa9c control: Demote ntp to Recommends so that lxc containers can be enrolled without it. (LP: #1630911) 2017-01-14 15:21:56 +02:00
Timo Aaltonen
799d94959b update purge-firefox-extension.diff 2017-01-14 11:32:26 +02:00
Timo Aaltonen
59e06164f8 control: Add krb5-otp to server depends. (LP: #1640732) 2017-01-14 11:22:03 +02:00
Timo Aaltonen
b741e1dfe0 close a LP bug 2017-01-14 11:21:06 +02:00
Timo Aaltonen
9e22c17a91 Update TODO 2017-01-14 11:15:08 +02:00
Timo Aaltonen
7ee921d824 fix-cve-2016-5404.diff: Dropped, upstream. 2017-01-14 10:56:09 +02:00
Timo Aaltonen
762a542966 update changelog, fix a bug 2016-12-23 08:20:42 +02:00
Timo Aaltonen
73c6e90fdb Merge branch 'upstream-next' into master-next 2016-12-23 08:10:39 +02:00
Petr Vobornik
097ff54ebc Become IPA 4.4.3 2016-12-16 13:45:37 +01:00
Martin Babinsky
e02323c1c3 Add a basic test suite for kadmin.local interface
This small integration suite tests some basic operations using
kadmin.local interface on services in both kerberos and services
subtree.

https://fedorahosted.org/freeipa/ticket/6561

Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
2016-12-16 10:37:49 +01:00
Martin Babinsky
f0f48ec14f Make kadmin family of functions return the result of ipautil.run
This allows for diagnose the output and error code of these operations.
Otherwise there is no way to infer their success or failure apart from
inspecting logs post-mortem.

https://fedorahosted.org/freeipa/ticket/6561

Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
2016-12-16 10:37:49 +01:00
Alexander Bokovoy
84f6df6349 ipa-kdb: search for password policies globally
With the CoS templates now used to create additional password policies
per object type that are placed under the object subtrees, DAL driver
needs to search for the policies in the whole tree.

Individual policies referenced by the krbPwdPolicyReference attribute
are always searched by their full DN and with the base scope. However,
when KDC asks a DAL driver to return a password policy by name, we don't
have any specific base to search. The original code did search by the
realm subtree.

Fixes https://fedorahosted.org/freeipa/ticket/6561

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2016-12-15 17:32:33 +01:00
David Kupka
171bc3e685 tests: Expect krbpwdpolicyreference in result of {host,service}-{find,show} --all
Result of {host,service}-{find,show} commands with option '--all' always contains
krbpwpolicyreference attributes.

https://fedorahosted.org/freeipa/ticket/6561

Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
2016-12-14 18:14:35 +01:00
David Kupka
08e7af9f0f password policy: Add explicit default password policy for hosts and services
Set explicitly krbPwdPolicyReference attribute to all hosts (entries in
cn=computers,cn=accounts), services (entries in cn=services,cn=accounts) and
Kerberos services (entries in cn=$REALM,cn=kerberos). This is done using DS's
CoS so no attributes are really added.

The default policies effectively disable any enforcement or lockout for hosts
and services. Since hosts and services use keytabs passwords enforcements
doesn't make much sense. Also the lockout policy could be used for easy and
cheap DoS.

https://fedorahosted.org/freeipa/ticket/6561

Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
2016-12-14 18:14:35 +01:00
Fraser Tweedale
c12a52f0d7 certprofile-mod: correctly authorise config update
Certificate profiles consist of an FreeIPA object, and a
corresponding Dogtag configuration object.  When updating profile
configuration, changes to the Dogtag configuration are not properly
authorised, allowing unprivileged operators to modify (but not
create or delete) profiles.  This could result in issuance of
certificates with fraudulent subject naming information, improper
key usage, or other badness.

Update certprofile-mod to ensure that the operator has permission to
modify FreeIPA certprofile objects before modifying the Dogtag
configuration.

https://fedorahosted.org/freeipa/ticket/6560

Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2016-12-14 18:08:33 +01:00
Martin Basti
2a2652187e freeipa-4.4.3: update translations
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2016-12-14 17:40:26 +01:00
David Kupka
6ef666ed12 ipaclient.plugins: Use api_version from internally called commands
In client plugins make sure the api_version is 'inherited' from server command
that is internally called. Otherwise the api_version is obtained from client
API instance. When calling server command from client command 'version' is
passed in options and it overrides the right one. Server then refuses to handle
such call.

https://fedorahosted.org/freeipa/ticket/6539

Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-12-14 11:50:35 +01:00
Ludwig Krispenz
d028d23c5f Check for conflict entries before raising domain level
Checking of conflicts is not only done in topology container as
tests showed it can occurs elsewhere

https://fedorahosted.org/freeipa/ticket/6534

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2016-12-13 12:25:07 +01:00
Pavel Vomacka
cd62808c0e WebUI: Hide incorrectly shown buttons on hosts tab in ID Views
There was missing default value for evaluator adapter.
In that case the adapter variable could be undefined and
it crashes on building adapter. Therefore it did not
evaluate all evaluators. That is the reason why 'Delete'
and 'Add' buttons were incorrectly shown.
Default value is now set to empty object.

https://fedorahosted.org/freeipa/ticket/6546

Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
2016-12-12 18:30:10 +01:00
Alexander Bokovoy
fd8c17252f adtrust: remove FILE: prefix from 'dedicated keytab file' in smb.conf
Samba 4.5 does not allow to specify access mode for the keytab (FILE: or
WRFILE:) from external sources. Thus, change the defaults to a path
(implies FILE: prefix) while Samba Team fixes the code to allow the
access mode prefix for keytabs.

On upgrade we need to replace 'dedicated keytab file' value with the
path to the Samba keytab that FreeIPA maintains. Since the configuration
is stored in the Samba registry, we use net utility to manipulate the
configuration:

    net conf setparm global 'dedicated keytab file' /etc/samba/samba.keytab

Fixes https://fedorahosted.org/freeipa/ticket/6551

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2016-12-12 16:40:46 +01:00
Martin Babinsky
b0acb23ff3 add missing attribute to ipaca replica during CA topology update
'nsds5replicabinddngroupcheckinterval' attribute was not properly added
to 'o=ipaca' replica attribute during upgrade. The CA topology update
plugin should now add it to the entry if it exists.

https://fedorahosted.org/freeipa/ticket/6508

Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-12-09 15:47:13 +01:00
Martin Babinsky
0ae9cd75cd Revert "upgrade: add replica bind DN group check interval to CA topology config"
This reverts commit 8c6a10cedd since it
leads to errors in upgrade of first master.

https://fedorahosted.org/freeipa/ticket/6508

Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-12-09 15:47:13 +01:00
Martin Babinsky
e94046f646 gracefully handle setting replica bind dn group on old masters
Pre-3.3 masters do not support setting 'nsds5replicabinddngroup'
attribute on existing replica entry during setup of initial replication.
In this case UNWILLING_TO_PERFORM is returned. The code can interpret
this error as an indication of old master and fall back to just adding
its LDAP principal to entry's 'nsds5replicabinddn' attribute.

https://fedorahosted.org/freeipa/ticket/6532

Reviewed-By: Florence Blanc-Renaud <frenaud@redhat.com>
2016-12-09 13:43:41 +01:00
Martin Babinsky
bf28d79afe bindinstance: use data in named.conf to determine configuration status
Instead of checking sysrestore status which leads to incorrect
evaluation of DNS configuration status during 4.2 -> 4.4 upgrade, look
into named.conf to see whther it was already modified by IPA installer.

https://fedorahosted.org/freeipa/ticket/6503

Reviewed-By: Martin Basti <mbasti@redhat.com>
2016-12-07 12:30:38 +01:00
Timo Aaltonen
2189b630ec Merge branch 'master' into master-next 2016-12-03 01:05:42 +02:00
Timo Aaltonen
4445bc06ea releasing package freeipa version 4.3.2-5 debian/4.3.2-5 2016-12-03 01:03:46 +02:00
Timo Aaltonen
991da87b90 ipa-kdb-support-dal-version-5-and-6.diff: Support mit-krb5 1.15. (Closes: #844114) 2016-12-03 01:02:56 +02:00
Timo Aaltonen
5297224a8f fix-cve-2016-5404.diff: Fix permission check bypass (Closes: #835131) 2016-12-03 00:46:03 +02:00
Timo Aaltonen
d1b501999f update platform diff 2016-12-01 13:20:38 +02:00
Timo Aaltonen
1637bedee7 install: Updated. 2016-12-01 11:14:28 +02:00
Timo Aaltonen
f9b9a1d8ba control: Bump depends on sssd to 1.14.0. 2016-12-01 10:19:45 +02:00
Timo Aaltonen
f7799288e8 control: Add python-libsss-nss-idmap to build-depends. 2016-12-01 10:15:40 +02:00
Timo Aaltonen
ef7c8129fb control: Depend on slapi-nis 0.56.1. 2016-12-01 10:13:33 +02:00
Timo Aaltonen
0ea9426e3e control: Depend on dogtag 10.3.5-6. 2016-12-01 10:09:55 +02:00
Timo Aaltonen
f0f4a5b3bd control: Bump bind9-dyndb-ldap depends to 10, upstream #2008. 2016-12-01 09:11:42 +02:00
Timo Aaltonen
780bb3d1cc control: Bump depends on 389-ds-base to 1.3.5.6, upstream #5396 #2008. 2016-12-01 09:09:59 +02:00
Timo Aaltonen
cab7da3843 control: Add python-sssdconfig to python-ipatests depends. 2016-12-01 09:02:56 +02:00
Timo Aaltonen
f7061d6a3e control: Use python-netifaces instead of iproute. 2016-12-01 09:01:28 +02:00
Timo Aaltonen
6b09b2a191 control: Add python-custodia and python-requests to ipalib depends. 2016-12-01 08:59:27 +02:00
Timo Aaltonen
3f3e2c42a3 control: Bump depends on slapi-nis to 0.55. 2016-12-01 08:53:34 +02:00
Timo Aaltonen
8de1b80a85 client.postinst: Use update_ipa_nssdb(), which also removes remnants from /etc/pki/nssdb. 2016-12-01 08:52:29 +02:00
Timo Aaltonen
960e945bf3 watch: Use https url. 2016-12-01 08:40:41 +02:00
Timo Aaltonen
2e735addb2 work-around-apache-fail.diff: Dropped, apache supports systemd now so this should not be needed. 2016-12-01 08:34:57 +02:00
Timo Aaltonen
14da8940ea patches: Refreshed. 2016-12-01 08:30:36 +02:00