Petr Viktorin
5435a8a32a
Use absolute imports
...
In Python 3, implicit relative imports will not be supported.
Use fully-qualified imports everywhere.
Reviewed-By: Tomas Babej <tbabej@redhat.com >
2015-08-12 18:17:23 +02:00
Petr Viktorin
27dabb4528
Modernize 'except' clauses
...
The 'as' syntax works from Python 2 on, and Python 3 will
drop the "comma" syntax.
Reviewed-By: Tomas Babej <tbabej@redhat.com >
2015-08-12 18:17:23 +02:00
Petr Viktorin
b8c46f2a32
Modernize number literals
...
Use Python-3 compatible syntax, without breaking compatibility with py 2.7
- Octals literals start with 0o to prevent confusion
- The "L" at the end of large int literals is not required as they use
long on Python 2 automatically.
- Using 'int' instead of 'long' for small numbers is OK in all cases except
strict type checking checking, e.g. type(0).
https://fedorahosted.org/freeipa/ticket/4985
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2015-07-31 15:22:19 +02:00
Martin Basti
92828d3cf5
DNS: check if DNS package is installed
...
Instead of separate checking of DNS required packages, we need just
check if IPA DNS package is installed.
https://fedorahosted.org/freeipa/ticket/4058
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com >
Reviewed-By: Petr Spacek <pspacek@redhat.com >
Reviewed-By: Tomas Babej <tbabej@redhat.com >
2015-07-21 17:30:10 +02:00
Martin Babinsky
7b6bee030d
ipa-dns-install: use STARTTLS to connect to DS
...
BindInstance et al. now use STARTTLS to set up secure connection to DS during
ipa-dns-install. This fixes https://fedorahosted.org/freeipa/ticket/4933
Reviewed-By: Martin Basti <mbasti@redhat.com >
2015-03-18 12:31:23 +01:00
Martin Basti
b5e06b90c9
Uninstall configured services only
...
Fixes:
dnskeysyncisntance - requires a stored state to be uninstalled
bindinstance - uninstal service only if bind was configured by IPA
Ticket:https://fedorahosted.org/freeipa/ticket/4869
Reviewed-By: David Kupka <dkupka@redhat.com >
2015-02-18 10:05:45 +01:00
Martin Basti
c3edfa2d8c
Fix restoring services status during uninstall
...
Services hasn't been restored correctly, which causes disabling already
disabled services, or some service did not start. This patch fix these
issues.
Ticket: https://fedorahosted.org/freeipa/ticket/4869
Reviewed-By: David Kupka <dkupka@redhat.com >
2015-02-18 10:05:45 +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
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