How to do VBA -> LDPA -> OIM -> Oracle?

jasmith4

Active Member
Joined
May 16, 2008
Messages
337
I have several Access/VBA applications that interface with Oracle databases. Up to now we've been using ODBC (via Access links), DAO (via the DAO360.dll library) and ADO (MSADOnn.tlb) to get to them using a connection string that names the Oracle database server, the userID and the password. The oracle clients and databases are fine, and everything works.

But now we're told we have to use LDAP for better security, which means users have to log in with their company intranet IDs to get to the Oracle databases via Oracle Identity Management (OIM), something that the DBAs will set up at some point. And we developers have to scrap all the ODBC/DAO/ADO code and use LDAP/OIM code. Therefore:

1. What object/type library do I need to reference, in place of DAO360.dll or MSADOnn.tlb, to use LDAP and OIM?
2. Is there any reference out there to that library?
3. Does anyone have any sample code?

Thanks!


Cross-posted:
http://www.mrexcel.com/forum/excel-questions/658885-how-do-visual-basic-applications-ldap-oim-oracle.html#post3265768</SPAN>
http://www.mrexcel.com/forum/general-excel-discussion-other-questions/658887-how-do-visual-basic-applications-ldap-oim-oracle.html</SPAN>
 
Last edited by a moderator:

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
The DBAs will need to make sure that you have the appropriate read or write permissions in Oracle.
Otherwise you can still use ADO, just change the connection string.

Replace the part that has
User id=Someuser; Password=YourPassword;

With
OSAuthent=1;

That's from the user end...

Denis
 
Upvote 0

Forum statistics

Threads
1,213,561
Messages
6,114,317
Members
448,564
Latest member
ED38

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top