Nathaniel McCallum
3c900ba7a8
Enable QR code display by default in otptoken-add
...
This is possible because python-qrcode's output now fits in a standard
terminal. Also, update ipa-otp-import and otptoken-add-yubikey to
disable QR code output as it doesn't make sense in these contexts.
https://fedorahosted.org/freeipa/ticket/4703
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
2014-11-19 14:26:00 +01:00
Martin Basti
d2ffd17617
Fix: zonemgr must be unicode value
...
To support IDNA --zonemgr option must be unicode not ascii
https://fedorahosted.org/freeipa/ticket/4724
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-11-19 13:37:48 +01:00
Martin Basti
7c176b708e
Fix named working directory permissions
...
Just adding dir to specfile doesnt work, because is not guarantee the
named is installed, during RPM installation.
Ticket: https://fedorahosted.org/freeipa/ticket/4716
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2014-11-18 18:49:42 +00:00
Martin Basti
f62c7843ff
Fix upgrade referint plugin
...
Mixing 'Old' and 'New' attr style for referential integrity plugin causes errors.
Now old setting are migrated to new style setting before upgrade
Ticket: https://fedorahosted.org/freeipa/ticket/4622
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-11-13 13:26:34 +01:00
Martin Basti
40ea328a78
Fix: DNS policy upgrade raises asertion error
...
Ticket: https://fedorahosted.org/freeipa/ticket/4708
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2014-11-13 12:12:28 +00:00
Martin Basti
a7162e7766
Fix: DNS installer adds invalid zonemgr email
...
Installer adds zonemgr as relative (and invalid) address.
This fix force installer to use absolute email.
Ticket: https://fedorahosted.org/freeipa/ticket/4707
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-11-13 10:36:28 +00:00
Jan Cholasta
2639997dfe
Fix CA certificate backup and restore
...
Backup and restore /etc/pki/ca-trust/source/ipa.p11-kit.
Create /etc/ipa/nssdb after restore if necessary.
https://fedorahosted.org/freeipa/ticket/4711
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
2014-11-11 16:13:52 +01:00
Petr Vobornik
61d98bdc59
ldapupdater: set baserid to 0 for ipa-ad-trust-posix ranges
...
New updater plugin which sets baserid to 0 for ranges with type ipa-ad-trust-posix
https://fedorahosted.org/freeipa/ticket/4221
Reviewed-By: Tomas Babej <tbabej@redhat.com >
2014-11-11 10:56:16 +01:00
Petr Viktorin
a8e2a242be
ipa-restore: Don't crash if AD trust is not installed
...
https://fedorahosted.org/freeipa/ticket/4668
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2014-11-11 09:54:29 +00:00
Martin Basti
730f33680b
Fix upgrade: do not use invalid ldap connection
...
Ticket: https://fedorahosted.org/freeipa/ticket/4670
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2014-11-06 10:45:16 +01:00
Jan Cholasta
2cf0f0a658
Fail if certmonger can't see new CA certificate in LDAP in ipa-cacert-manage
...
This should not normally happen, but if it does, report an error instead of
waiting idefinitely for the certificate to appear.
https://fedorahosted.org/freeipa/ticket/4629
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-11-05 15:26:42 +01:00
David Kupka
364d466fd7
Respect UID and GID soft static allocation.
...
https://fedoraproject.org/wiki/Packaging:UsersAndGroups?rd=Packaging/UsersAndGroups#Soft_static_allocation
https://fedorahosted.org/freeipa/ticket/4585
Reviewed-By: Martin Basti <mbasti@redhat.com >
2014-11-05 15:22:51 +01:00
Endi S. Dewata
0b08043c37
Fixed KRA backend.
...
The KRA backend has been simplified since most of the tasks have
been moved somewhere else. The transport certificate will be
installed on the client, and it is not needed by KRA backend. The
KRA agent's PEM certificate is now generated during installation
due to permission issue. The kra_host() for now is removed since
the current ldap_enable() cannot register the KRA service, so it
is using the kra_host environment variable.
The KRA installer has been modified to use Dogtag's CLI to create
KRA agent and setup the client authentication.
The proxy settings have been updated to include KRA's URLs.
Some constants have been renamed for clarity. The DOGTAG_AGENT_P12
has been renamed to DOGTAG_ADMIN_P12 since file actually contains
the Dogtag admin's certificate and private key and it can be used
to access both CA and KRA. The DOGTAG_AGENT_PEM has been renamed
to KRA_AGENT_PEM since it can only be used for KRA.
The Dogtag dependency has been updated to 10.2.1-0.1.
https://fedorahosted.org/freeipa/ticket/4503
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
2014-11-04 16:33:16 +01:00
Gabe
7eca640ffa
Remove trivial path constants from modules
...
https://fedorahosted.org/freeipa/ticket/4399
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
2014-11-04 12:57:01 +01:00
Martin Basti
5e1172f560
fix forwarder validation errors
...
Fix tests, validation in dnsconfig mod, wuser warning
Reviewed-By: Petr Spacek <pspacek@redhat.com >
2014-10-21 15:55:09 +02:00
Alexander Bokovoy
20761f7fcd
Default to use TLSv1.0 and TLSv1.1 on the IPA server side
...
We only will be changing the setting on the install.
For modifying existing configurations please follow instructions
at https://access.redhat.com/solutions/1232413
Reviewed-By: Martin Kosek <mkosek@redhat.com >
2014-10-21 15:54:02 +02:00
Martin Basti
3eec7e1f53
fix DNSSEC restore named state
...
Reviewed-By: Petr Spacek <pspacek@redhat.com >
2014-10-21 15:52:47 +02:00
Alexander Bokovoy
eb4d559f3b
updater: enable uid uniqueness plugin for posixAccounts
...
https://fedorahosted.org/freeipa/ticket/4636
Reviewed-By: Martin Kosek <mkosek@redhat.com >
2014-10-21 13:46:55 +02:00
Martin Basti
49547a54dd
DNSSEC: add files to backup
...
Tickets:
https://fedorahosted.org/freeipa/ticket/3801
https://fedorahosted.org/freeipa/ticket/4417
Design:
https://fedorahosted.org/bind-dyndb-ldap/wiki/BIND9/Design/DNSSEC
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-21 12:23:03 +02:00
Martin Basti
8f2f5dfbdf
DNSSEC: modify named service to support dnssec
...
Tickets:
https://fedorahosted.org/freeipa/ticket/3801
https://fedorahosted.org/freeipa/ticket/4417
Design:
https://fedorahosted.org/bind-dyndb-ldap/wiki/BIND9/Design/DNSSEC
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-21 12:23:03 +02:00
Martin Basti
ca030a089f
DNSSEC: validate forwarders
...
Tickets:
https://fedorahosted.org/freeipa/ticket/3801
https://fedorahosted.org/freeipa/ticket/4417
Design:
https://fedorahosted.org/bind-dyndb-ldap/wiki/BIND9/Design/DNSSEC
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-21 12:23:03 +02:00
Martin Basti
30bc3a55cf
DNSSEC: platform paths and services
...
Tickets:
https://fedorahosted.org/freeipa/ticket/3801
https://fedorahosted.org/freeipa/ticket/4417
Design:
https://fedorahosted.org/bind-dyndb-ldap/wiki/BIND9/Design/DNSSEC
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-21 12:23:03 +02:00
Martin Basti
9101cfa60f
DNSSEC: opendnssec services
...
Tickets:
https://fedorahosted.org/freeipa/ticket/3801
https://fedorahosted.org/freeipa/ticket/4417
Design:
https://fedorahosted.org/bind-dyndb-ldap/wiki/BIND9/Design/DNSSEC
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-21 12:23:03 +02:00
Martin Basti
eb54814741
DNSSEC: DNS key synchronization daemon
...
Tickets:
https://fedorahosted.org/freeipa/ticket/3801
https://fedorahosted.org/freeipa/ticket/4417
Design:
https://fedorahosted.org/bind-dyndb-ldap/wiki/BIND9/Design/DNSSEC
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-21 12:23:03 +02:00
Martin Basti
9184d9a1bb
DNSSEC: schema
...
Tickets:
https://fedorahosted.org/freeipa/ticket/3801
https://fedorahosted.org/freeipa/ticket/4417
Design:
https://fedorahosted.org/bind-dyndb-ldap/wiki/BIND9/Design/DNSSEC
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-21 12:23:03 +02:00
Martin Basti
78018dd67d
Add mask, unmask methods for service
...
This patch allows mask and unmask services in IPA
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-21 12:23:03 +02:00
Alexander Bokovoy
bd98ab0356
Support idviews in compat tree
...
Reviewed-By: Tomas Babej <tbabej@redhat.com >
2014-10-20 16:47:49 +02:00
Nathaniel McCallum
68825e7ac6
Configure IPA OTP Last Token plugin on upgrade
...
Reviewed-By: Martin Kosek <mkosek@redhat.com >
2014-10-20 10:18:47 +02:00
Petr Vobornik
6f81217c18
dns: fix privileges' memberof during dns install
...
Permissions with member attrs pointing to privileges are created before the privileges.
Run memberof plugin task to fix other ends of the relationships.
https://fedorahosted.org/freeipa/ticket/4637
Reviewed-By: Martin Kosek <mkosek@redhat.com >
2014-10-17 14:08:37 +02:00
Jan Cholasta
608851d3f8
Check LDAP instead of local configuration to see if IPA CA is enabled
...
The check is done using a new hidden command ca_is_enabled.
https://fedorahosted.org/freeipa/ticket/4621
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-17 12:53:11 +02:00
David Kupka
c44f4dcbea
Stop dogtag when updating its configuration in ipa-upgradeconfig.
...
Modifying CS.cfg when dogtag is running may (and does) result in corrupting
this file.
https://fedorahosted.org/freeipa/ticket/4569
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2014-10-15 09:12:11 +02:00
Martin Basti
7ad70025eb
Make named.conf template platform independent
...
Reviewed-By: David Kupka <dkupka@redhat.com >
Reviewed-By: Petr Spacek <pspacek@redhat.com >
2014-10-14 13:55:02 +02:00
Martin Basti
97195eb07c
Add missing attributes to named.conf
...
Ticket: https://fedorahosted.org/freeipa/ticket/3801#comment:31
Reviewed-By: David Kupka <dkupka@redhat.com >
Reviewed-By: Petr Spacek <pspacek@redhat.com >
2014-10-14 13:55:02 +02:00
Jan Cholasta
4cdeacdedf
Support MS CS as the external CA in ipa-server-install and ipa-ca-install
...
Added a new option --external-ca-type which specifies the type of the
external CA. It can be either "generic" (the default) or "ms-cs". If "ms-cs"
is selected, the CSR generated for the IPA CA will include MS template name
extension (OID 1.3.6.1.4.1.311.20.2) with template name "SubCA".
https://fedorahosted.org/freeipa/ticket/4496
Reviewed-By: Martin Kosek <mkosek@redhat.com >
2014-10-13 12:18:09 +02:00
David Kupka
35c7bd05af
Check that port 8443 is available when installing PKI.
...
https://fedorahosted.org/freeipa/ticket/4564
Reviewed-By: Martin Kosek <mkosek@redhat.com >
2014-10-10 11:57:44 +02:00
Jan Cholasta
92a08266af
Fix certmonger configuration in installer code
...
https://fedorahosted.org/freeipa/ticket/4619
Reviewed-By: David Kupka <dkupka@redhat.com >
2014-10-10 08:48:25 +02:00
Petr Viktorin
cc085d1d4c
backup/restore: Add files from /etc/ipa/nssdb
...
Add files from /etc/ipa/nssdb (IPA_NSSDB_DIR), which now used
instead of /etc/pki/nssdb (NSS_DB_DIR).
The old location is still supported.
https://fedorahosted.org/freeipa/ticket/4597
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2014-10-02 13:53:55 +02:00
Tomas Babej
00457a9c10
idviews: Fix typo in upgrade handling of the Default Trust View
...
Fixed missing comma. Also removes leading spaces from the ldif,
since this is not stripped by the updater.
Part of: https://fedorahosted.org/freeipa/ticket/3979
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2014-09-30 11:49:53 +02:00
Tomas Babej
2a230b6cc1
idviews: Create Default Trust View for upgraded servers
...
For upgraded servers with enabled AD trust support, we want to
ensure that Default Trust View entry is created.
Part of: https://fedorahosted.org/freeipa/ticket/3979
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
2014-09-30 10:42:06 +02:00
Tomas Babej
b9425751b4
idviews: Add Default Trust View as part of adtrustinstall
...
Add a Default Trust View, which is used by SSSD as default mapping for AD users.
Part of: https://fedorahosted.org/freeipa/ticket/3979
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
2014-09-30 10:42:06 +02:00
Tomas Babej
6a798f144f
trusts: Add conversion from SID to object name
...
Since SID is often used as a unique identifier for AD objects, we need to convert
a SID to actual object name in the AD.
Part of: https://fedorahosted.org/freeipa/ticket/3979
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
2014-09-30 10:42:06 +02:00
Tomas Babej
16f3786d25
idviews: Add necessary schema for the ID views
...
Part of: https://fedorahosted.org/freeipa/ticket/3979
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
Reviewed-By: Petr Vobornik <pvoborni@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
2014-09-30 10:42:06 +02:00
Jan Cholasta
b1fe42df16
Do not crash in CAInstance.__init__ when default argument values are used
...
https://fedorahosted.org/freeipa/ticket/3872
Reviewed-By: Martin Kosek <mkosek@redhat.com >
2014-09-30 10:06:48 +02:00
Jan Cholasta
da24d8a6e7
Fix certmonger search for the CA cert in ipa-certupdate and ipa-cacert-manage
...
The search criteria did not include the CA agent name.
https://fedorahosted.org/freeipa/ticket/3259
Reviewed-By: Rob Crittenden <rcritten@redhat.com >
2014-09-30 10:01:38 +02:00
Jan Cholasta
86c534df7d
Move NSSDatabase from ipaserver.certs to ipapython.certdb
...
https://fedorahosted.org/freeipa/ticket/4416
Reviewed-By: Rob Crittenden <rcritten@redhat.com >
2014-09-30 10:01:38 +02:00
Jan Cholasta
83cbfa8eae
Do stricter validation of CA certificates
...
Every CA certificate must have non-empty subject and basic constraints
extension with the CA flag set.
https://fedorahosted.org/freeipa/ticket/4477
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
2014-09-30 08:50:47 +02:00
Jan Cholasta
3cde7e9cfd
Allow choosing CA-less server certificates by name
...
Added new --*-cert-name options to ipa-server-install and ipa-replica-prepare
and --cert-name option to ipa-server-certinstall. The options allows choosing
a particular certificate and private key from PKCS#12 files by its friendly
name.
https://fedorahosted.org/freeipa/ticket/4489
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
2014-09-30 08:50:47 +02:00
Jan Cholasta
88083887c9
CA-less installer options usability fixes
...
The --*_pkcs12 options of ipa-server-install and ipa-replica-prepare have
been replaced by --*-cert-file options which accept multiple files.
ipa-server-certinstall now accepts multiple files as well. The files are
accepted in PEM and DER certificate, PKCS#7 certificate chain, PKCS#8 and
raw private key and PKCS#12 formats.
The --root-ca-file option of ipa-server-install has been replaced by
--ca-cert-file option which accepts multiple files. The files are
accepted in PEM and DER certificate and PKCS#7 certificate chain formats.
The --*_pin options of ipa-server-install and ipa-replica-prepare have been
renamed to --*-pin.
https://fedorahosted.org/freeipa/ticket/4489
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
2014-09-30 08:50:47 +02:00
Jan Cholasta
3aa0731fc6
External CA installer options usability fixes
...
The --external_cert_file and --external_ca_file options of ipa-server-install
and ipa-ca-install have been replaced by --external-cert-file option which
accepts multiple files. The files are accepted in PEM and DER certificate and
PKCS#7 certificate chain formats.
https://fedorahosted.org/freeipa/ticket/4480
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
2014-09-30 08:50:47 +02:00
Jan Cholasta
60ecba77cd
Add NSSDatabase.import_files method for importing files in various formats
...
The files are accepted in PEM and DER certificate, PKCS#7 certificate chain,
PKCS#8 and raw private key and PKCS#12 formats.
https://fedorahosted.org/freeipa/ticket/4480
https://fedorahosted.org/freeipa/ticket/4489
Reviewed-By: Petr Viktorin <pviktori@redhat.com >
2014-09-30 08:50:47 +02:00