Changing LDAP Query size limit more than 1000

In PHP, you may get this warning (Warning: ldap_search(): Partial search results returned: Sizelimit exceeded in) when more than 1000 objects returned in single search, you can change using following guide: Open Command Prompt on a domain controller (You must use admin credentials) Type NTDSUTIL and press ENTER. In the ntdsutil: prompt, type ldap policies…