RAIMBAULT Alain - Contractor alain.raimbault@external.thalesgroup.com
schrieb am 08.06.2022 um 12:47 in Nachricht a8c0c01e1db244ec8d75d61bb5b16694@external.thalesgroup.com:
Thanks for pointing at this element. I modified my ldif in consequence
# cat sizelimit.ldif dn: cn=config changetype: modify replace: olcSizeLimit olcSizeLimit: unlimited
root@ccase03 # grep olcRoot olcDatabase={1}mdb.ldif olcRootDN: cn=Manager,dc=tosa,dc=thales olcRootPW:: e1NTSEF9QTVnK3BPV2dWM2p6V29DZkRrSjVZZ1YwUDROS2RDTWg= ^ strange ! two semicolons in a row
First they are two _colons_, and second the LDIF specification says the data is encodes as BASE64, usually because of "unusual" characters: "{SSHA}A5g+pOWgV3jzWoCfDkJ5YgV0P4NKdCMh"
root@laselainfldap01p:/etc/openldap/slapd.d/cn=config# ldapmodify -v -h 10.136.16.197 -D "cn=Manager,dc=tosa,dc=thales" -w tco_tosa_thales -f sizelimit.ldif ldap_initialize( ldap://10.136.16.197 ) replace olcSizeLimit: unlimited modifying entry "cn=config" ldap_modify: Insufficient access (50)
That was expected; does you manager have access?
root@laselainfldap01p:/etc/openldap/slapd.d/cn=config#
Kind regards, Alain
-----Message d'origine----- De : Ulrich Windl Ulrich.Windl@rz.uni-regensburg.de Envoyé : mardi 7 juin 2022 07:48 À : RAIMBAULT Alain - Contractor alain.raimbault@external.thalesgroup.com;
openldap-technical@openldap.org Objet : Antw: [EXT] Failing to modify olcSizeLimit
RAIMBAULT Alain - Contractor alain.raimbault@external.thalesgroup.com
schrieb am 03.06.2022 um 14:51 in Nachricht bf0f0f6351b94d74b437c24db1da4817@external.thalesgroup.com: ...
# cat sizelimit.ldif dn: cn=config changetype: modify replace: olcSizeLimit olcSizeLimit: ‑1
Despite of the rest we use a large positive number here, and the docs here mention "unlimited", but not -1.
...
Regards, Ulrich