下面是一个终止会话,显示如何使用 NTDSUTIL.EXE 更改域控制器上的 LDAP 搜索参数。 只需要更改在迁移的持续时间内,用于 IDM 同步的域控制器上的这些设置。 写下当前配置值,并在完成迁移后运行 NTDSUTIL.EXE,以恢复原始值。 可以在任何成员服务器上运行 NTDSUTIL.EXE。
在命令提示符下键入 ntdsutil。
键入 LDAP Policies,然后按 Enter 键。
键入 Connections,然后按 Enter 键。
键入 Connect to domain domain_name,然后按 Enter 键。
键入 Connect to server server_name,然后按 Enter 键。
键入 Quit,然后按 Enter 键。
键入 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:\>