>>> RAIMBAULT Alain - Contractor <[email protected]>
schrieb
am 08.06.2022 um 12:47 in Nachricht
<[email protected]>:
> 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 <[email protected]> 
> Envoyé : mardi 7 juin 2022 07:48
> À : RAIMBAULT Alain - Contractor <[email protected]>;

> [email protected] 
> Objet : Antw: [EXT] Failing to modify olcSizeLimit
> 
>>>> RAIMBAULT Alain - Contractor 
>>>> <[email protected]>
> schrieb
> am 03.06.2022 um 14:51 in Nachricht
> <[email protected]>:
> ...
>> # 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


Reply via email to