Article 5EY6A LDAP cn=config update not working

LDAP cn=config update not working

by
glennbtn
from LinuxQuestions.org on (#5EY6A)
Hi All.

I have managed to get an ldap server up and running on debian 9, but can't query more than 500 record. I have created my ldif file with the following

dn: cn=config
changetype: modify
replace: olcSizeLimit
olcSizeLimit: 20000

Ran the import with

ldapmodify -Q -Y EXTERNAL -H ldapi:/// -f changefile.ldif

restarted the service and checked the /etc/ldap/slapd.d/cn=config.ldif which shows the correct information olcSizeLimit: 20000

Now I still can't search more than 500 records and when I run a query this confirms

ldapsearch -LLLQ -Y EXTERNAL -H ldapi:/// -b olcDatabase={-1}frontend,cn=config olcSizeLimit

dn: olcDatabase={-1}frontend,cn=config
olcSizeLimit: 500

Can anyone advise as can't seem to resolve the issue, thankslatest?d=yIl2AUoC8zA latest?i=QrYgx3zCKLw:0S_FjRSAtq4:F7zBnMy latest?i=QrYgx3zCKLw:0S_FjRSAtq4:V_sGLiP latest?d=qj6IDK7rITs latest?i=QrYgx3zCKLw:0S_FjRSAtq4:gIN9vFwQrYgx3zCKLw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments