Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1450910
Description of problem: Modifying "nsslapd-cache-autosize" parameter using ldapmodify command is failing. The command is failing with below error. --------------------------------------------------------------------------- [root@qe-blade-01 ~]# grep -e nsslapd-cache-autosize /etc/dirsrv/slapd-qe-blade-01/dse.ldif nsslapd-cache-autosize: 20 [root@qe-blade-01 ~]# ldapmodify -h 127.0.0.1 -D "cn=Directory Manager" -w Secret123 -x << EOF > dn: cn=config,cn=ldbm database,cn=plugins,cn=config > changetype: modify > replace: nsslapd-cache-autosize > nsslapd-cache-autosize: 10 > EOF modifying entry "cn=config,cn=ldbm database,cn=plugins,cn=config" ldap_modify: Server is unwilling to perform (53) additional info: nsslapd-cache-autosize can't be modified while the server is running. --------------------------------------------------------------------------- Presently the change is possible only by editing dse.ldif file which will require stop and start of service. Where are other parameter like nsslapd-dbcachesize can be changed using ldapmodify on the run. Also customers may not agree to stop and start service in production environment for every change. Version-Release number of selected component (if applicable): 389-ds-base-1.3.6.1-13.el7.x86_64 How reproducible: Always Actual results: Modifying "nsslapd-cache-autosize" parameter using ldapmodify command is failing. Expected results: "nsslapd-cache-autosize" parameter should be allowed to modify with ldapmodify command. Additional info:
Metadata Update from @mreynolds: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1450910
Metadata Update from @mreynolds: - Issue assigned to mreynolds
<img alt="0001-Ticket-49258-Allow-nsslapd-cache-autosize-to-be-modi.patch" src="/389-ds-base/issue/raw/files/d8bdf705866b931966aabb2118e48a1268fcdc360f0188ca06427c073f3c1b78-0001-Ticket-49258-Allow-nsslapd-cache-autosize-to-be-modi.patch" />
Metadata Update from @mreynolds: - Custom field reviewstatus adjusted to review - Custom field type adjusted to defect
The patch looks good to me. Ack
Metadata Update from @tbordaz: - Custom field reviewstatus adjusted to ack (was: review)
Thanks for the quick review Thierry!
120e818..d5f9feb master -> master
c66cc6c..2d07ca4 389-ds-base-1.3.6 -> 389-ds-base-1.3.6
Metadata Update from @mreynolds: - Custom field reviewstatus adjusted to review (was: ack) - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/2317
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: fixed)
Login to comment on this ticket.