Hi,
I am trying to modify my DB parameters to fix following issue,
root@laselainfldap01p:~# ldaplist passwd
ldaplist: libsldap.so.1 internal error LDAP configuration problem: LDAP ERROR (4): Error occurred while receiving results. Size limit exceeded. and libldap returned: (4) using ldaps://laselainfldap01p:636
root@laselainfldap01p:~#
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
ldap_initialize( ldapi:///??base )
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
replace olcSizeLimit:
-1
modifying entry "cn=config"
ldap_modify: Insufficient access (50)
root@laselainfldap01p:/etc/openldap/slapd.d/cn=config#
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:
-1
modifying entry "cn=config"
ldap_modify: Insufficient access (50)
root@laselainfldap01p:/etc/openldap/slapd.d/cn=config#
Some priviledge access seems missing but I do not understand how to setup this.
Could you, please, provide some directions on this.
Kind regards,
Alain