[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Updating slapd configuration programmatically
- To: Michel Gokan <gokan.michel@gmail.com>, openldap-technical@openldap.org
- Subject: Re: Updating slapd configuration programmatically
- From: Quanah Gibson-Mount <quanah@symas.com>
- Date: Mon, 03 Jun 2019 08:01:21 -0700
- Content-disposition: inline
- In-reply-to: <CAFbVWhLy8gxuX5eAGSg1ztqq+m+2giCAVm0tJ=RAoK7xR4qG7A@mail.gmail.com>
- References: <CAFbVWhLy8gxuX5eAGSg1ztqq+m+2giCAVm0tJ=RAoK7xR4qG7A@mail.gmail.com>
--On Saturday, June 01, 2019 9:25 PM +0200 Michel Gokan
<gokan.michel@gmail.com> wrote:
My environment is Kubernetes and I deployed OpenLDAP as a container.
If your deployment uses slapd-config(5) for its configuration, it's as
simple as an ldapmodify operation. I can't tell you *exactly* how to do
it, because it'll depend on a few things:
a) How one connects as the rootdn for the configuration database backend
b) Which database number your slapd-mdb database is
but roughly:
ldapmodify <options>
dn: <your MDB database DN>
changetype: modify
replace: olcDbMaxsize
olcDbMaxsize: <new value>
You can of course do this things like perl-ldap, python-ldap, etc, as well.
--Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>