mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
Change default LDAP page size to 1000.
This matches Windows' Active Directory maximum page size. Signed-off-by: Justin Maggard <jmaggard@netgear.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
parent
19fffeb75a
commit
8c2609f318
@ -12,6 +12,6 @@
|
||||
This parameter specifies the size of these pages.
|
||||
</para>
|
||||
</description>
|
||||
<value type="default">1024</value>
|
||||
<value type="default">1000</value>
|
||||
<value type="example">512</value>
|
||||
</samba:parameter>
|
||||
|
@ -2744,7 +2744,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
|
||||
|
||||
lpcfg_do_global_parameter(lp_ctx, "allocation roundup size", "1048576");
|
||||
|
||||
lpcfg_do_global_parameter(lp_ctx, "ldap page size", "1024");
|
||||
lpcfg_do_global_parameter(lp_ctx, "ldap page size", "1000");
|
||||
|
||||
lpcfg_do_global_parameter(lp_ctx, "kernel share modes", "yes");
|
||||
|
||||
|
@ -78,7 +78,7 @@ struct ldapsam_privates;
|
||||
|
||||
#define LDAP_DEFAULT_TIMEOUT 15
|
||||
#define LDAP_CONNECTION_DEFAULT_TIMEOUT 2
|
||||
#define LDAP_PAGE_SIZE 1024
|
||||
#define LDAP_PAGE_SIZE 1000
|
||||
|
||||
#define ADS_PAGE_CTL_OID "1.2.840.113556.1.4.319"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user