Red Hat Bugzilla – Bug 1018745
Can enter empty username filter on LDAP security configuration screen, installation will fail.
Last modified: 2017-10-09 20:17:59 EDT
Description of problem:
I am able to enter empty value into "Username filter" input field. This leads to failure during post-install configuration and installation fail.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start gui installation, use default values until you reach Post-install configuration screen.
2. Select to Perform additional post-install configuration, check to Enable LDAP authentication.
3. Fill password fields on first LDAP Configuration screen, push Next button to enter LDAP security configuration screen.
4. Input "" into Username filter input field and finish the installation.
No Error message. Post-install configuration fail.
Error message is thrown on LDAP security configuration screen once user click on Next button.
The error message on this screen is a little bit confusing to me once I delete eg. Security Realm Name. Is "LDAP Username" from message meant to be "Username Filter"?
I've added a non-empty field validator to the username filter, and a corresponding error message. So the user will not be allowed to proceed if they left username filter blank.
Can you please fix also error message "A new LDAP security realm requires a Security Realm Name, an LDAP Username, and a Base Distinguished Name (Base DN). All three of these fields must be filled.". I think the best way it would be to use same message for all three fields saying:
"A new LDAP security realm requires a Security Realm Name, a Base Distinguished Name (Base DN), and a Username filter. All three of these fields must be filled."
I'd be better close this and open new BZ since the original issue is now resolved.
Verified on EAP 6.2.0.ER6