ToastMan Asked: 2010-08-07 09:38:23 +0800 CST2010-08-07 09:38:23 +0800 CST 2010-08-07 09:38:23 +0800 CST Windows Server 2003 SP2 - What version of LDAP am I using? 772 Is it possible to check the LDAP version in Windows Server 2003 without running a powershell script? Thanks, Toast windows windows-server-2003 ldap 2 Answers Voted Best Answer johnh 2010-08-07T19:03:11+08:002010-08-07T19:03:11+08:00 the following vbscript will work : Set objRootDSE = GetObject("LDAP://RootDSE") For Each strVersion In objRootDSE.Get("SupportedLDAPVersion") Wscript.Echo "LDAP Version: " & strVersion Next returns : LDAP Version: 3 LDAP Version: 2 see http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2general/thread/89ac522b-d21e-4b2c-ba28-0b3cd7c96b9d sysadmin1138 2010-08-07T09:44:55+08:002010-08-07T09:44:55+08:00 Unless I'm very much mistaken, AD's LDAP supports the LDAPv3 protocol uniformly.
the following vbscript will work :
returns :
LDAP Version: 3
LDAP Version: 2
see http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2general/thread/89ac522b-d21e-4b2c-ba28-0b3cd7c96b9d
Unless I'm very much mistaken, AD's LDAP supports the LDAPv3 protocol uniformly.