Bug 2090393 - Add a warning when port numbers are set to zero.
Summary: Add a warning when port numbers are set to zero.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: cockpit-389-ds
Version: 12.0
Hardware: x86_64
OS: All
unspecified
low
Target Milestone: ---
: dirsrv-12.1
Assignee: mreynolds
QA Contact: RHDS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-25 16:32 UTC by Têko Mihinto
Modified: 2022-12-06 15:44 UTC (History)
6 users (show)

Fixed In Version: redhat-ds-12-9010020220729141346.12_1_910
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-06 15:44:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker IDMDS-2447 0 None None None 2022-08-17 10:25:39 UTC
Red Hat Issue Tracker IDMDS-2490 0 None None None 2022-08-30 09:41:53 UTC
Red Hat Product Errata RHBA-2022:8836 0 None None None 2022-12-06 15:44:50 UTC

Description Têko Mihinto 2022-05-25 16:32:22 UTC
Description of problem:
The "Create New Server Instance" allows to use 0 ( even multiple zeroes are accepted ).
The instance creation goes fine and the normal port is set to 0 while the TLS port is set to the default value ( 636 ).

It would be nice to add a warning to let the user know that :
* TLS port will be set to 636
* Access over the normal port will be disabled.

Version-Release number of selected component (if applicable):

$ cat /etc/redhat-release 
Red Hat Enterprise Linux release 9.1 Beta (Plow)
$
$ rpm -qa | grep 389-ds
389-ds-base-libs-2.0.14-7.module+el9dsrv+14845+69b2f526.x86_64
389-ds-base-2.0.14-7.module+el9dsrv+14845+69b2f526.x86_64
cockpit-389-ds-2.0.14-7.module+el9dsrv+14845+69b2f526.noarch
$

How reproducible:
Always ( as long as port 636 is available ).

Steps to Reproduce:
1. Launch the "Create New Server Instance" wizard
2. Use 0 for the ports
3. Create the instance

Actual results:
The instance is created with ports 0 and 636.

Expected results:
Add a warning prior to create the instance.

Additional info:

Comment 6 errata-xmlrpc 2022-12-06 15:44: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 (redhat-ds:12 bug fix and enhancement update), 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/RHBA-2022:8836


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