[Date Prev][Date Next] [Chronological] [Thread] [Top]

Pls help: search OpenLDAP with ADSI in VB ?


I'm new to ADSI and Visual Basic.  I'm writing a simple program to search 
OpenLDAP using ADSI with VB 6.0.  I'd like to know how to bind in ADO.  I tried
something like this but failed :

Dim con As New Connection

' before open connection
con.Properties("User ID") = "uid=123,dc=mydomain,dc=hk"
con.Properties("Password") = "password"

Would anyone please help ?

Thanks a lot.  

ST Wong

S.T. Wong                           | Email: st-wong@cuhk.edu.hk