[PATCH] s3-libads: Use the configured LDAP page size.

Andrew Bartlett abartlet at samba.org
Tue Jun 23 22:11:52 MDT 2015

On Tue, 2015-06-23 at 16:01 -0700, Justin Maggard wrote:
> We already allow the user to configure LDAP page size, and use it in 
> pdb_ldap.
> But then we hard-code the initial LDAP page size value to 1000 in 
> ads_init, so
> it doesn't take effect there.  So let's use the configured LDAP page 
> size value
> in ads_init also (defaults to 1024).

I'm concerned about the interaction between this and the 1000 default
max search size in AD.

I don't mind if it is the minimum of the the smb.conf parameter and
1000, or if the smb.conf parameter defaults to 1000, but 1024 seems to
be asking for trouble.


Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team         http://samba.org
Samba Development and Support, Catalyst IT   http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list