Access LDAP server with OLEDB provider 
Author Message
 Access LDAP server with OLEDB provider

Hello,

First, I'm french, so my english isn't very good.

I try to access to LDAP server (in my case Imail server, but I would like my
code works for any LDAP Server) .
I have the message
-2147217865 "The specified table does not exist"

I use the Active Directory OLD DB provider (ADsDSOObject). For Microsoft, it
can be used to access to any LDAP Service.

code :

  oConnection.Provider = "ADsDSOObject"
  oConnection.Open "Active Directory Provider"

  strCommand = "<LDAP://serveur>;(objectClass=Person);cn;subtree"
  Set oRecordset = oConnection.Execute(strCommand)

It works when I try to access to the Windows2000 Active Directory but not
when I try to access to LDAP service of Imail Server.
I'm looking for samples of using this provider with other LDAP service than
the Active Directory
and explanation of syntax of LDAP dialect. (DC, CN, OU, .....)

Thank you for all response.

--
Stphane DOUSSIERE



Tue, 18 May 2004 19:52:30 GMT  
 Access LDAP server with OLEDB provider
Hi,
how r u ?
did u find a solution to your problem. as even I am seeking for the
same.

bye

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sun, 01 Aug 2004 09:37:44 GMT  
 Access LDAP server with OLEDB provider

No interesting solution with OLEDBprovider as ActiveDirectory OLEDB
provider can be used only with LDAP servers which supports
ActiveDirectory protocol and not all LDAP Servers.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Sun, 01 Aug 2004 15:13:41 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. OLEDB Provider Issues: ODBC Drivers vs Sql Server

2. OLEDB Provider Error - Supplied Provider is different from the one already in use

3. MS Access OLEDB provider

4. How to connect to access 2000 using oledb provider

5. Jet.oledb provider with Access 97

6. Microsoft.Jet.OLEDB.4.0 Provider not working with Access 97 MDB

7. OLEDB Provider for Access in eVB

8. OLEDB Provider For eVB(Using Access)

9. Using VB to access Exchange Server via ADSI/LDAP

10. Using VB to access Exchange Server via ADSI/LDAP

11. Error 2147023541 with LDAP provider

12. LDAP Provider don't work in this case

 

 
Powered by phpBB® Forum Software