[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
sizelimit doesn't work - keep on getting "Size limit exceeded"
- To: openldap-technical@openldap.org
- Subject: sizelimit doesn't work - keep on getting "Size limit exceeded"
- From: nano mir <vacuumir@gmail.com>
- Date: Fri, 11 Jun 2010 19:59:13 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=fwsmrqxAwNvVKMyHym0+AnUHD/PPoHD+NR5J1D7zpGo=; b=DpMVIF//z0780fWLJj/f20ixBQKNonX2d0bNPNKM4qTtWH9x2Yw2qzjOvuc0QKYT61 kUkRAqu8JLA7qDbc5YttRq2rZKr9M7TQ8l0QRLWKhKnKg86isNh3GfT4idSuI5J3iwwu RMwUs2zKuu4rXe0OMaT0mYih6FHrPSCOpVWJw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=s2XVUohKyIFotkXAnDPa9iPGK1yuO+V11chl74PP0mMaCopb0gfxcBpceaLi7VMqFy IRQ7B+1v8COYDbQORu6TQE54hjMprvVbPqVySu8SsWoSGEFutT+x7Iri4RyfCGBswA1V CI2qXWNzSHNLifPW0wNn3FLx96vzP1yL5c0yw=
- In-reply-to: <AANLkTimje54D54huCHXAodrJxXkByGI5nTWFjAFbyew1@mail.gmail.com>
- References: <AANLkTimje54D54huCHXAodrJxXkByGI5nTWFjAFbyew1@mail.gmail.com>
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!