Asked by:
How to check LDAP version on domain controller

Question
-
Hi,
I am in situation where I need to check the which version of LDAP 2 or 3 used in my domain.
can anyone suggest how to check it.
Thanks
Wednesday, November 21, 2018 8:23 AM
All replies
-
Hi,
Thanks for your question.
I think your problem has been solved in another post. Please refer the following similar issue.
Best Regards,
Just do it.
- Proposed as answer by Richard MuellerMVP Wednesday, November 21, 2018 10:11 AM
Wednesday, November 21, 2018 8:45 AM -
Hello,
If you have Active directory powershell module you can run :
Get-ADRootDSE -Server domainfqdn
And check the line supportedLDAPVersion.
Or you can run :
(Get-ADRootDSE -Server domainfqdn).supportedLDAPVersion
Best Regards,
- Proposed as answer by Richard MuellerMVP Wednesday, November 21, 2018 10:10 AM
Wednesday, November 21, 2018 9:07 AM -
Or, if you don't have the AD PowerShell module installed, you can run this from any Windows computer:
Set oRootDSE = GetObject("LDAP://RootDSE")
For Each sVersion In oRootDSE.Get("SupportedLDAPVersion")
Wscript.Echo sVersion
Nexthth
Marcin- Proposed as answer by Richard MuellerMVP Friday, November 23, 2018 4:01 PM
Wednesday, November 21, 2018 1:30 PM -
Hi,
Was your issue resolved?
If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
If no, please reply and tell us the current situation in order to provide further help.
Best Regards,
LEE
Just do it.
Tuesday, November 27, 2018 2:53 AM -
Hi,
Was your issue resolved?
If you resolved it using our solution, please "mark it as answer" to help other community members find the helpful reply quickly.
If you resolve it using your own solution, please share your experience and solution here. It will be very beneficial for other community members who have similar questions.
If no, please reply and tell us the current situation in order to provide further help.
Best Regards,
Lee
Just do it.
Tuesday, December 4, 2018 6:47 AM