I'm having trouble with the limits configuration in slapd.conf. I've searched the
mailing list, read and re-read man pages, but I just cannot make it work properly.
i've got openldap 2.4.23 built from source on RHEL5, 64-bit
I'm trying to set "unlimited" size for for my syncrepl user.
however, it is not directly related to syncrepl, I've tried with ldapsearch too,
Here is the ldapsearch command i'm trying:
ldapsearch -z 19 -x -w PASSWORDHERE -D cn=ldap_repl,ou=srvaccts,dc=internet2,dc=edu -H
-b dc=internet2,dc=edu '(cn=*)'
With this, query is limited to 19 entries as expected
but when i omit the -z option, or tell it anything above 500, and i get, of course, 500
Here is the limits statement from my slapd.conf:
limits dn.exact="cn=ldap_repl,ou=srvaccts,dc=internet2,dc=edu" size=unlimited
I also tried these:
limits dn.exact="cn=ldap_repl,ou=srvaccts,dc=internet2,dc=edu" size=999999999
limits dn.exact="cn=ldap_repl,ou=srvaccts,dc=internet2,dc=edu" size=10000
If I instead use
my ldapsearch command of course gives me full results.
Please help, I am clearly a knuckle-dragger.
Dan Pritts, Sr. Systems Engineer
office: +1-734-352-4953 | mobile: +1-734-834-7224