From 60cec6c5b9e7d36e8f2fa7bc20bde5f58c963f24 Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Wed, 27 Jun 2018 10:50:38 +0200 Subject: [PATCH] [ROSLOGIN] Add an LDIF to disable the default OpenLDAP limit of 500 entries per query. --- resources/roslogin/sizelimit.ldif | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 resources/roslogin/sizelimit.ldif diff --git a/resources/roslogin/sizelimit.ldif b/resources/roslogin/sizelimit.ldif new file mode 100644 index 00000000..88cdca99 --- /dev/null +++ b/resources/roslogin/sizelimit.ldif @@ -0,0 +1,16 @@ +# +# This is required when debugging migrate.php, because it empties the entire LDAP directory first. +# The default size limit of 500 entries may also be exceeded for other operations, so applying this LDIF is highly recommended. +# +# Use ldapmodify -Y EXTERNAL -H ldapi:/// -f sizelimit.ldif +# + +dn: cn=config +changetype: modify +replace: olcSizeLimit +olcSizeLimit: unlimited + +dn: olcDatabase={-1}frontend,cn=config +changetype: modify +replace: olcSizeLimit +olcSizeLimit: unlimited