Hi all,
I have an address book of 540 entries, and I cannot get openLDAP to return them all... Please take a look:
$ uname -r && cat /etc/issue 2.6.28-19-generic Ubuntu 9.04 \n \l
$ grep -i --context=2 "limit|size" /etc/ldap/slapd.conf ... # The maximum number of entries that is returned for a search operation #sizelimit 1000 limits anonymous size.soft=50 size.hard=100 size.unchecked=32767 time.soft=15 time.hard=60 sizelimit -1 limits dn.exact="cn=theadmin,dc=my,dc=server,dc=com" size=unlimited time=unlimited limits group/groupOfUniqueNames/uniqueMember="cn=theadmin,ou=testingab,dc=my,dc=server,dc=com" size=unlimited time=unlimited
# The tool-threads parameter sets the actual amount of cpu's that is used -- # For the Debian package we use 2MB as default but be sure to update this # value if you have plenty of RAM dbconfig set_cachesize 0 2097152 0
# Sven Hartge reported that he had to set this value incredibly high ...
$ sudo /etc/init.d/slapd restart Stopping OpenLDAP: slapd. Starting OpenLDAP: slapd. $ sudo /etc/init.d/apache2 reload * Reloading web server config apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [ OK ] .
And even after I do all this (add limits to '/etc/ldap/slapd.conf' and restart servers), I *still* get "Size limit exceeded":
--------- $ ldapsearch -W -D cn=theadmin,dc=my,dc=server,dc=com -b ou=testingab,dc=my,dc=server,dc=com (cn=*) ... ... # search result search: 2 result: 4 Size limit exceeded
# numResponses: 501 # numEntries: 500 ---------
Frustrating ! :( :( :( Can anyone tell me what am I doing wrong?!
Thanks in advance, Cheers!