s3-libads: Use a reducing page size to try and cope with a slow LDAP server
[ddiss/samba.git] / source3 / include / ads.h
index f1141110621d3bf9ae6b6b6f7d51485255c8ab72..5d43275b7e8480e0e184df1139e168dc1f0561dd 100644 (file)
@@ -1,25 +1,5 @@
 #ifndef _INCLUDE_ADS_H_
 #define _INCLUDE_ADS_H_
-
-/*
-   Unix SMB/CIFS implementation.
-
-   (C) 2011 Samba Team.
-
-   This program is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; either version 3 of the License, or
-   (at your option) any later version.
-
-   This program is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
 /*
   header for ads (active directory) library routines
 
@@ -81,6 +61,7 @@ typedef struct ads_struct {
                time_t current_time;
                char *schema_path;
                char *config_path;
+               int ldap_page_size;
        } config;
 
        /* info about the current LDAP connection */