smbldap: Introduce "smbldap_get_paged_results"
[amitay/samba.git] / source3 / passdb / pdb_ldap.c
index 7c5f8cfd7bd88cfaf9f2bb845001539bcdc90bfd..951417583bc78ea4008c8aa4399a93fae6f65a47 100644 (file)
@@ -4424,7 +4424,7 @@ static bool ldapsam_search_firstpage(struct pdb_search *search)
 
                /* Ok, the server was lying. It told us it could do paged
                 * searches when it could not. */
-               state->connection->paged_results = False;
+               smbldap_set_paged_results(state->connection, false);
        }
 
         ld = smbldap_get_ldap(state->connection);