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

Using the MS ADSI OLE DB Provider to search OpenLDAP in C++

I'm having trouble with the ADSDSOObject OLE DB Provider to search an
OpenLDAP directory.
Basically, binding and running the LDAP query seems to be fine, but I'm
unable to go through the first record (DB_E_ERRORSOCCURRED). I suspect
that in fact nothing is really done until the first row request.
Because there is no error in the directory log, it seems that the
binding is not successful.

Here is the connection string used :
Password=False;Mode=Read;Bind Flags=0"

And the query


Any help appreciated.