Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

LDAPSearch and LDAPv3

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 REPLY
Community Member

Re: LDAPSearch and LDAPv3

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", "172.16.0.10", "dc=mycompany,dc=co,dc=uk", "3268", "specialuser", "specialpass", "900");

Hope that helps...

Regards,

Darren.

145
Views
0
Helpful
1
Replies
CreatePlease to create content