389ds / 389-ds-base

The enterprise-class Open Source LDAP server for Linux
https://www.port389.org/
Other
213 stars 94 forks source link

Issue 6256 - nsslapd-numlisteners limit is not enforced #6257

Closed jchapma closed 3 months ago

jchapma commented 4 months ago

Description: When a invalid value for the attribute nsslapd-numlisteners is used, config normalises the value but the invalid value is written to dse.ldif.

Fix description: Modify config to return operations error if an invalid value is used. Modify configdse to handle an operations error if an invalid value is used.

Fixes: https://github.com/389ds/389-ds-base/issues/6256

Reviewed by:

droideck commented 3 months ago

Sorry, I was waiting for GitHub CI to be working again, but maybe we had some fix recently? Could you please rebase onto main?

It will also give us the test you and @ssidhaye added.

jchapma commented 3 months ago

Sorry, I was waiting for GitHub CI to be working again, but maybe we had some fix recently? Could you please rebase onto main?

It will also give us the test you and @ssidhaye added.

Rebased with main branch, the CI test I added wasn't used, I just added the with statement to @ssidhaye test.