Hi I try to change the default search limits in an openldap-2.3.43 server.
I am using this entries in the slapd.conf
gerneral section #change to unlimited results sizelimit size.soft=10000 size.hard=10000 timelimit unlimited
Database section limits * size.soft=10000 size.hard=10000 size.pr=10000 size.prtotal=10000
but on a search I am always limited to 500 ldapsearch -H ldap://192.168.30.169 -x -D "cn=admin,o=TI" -W -b "ou=CustomerGroups,ou=GROUPS,o=TI" -s sub -a always -z 10000 "(objectClass=*)" "hasSubordinates" "objectClass" ldapentrycount
# search result search: 2 result: 4 Size limit exceeded
# numResponses: 501 # numEntries: 500
is that a know bug ? ...
AXEL GROSSE Principal Solution Architect, Sales Solution Center, Axway P: +61-405-995-768 828 Pacific Highway Gordon, 2072 NSW agrosse@axway.commailto:agrosse@axway.com http://www.axway.comhttp://www.axway.com/
Hi all, problem solved .. it picked the wrong config ...
starting with -f configfile do the trick
cheers Axel
AXEL GROSSE Principal Solution Architect, Sales Solution Center, Axway P: +61-405-995-768 828 Pacific Highway Gordon, 2072 NSW agrosse@axway.commailto:agrosse@axway.com http://www.axway.comhttp://www.axway.com/
From: openldap-technical-bounces@OpenLDAP.org [mailto:openldap-technical-bounces@OpenLDAP.org] On Behalf Of Axel Grosse Sent: Thursday, 3 October 2013 10:44 PM To: openldap-technical@openldap.org Subject: openldap-2.3.43 ignore limits in slapd.conf
Hi I try to change the default search limits in an openldap-2.3.43 server.
I am using this entries in the slapd.conf
gerneral section #change to unlimited results sizelimit size.soft=10000 size.hard=10000 timelimit unlimited
Database section limits * size.soft=10000 size.hard=10000 size.pr=10000 size.prtotal=10000
but on a search I am always limited to 500 ldapsearch -H ldap://192.168.30.169 -x -D "cn=admin,o=TI" -W -b "ou=CustomerGroups,ou=GROUPS,o=TI" -s sub -a always -z 10000 "(objectClass=*)" "hasSubordinates" "objectClass" ldapentrycount
# search result search: 2 result: 4 Size limit exceeded
# numResponses: 501 # numEntries: 500
is that a know bug ? ...
AXEL GROSSE Principal Solution Architect, Sales Solution Center, Axway P: +61-405-995-768 828 Pacific Highway Gordon, 2072 NSW agrosse@axway.commailto:agrosse@axway.com http://www.axway.comhttp://www.axway.com/
openldap-technical@openldap.org