Hi,
First thanks for replying and sorry for not providing enough material to help answering .
Maybe if I provide cn=config ldif files you could help providing directions ....
ldif files below are attached -rw-r--r-- 1 root other 193024 Jun 7 17:47 ldif.tar
root@ccase03 # tar -tvf ldif.tar -rw------- 0/1 1503 Jun 7 17:38 2022 cn=config.ldif -rw------- 0/1 84729 Jun 7 14:09 2022 cn=schema.ldif -rw------- 0/1 15546 Jun 7 17:40 2022 cn={0}core.ldif -rw------- 0/1 11363 Jun 7 17:40 2022 cn={1}cosine.ldif -rw------- 0/1 2857 Jun 7 17:40 2022 cn={2}inetorgperson.ldif -rw------- 0/1 3835 Jun 7 17:40 2022 cn={3}ppolicy.ldif -rw------- 0/1 40712 Jun 7 17:40 2022 cn={4}solaris.ldif -rw------- 0/1 13538 Jun 7 17:40 2022 cn={5}kerberos.ldif -rw------- 0/1 621 Jun 7 14:09 2022 olcDatabase={-1}frontend.ldif -rw------- 0/1 649 Jun 7 14:09 2022 olcDatabase={0}config.ldif -rw------- 0/1 2576 Jun 7 14:09 2022 olcDatabase={1}mdb.ldif -rw------- 0/1 536 Jun 7 14:09 2022 olcDatabase={2}monitor.ldif -rw------- 0/1 432 Jun 7 17:42 2022 olcOverlay={0}syncprov.ldif -rw------- 0/1 605 Jun 7 17:42 2022 olcOverlay={1}ppolicy.ldif -rw-r--r-- 0/1 72 Jun 7 14:09 2022 sizelimit.ldif root@ccase03 #
Kind regards, Alain
-----Message d'origine----- De : Quanah Gibson-Mount quanah@fast-mail.org Envoyé : vendredi 3 juin 2022 22:27 À : RAIMBAULT Alain - Contractor alain.raimbault@external.thalesgroup.com; openldap-technical@openldap.org Objet : Re: Failing to modify olcSizeLimit
--On Friday, June 3, 2022 1:51 PM +0000 RAIMBAULT Alain - Contractor alain.raimbault@external.thalesgroup.com wrote:
To achieve this, I attempted the following but I got priviledge issue accessing the DB ….
# cat sizelimit.ldif
dn: cn=config
changetype: modify
replace: olcSizeLimit
olcSizeLimit: -1
root@laselainfldap01p:/etc/openldap/slapd.d/cn=config# ldapmodify -v -H ldapi:/// -Y EXTERNAL -f sizelimit.ldif
Hello,
We have no way of knowing how the system was configured to allow access to the cn=config database. You'll have to consult with the LDAP adminstrators of the deployment you're working on.
Regards, Quanah