8.14 設定輕量目錄存取協定 (LDAP) 伺服器搜尋限制

以下終止會期說明如何使用 NTDSUTIL.EXE 變更領域控制器上的輕量目錄存取協定 (LDAP) 搜尋參數。 您只需變更 IDM 同步化在移轉期間使用之領域控制器上的這些設定即可。 寫下目前的組態值,並在完成移轉後執行 NTDSUTIL.EXE,還原為原始值。 NTDSUTIL.EXE 可以在任何成員伺服器上執行。

  1. 在指令提示符中輸入 ntdsutil。

  2. 輸入 LDAP Policies,然後按 Enter。

  3. 輸入 Connections,然後按 Enter。

  4. 輸入 Connect to domain domain_name,然後按 Enter。

  5. 輸入 Connect to server server_name,然後按 Enter。

  6. 輸入 Quit,然後按 Enter。

  7. 輸入 Show Values,然後按 Enter。

C:\>ntdsutil ntdsutil: LDAP Policies ldap policy: Connections server connections: Connect to domain raptor Binding to \\raptor1.raptor.lab ... Connected to \\raptor1.raptor.lab using credentials of locally logged on user. server connections: Connect to server raptor1 Disconnecting from \\raptor1.raptor.lab... Binding to raptor1 ... Connected to raptor1 using credentials of locally logged on user. server connections: Quit ldap policy: Show Values

Policy                          Current(New) MaxPoolThreads                  4 MaxDatagramRecv                 4096 MaxReceiveBuffer                10485760 InitRecvTimeout                 120 MaxConnections                  5000 MaxConnIdleTime                 900 MaxPageSize                     1000 MaxQueryDuration                120 MaxTempTableSize                10000 MaxResultSetSize                262144 MaxNotificationPerConn          5 MaxValRange                     1500ldap policy: set MaxQueryDuration to 1200 ldap policy: set MaxResultSetSize to 6000000 ldap policy: Commit Changes ldap policy: Quit ntdsutil: Quit Disconnecting from raptor1...C:\>