📦Fix Ldap Error Search Configuration Naming Context failed
Cause : สาเหตุเนื่องมาจาก อาจเกิดจากติดสิทธิ์ Permission ทำให้ไม่สามารถกำหนดค่า Max Page Size บน Ldap ได้ ซึ่งเราสามารถแก้ไขได้โดยการ Connect โดยใช้ Local Credential
ldap policy: Set MaxPageSize to 5000
*** Error: ldap_search of configurationNamingContext failed with 0x59(89 (Parameter Error).
Configuration
ทำการเรียกใช้ NTDS Util Command
ntdsutil
ทำการพิมพ์ ldap policies
ldap policies
ทำการพิมพ์ connections
connections
ทำการพิมพ์ Connect to server localhost
server connections: Connect to server localhost
Binding to localhost ...
Connected to localhost using credentials of locally logged on user.
ทำการ Exit Connection
q
ลองทำการ Show Values
Show Values
Policy Current(New)
MaxPoolThreads 4
MaxPercentDirSyncRequests 0
MaxDatagramRecv 4096
MaxReceiveBuffer 10485760
InitRecvTimeout 120
MaxConnections 1000
MaxConnIdleTime 900
MaxPageSize 5000
MaxBatchReturnMessages 0
MaxQueryDuration 120
MaxTempTableSize 10000
MaxResultSetSize 262144
MinResultSets 0
MaxResultSetsPerConn 0
MaxNotificationPerConn 5
MaxValRange 1500
MaxValRangeTransitive 0
ThreadMemoryLimit 0
SystemMemoryLimitPercent 0
ทำการ Set MaxPageSize
set Maxpagesize to 50000
ทำการ Commit
commit Changes
อ่านเพิ่มเติม : https://bit.ly/3CxE3kw
Last updated
Was this helpful?