Stanislav Laznicka
b5bdd07bc5
Add absolute_import future imports
...
Add absolute_import from __future__ so that pylint
does not fail and to achieve python3 behavior in
python2.
Reviewed-By: Christian Heimes <cheimes@redhat.com >
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com >
2018-04-20 09:43:37 +02:00
Lewis Eason
bcfa6b533d
Correct typo estabilish->establish in the install scripts
...
Reviewed-By: Fraser Tweedale <ftweedal@redhat.com >
2017-07-24 13:41:16 +02:00
Jan Cholasta
7a482b7c72
logging: do not log into the root logger
...
Deprecate `ipa_log_manager.root_logger` and replace all calls to it with
module-level logger calls.
Reviewed-By: Martin Basti <mbasti@redhat.com >
2017-07-14 15:55:59 +02:00
Stanislav Laznicka
df8205b55c
Make a doctext more clear
...
Reviewed-By: Martin Basti <mbasti@redhat.com >
2017-05-19 16:49:04 +02:00
René Genz
bdd88a3eab
fix spelling mistake; minor rewording
...
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com >
2017-05-19 09:52:46 +02:00
Martin Basti
bad0f608c4
Remove surplus 'the' in output of ipa-adtrust-install
...
Fixing the typo
https://pagure.io/freeipa/issue/6864
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com >
2017-04-11 13:06:13 +02:00
Jan Cholasta
2fc9feddd0
install: re-introduce option groups
...
Re-introduce option groups in ipa-client-install, ipa-server-install and
ipa-replica-install.
https://pagure.io/freeipa/issue/6392
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com >
2017-03-13 10:12:40 +01:00
Martin Babinsky
77857ea776
Add AD trust installer interface for composite installer
...
This interface is to be used to provide AD trust-related options in
server and replica installer.
https://fedorahosted.org/freeipa/ticket/6630
Reviewed-By: Martin Basti <mbasti@redhat.com >
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2017-03-01 15:55:45 +01:00
Martin Babinsky
289060dd98
check for installed dependencies when *not* in standalone mode
...
The condition that controls when to check for samba dependencies was
misformulated. The check should be run when the installer is *not* run
as standalone. In standalone mode the check is already made in different
place so the original code triggered it twice.
https://fedorahosted.org/freeipa/ticket/6630
Reviewed-By: Martin Basti <mbasti@redhat.com >
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2017-03-01 15:55:45 +01:00
Martin Babinsky
ef37c42ab9
print the installation info only in standalone mode
...
There is no point in emitting this message during server/replica
install.
https://fedorahosted.org/freeipa/ticket/6630
Reviewed-By: Martin Basti <mbasti@redhat.com >
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2017-03-01 15:55:45 +01:00
Martin Babinsky
c17215ea3d
adtrust.py: Use logging to emit error messages
...
Plain print messages are a) not logged into files and b) get lost in the
output from composite installer.
https://fedorahosted.org/freeipa/ticket/6630
Reviewed-By: Martin Basti <mbasti@redhat.com >
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2017-03-01 15:55:45 +01:00
Martin Babinsky
9348cfa996
Refactor the code searching and presenting missing trust agents
...
Use newly implemented APIs for searching and presenting potential
trust agents.
https://fedorahosted.org/freeipa/ticket/6639
Reviewed-By: Martin Basti <mbasti@redhat.com >
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2017-03-01 15:55:45 +01:00
Martin Babinsky
c5bae57759
only check for netbios name when LDAP backend is connected
...
This is to prevent errors due to non-existent LDAP connection such as
when installing first IPA master.
https://fedorahosted.org/freeipa/ticket/6630
Reviewed-By: Martin Basti <mbasti@redhat.com >
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2017-03-01 15:55:45 +01:00
Martin Babinsky
4ba6b96839
Refactor the code checking for missing SIDs
...
Decompose the individual sub-tasks into separate functions. Also perform
the lookup only when LDAP is connected.
https://fedorahosted.org/freeipa/ticket/6630
Reviewed-By: Martin Basti <mbasti@redhat.com >
Reviewed-By: Jan Cholasta <jcholast@redhat.com >
2017-03-01 15:55:45 +01:00
Martin Babinsky
98bf0cc966
Move AD trust installation code to a separate module
...
This facilitates calling the necessary checks and configuration code as
a module from e.g. a composite installer. The code that checks for the
admin credentials stays in the standalone installer as the code inside
the adtrust module is expected to operate also without admin
credentials.
https://fedorahosted.org/freeipa/ticket/6629
Reviewed-By: Martin Basti <mbasti@redhat.com >
2017-02-17 13:34:35 +01:00