Bug 2231269

Summary: nsslapd-numlisteners limit is not enforced
Product: Red Hat Enterprise Linux 9 Reporter: Viktor Ashirov <vashirov>
Component: 389-ds-baseAssignee: LDAP Maintainers <idm-ds-dev-bugs>
Status: NEW --- QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: unspecified Docs Contact:
Priority: low    
Version: 9.3CC: idm-ds-dev-bugs
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Viktor Ashirov 2023-08-11 07:46:18 UTC
Description of problem:
DS allows to set a higher value of nsslapd-numlisteners than its limit of 4:

# dsconf localhost config get nsslapd-numlisteners
nsslapd-numlisteners: 1
# dsconf localhost config replace nsslapd-numlisteners=5
Successfully replaced "nsslapd-numlisteners"
# dsconf localhost config get nsslapd-numlisteners
nsslapd-numlisteners: 4
# grep nsslapd-numlisteners /etc/dirsrv/slapd-localhost/dse.ldif
nsslapd-numlisteners: 5

# systemctl restart dirsrv@localhost
# dsconf localhost config get nsslapd-numlisteners
nsslapd-numlisteners: 4
# grep nsslapd-numlisteners /etc/dirsrv/slapd-localhost/dse.ldif
nsslapd-numlisteners: 5


Version-Release number of selected component (if applicable):
389-ds-base-2.3.4-3.el9.x86_64


How reproducible:
always