Bug 1462294 - [RFE] AD domain configuration is not supported in ovirt-engine-extension-aaa-ldap-setup, provide examples how to configure AD domain
Summary: [RFE] AD domain configuration is not supported in ovirt-engine-extension-aaa-...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-extension-aaa-ldap
Version: 4.1.0
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Ondra Machacek
QA Contact: Gonza
URL:
Whiteboard:
Depends On:
Blocks: 1464498 1472254 1507715
TreeView+ depends on / blocked
 
Reported: 2017-06-16 15:58 UTC by Anitha Udgiri
Modified: 2021-03-11 16:22 UTC (History)
8 users (show)

Fixed In Version: ovirt-engine-extension-aaa-ldap-1.3.3
Doc Type: Enhancement
Doc Text:
Using the virt-engine-extension-aaa-ldap-setup tool it's possible to configure an Active Directory forest with multi-domain trust, or an Active Directory forest with a single domain. However it is currently not possible to configure using a single domain from a multi-domain Active Directory forest because this is advanced configuration which is difficult to perform automatically. This update provides common advanced Active Directory configuration examples that users can copy and adapt to their local environment. Those examples are bundled within the ovirt-engine-extension-aaa-ldap package, and can be found at /usr/share/ovirt-engine-extension-aaa-ldap/examples/README.md. The ovirt-engine-extension-aaa-ldap-setup tool user experience has also been improved with the following changes: - Add more detailed error reporting for various Active Directory forest configuration steps. - Made the login test mandatory to test the provided configuration.
Clone Of:
: 1472254 (view as bug list)
Environment:
Last Closed: 2018-05-15 17:35:42 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:
grafuls: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1485 0 None None None 2018-05-15 17:36:13 UTC
oVirt gerrit 80049 0 None None None 2017-08-03 12:46:44 UTC
oVirt gerrit 80078 0 None None None 2017-08-03 12:47:04 UTC
oVirt gerrit 80088 0 None None None 2017-08-03 12:47:25 UTC

Description Anitha Udgiri 2017-06-16 15:58:55 UTC
Description of problem:

At present, the setup script prompts the user to enter the forest name for AD configuration.

If the user does not want to use the Forest name and wants just the domain name, there is no such option at present for the user.

Seems like Forest name is made mandatory for AD setup.

Also, if the user enters a wrong Forest name, the script exits with an error and does not offer a chance to specify the domain name instead.

Need the script to provide the flexibility to use either one by the user.

Thanks,
Anitha

Comment 2 Martin Perina 2017-06-25 22:59:53 UTC
Notes:
1. ovirt-engine-extension-aaa-ldap-setup tool is created to help with default and/or simple LDAP configurations. Unfortunately configuring AD domain is not default nor simple unlike forrest. To configure forrest every information about LDAP servers can be found in DNS, but to configure domain user needs to know which server(s) to use, type of destination server selection algorithme in case of multiple servers, type of protocol to connect to destination server(s)

2. If user knows required information about AD domain, he can configure it manually without the tool

Solution:
We will provide AD domain configuration within setup tool using set of questions:

1. Do you want to configured AD domain or forrest?
2. If forrest selected, use the same automatic method as currently provided
3. If domain select continue.
4. Which type of servers set do you want to use (single server, failober, round robin)?
5. Which LDAP servers do you want to use (space separated list of FQDNs or IPs)
6. Which protocol do you want to use to connect to above servers (plain, SSL, StartTLS)
7. Which port should be used for connection to above servers?
8. Continue with with authentication questions (same as for forrest)

Comment 4 Martin Perina 2017-08-03 12:31:06 UTC
Inside ovirt-engine-extension-aaa-ldap-setup tool it's possible to configure AD Forrest with multi-domain trust or AD Forrest with single domain (aka single domain), but it's not possible to configure using only a single domain from multi-domain AD forest. This is advanced configuration which is very hard to achieve to be performed automatically (unlike configuring AD forest which is quite easy for automatic configuration).

So we will provide examples for common advanced AD configuration which users can copy and adapt to their local environment

Comment 5 Martin Perina 2017-08-03 12:45:59 UTC
To improve ovirt-engine-extension-aaa-ldap-setup tool user experience will also do following changes:

1. Add more detailed error reporting for verious AD forest configuration steps
2. Make Login test mandatory to test provided configuration (until now invoking Login or Search tests was optional and most users just skipped those tests and they were surprised later)

Comment 6 Martin Perina 2017-08-08 08:04:06 UTC
Fix is included in ovirt-engine-extension-aaa-ldap-1.3.3

Comment 8 Gonza 2018-01-17 16:26:43 UTC
Verified with:
ovirt-engine-extension-aaa-ldap-1.3.6-1.el7ev.noarch

Comment 11 errata-xmlrpc 2018-05-15 17:35:42 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:1485

Comment 12 Franta Kust 2019-05-16 13:03:37 UTC
BZ<2>Jira Resync


Note You need to log in before you can comment on or make changes to this bug.