Description of problem:
One can create a suffix referral with an invalid port number for the referred LDAP server.
Version-Release number of selected component (if applicable):
# rpm -qa | grep 389-ds
Steps to Reproduce:
1. Create a suffix
2. Select the "Database" tab and choose a suffix
3. Click on "Create Referral"
4. Use invalid characters for the port number
5. Click on "Create Referral". The suffix referral will be created with the invalid port number.
Invalid referral ( incorrect port number ) is created.
Prevent the user to create invalid referral.
When I enter letters instead of numbers, and then save the referral, I get the error message:
Invalid port number, please use a number between 1 and 65535
I think we should not accept non-numeric characters in the first place. But that can be done as part of ReactJS refactor.
Marking as VERIFIED.
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.