I can't receive more than 500 entries, when I query my openldap-server.
Although I made the following changes:
slapd.conf
# This is the main slapd configuration file. See slapd.conf(5) for more
# info on the configuration options.
#######################################################################
# Global Directives:
.....
# The maximum number of entries that is returned for a search operation
sizelimit 10000
ldap.conf
#
# LDAP Defaults
#
# See ldap.conf(5) for details
# This file should be world readable but not world writable.
#BASE dc=example,dc=com
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
SIZELIMIT 10000
#TIMELIMIT 15
#DEREF never
# TLS certificates (needed for GnuTLS)
TLS_CACERT /etc/ssl/certs/ca-certificates.crt
After restartin my machine, and query the following command:
ldapsearch -x -h localhost -b "dc=XXX,dc=XXX,dc=XXX"
I receive:
# search result
search: 2
result: 4 Size limit exceeded
# numResponses: 501
# numEntries: 500
Did I miss some necessary changes?