LDAPSearch and LDAPv3

Unanswered Question
Oct 18th, 2005
User Badges:

I was wondering if the LDAPSearch COM object was compatible with an authenticated LDAPv3 server. I have not been able to get it working, always getting a PROTOCOL ERROR message.

I can connect to the LDAP server no problem with "LDAP Browser".

Running SDK 3.3.4

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Darren Parkinson Thu, 10/20/2005 - 03:35
User Badges:

I don't know a huge amount about LDAPv3, but I know that we are using MS AD and I can connect with the LDAPBrowser (www.ldapbrowser.com) which has helped me no end in identifying issues. When I use this, I connect with LDAP Version 3. We have a special user account for accessing it, but I can also access it using my normal User DN too.

I've been playing around with the LDAPSearch object over the last couple of days and have managed to connect ok. I basically modified the multidirectory demo app and used the following:

dirs[0] = new Directory("Global Catalog", "", "dc=mycompany,dc=co,dc=uk", "3268", "specialuser", "specialpass", "900");

Hope that helps...




This Discussion