Hi Tim,
FYI: There is an example about how to change nsslapd-db-locks using lib389 in one of our test:
see https://github.com/389ds/389-ds-base/blob/master/dirsrvtests/tests/suites/monitor/db_locks_monitor_test.py
As you can see that is that is quite direct:
bdb_config = BDB_LDBMConfig(inst)
bdb_config.replace("nsslapd-db-locks", "11000")
# Restart server
inst.restart()
see https://github.com/389ds/389-ds-base/blob/master/dirsrvtests/tests/suites/monitor/db_locks_monitor_test.py
As you can see that is that is quite direct:
bdb_config = BDB_LDBMConfig(inst)
bdb_config.replace("nsslapd-db-locks", "11000")
# Restart server
inst.restart()
On Tue, Jun 7, 2022 at 6:29 AM <tdarby@xxxxxxxxxxxxxxxxx> wrote:
Thanks, so is there a way to change the nsslapd-db-locks attribute in Python? it would be nice to do it all there instead of having to shell out to dsconf.
I'll try to put together a list of lib389 things.
_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
--
389 Directory Server Development Team
389 Directory Server Development Team
_______________________________________________ 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure