Skip to content
Prev 1254 / 1559 Next

remote connection to an Oracle database - using RODBC

Hi Raff,

Based upon the reply from Actual Tech below, you should definitely remove the XML file name from the Setup File entry in the driver configuration. 

I did not see an indication in your communication with them below that you specifically mentioned the need for Kerberos based authentication, which would be a critical omission in the interaction with them, if so. :-)
1. Go into ODBC Manager and select the DSN configuration for your Oracle server. 

2. On the initial page ("Introduction"), select Continue. 

3. That will bring you to a page where you "Enter the data source name". Be sure that information is correct and then press Continue.

4. On the next page ("Select the database"), select "Advanced Options".  That will bring up a dialog window where you can select "Use Oracle Advanced Security". Once you select that, you can then enter the additional parameters for Encryption and Checksum. Once you do that with the correct parameters, press OK.

5. That should then bring you to a "Conclusion" window. On the bottom of that window will be a Test button, which you should press. You should then be prompted for  username and password information. Then press OK, which should then bring up a test results window with information on success/failure. If successful, then press OK and you will be returned to the Conclusion window and you are done.


Since I don't have Kerberos on my Oracle server here, I cannot actually test all of this. Based upon some of those same sources I found, I believe that you can leave the 'uid' and 'pwd' arguments to odbcConnect() blank, as the ODBC DSN configuration information for the 'connection' argument should automatically pass that information to Oracle, rather than needing to pass it in the connection string. You will need to test that hypothesis of course.

Hopefully that gets you moving forward.

Regards,

Marc

P.S. "Mr." :-)
On Nov 30, 2012, at 6:57 PM, Raffaello Vardavas <r_vardavas at hotmail.com> wrote: