AD entry query restrictions when demonstrating LDAP import

xiaoxiao2021-04-07  326

Inquiry related technical information, it is found that the number of LDAP queries is limited to 1000 for Windows2000 Server itself for performance load. When the number of entries in the AD exceeds 1000, when the LDAP query tool is used, the query result is caused to return an error.

In the AD directory in the middle set, the actual user has exceeded 1000, so there is an error message prompt when importing the user. And each time you can only import 1000 users so that Microsoft's technical information is verified.

The solution is to modify the query limit. Specific steps are as follows:

1. In the "Start" -> "Run" -> Enter: "NTDSUTIL", Enter;

2. Enter: "LDAP Policies", Enter;

3. Enter: "Connections", enter;

4. Enter: "Connect To Domain Current Domain Name" In the Medium Collection case, the domain name is: CIMC.COM

5. After the connection prompt appears, enter: "quit", enter;

6. Enter: "Show VALUES" to confirm the current maximum number of returns; (default is 1000)

7. Enter: "Set maxpagesize to

10,000

"

, Change the maximum number of returns to 10000. (The maximum number of returns can be defined according to the actual situation).

8. Enter: "Show VALUES" to confirm the current maximum number of returns (displayed as: 1000 (10000)).

9. Enter "Commit Changes" to confirm the modification.

10. Enter again: "show value" to confirm that the current maximum return number is 10000.

11. Enter "quit" and exit setting status;

12. Enter "quit" to exit the current command.

转载请注明原文地址:https://www.9cbs.com/read-132414.html

New Post(0)