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, thanks


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, thanks