[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Making changes to olc configuration
- To: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- Subject: Making changes to olc configuration
- From: Prentice Bisbal <pbisbal@pppl.gov>
- Date: Thu, 23 Jan 2020 12:12:25 -0500
- Content-language: en-US
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pppl.gov; s=google; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=K5StpLAI/rcld59g24ARN5UveAJAt5EEoiAU78tJE58=; b=CanXir1Cw5oesWO/ofB9w6zwdLThaYKTV/UyJ2zvxWpEYrv5L9VoLmkyR08Pwu6gWL ejHoWOUDxDAqE4lf2r8Eqj7cDGRLNsdxC8iCdbwaodZOnewW7aTeXbOwrRI0oYhwnc+L BTrwtf2Se+369J+P3sGIcGNzaYRAd0DyyuGjw=
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1
Thanks to your help, I've discovered I need to increase the size of my
mdb MaxSize. I created the following LDIF file to increase it by a
factor of 10:
dn: olcDatabase={1}mdb,cn=config
changetype: modify
add: olcDbMaxSize
olcDbMaxSize: 104857600
Now I can make changes to the LDAP directory itself, but when I try to
make changes to the OLC data, like this change, I get an Insufficient
access error:
$ ldapmodify -v -f mdb.ldif
add olcDbMaxSize:
104857600
modifying entry "olcDatabase={1}mdb,cn=config"
ldap_modify: Insufficient access (50)
How can I overcome this and give myself access to make these changes in
the future? In the past I was advised to do a slapcat of the OLC
database, make my changes, and then do a slapadd of the modified LDIF
file.. Unfortunately, I forget details of that magical incantation, and
I'd also like to make so I have the necessary privileges to make these
changes in the future through LDIF changes like the one above.
All you help is greatly appreciated. I know these answers are probably
in the manual, and "RTFM" might be justified, but I'm a little under the
gun trying to get a formerly working system up and running again, and I
still haven't fully grasped OLC yet.
--
Prentice