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