s3-libads: Use the configured LDAP page size.
authorJustin Maggard <jmaggard10@gmail.com>
Thu, 14 Jan 2016 00:25:34 +0000 (16:25 -0800)
committerVolker Lendecke <vl@samba.org>
Fri, 15 Jan 2016 02:59:16 +0000 (03:59 +0100)
commitcf05ba5b3210e9258dd4a1126bd29a1e696ec957
treefefd9bb8f9fb40bd1fe36e90b221ab107971a255
parent8c2609f3186d40afb5954737dc174ce190cd368a
s3-libads: Use the configured LDAP page size.

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, which defaults to 1000.

Signed-off-by: Justin Maggard <jmaggard@netgear.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Jan 15 03:59:16 CET 2016 on sn-devel-144
source3/libads/ads_struct.c
source3/libads/ldap_utils.c