Authentication
All Oracle databases require authentication. You can configure the Simba Oracle ODBC Driver to provide your credentials and authenticate the connection to the database using one of the following methods:
Using Your Oracle Database Credentials
You can configure the connector to authenticate the connection using your database credentials.
To configure authentication using your database credentials:
- To access authentication options, open the ODBC Data Source Administrator where you created the DSN, select the DSN, and then click Configure.
- Make sure that the Use External Credentials check box is cleared. If that check box is selected, then the User and Password fields are not available, and the connector uses Kerberos authentication instead.
- In the User field, type your user name for accessing the Oracle database.
- In the Password field, type the password corresponding to the user name you typed above.
- To save your settings and close the dialog box, click OK.
Using Kerberos
You can configure the connector to use the Kerberos protocol to authenticate the connection. The connector retrieves and uses a Kerberos ticket based on the settings in the sqlnet.ora
configuration file.
Before you can use this authentication mechanism, you must specify the necessary Kerberos settings in the sqlnet.ora
file, and set the TNS_ADMIN environment variable on your machine to point to the path of the sqlnet.ora
file. For more information, see the following:
- For information about configuring Kerberos for your Oracle database, including details about the settings required in the
sqlnet.ora
file, see "Configuring Kerberos Authentication" in the Oracle Database Security Guide: https://docs.oracle.com/en/database/oracle/oracle-database/19/dbseg/configuring-kerberos-authentication.html. - For general information about the
sqlnet.ora
file, see "Parameters for the sqlnet.ora File" in the Oracle Database Net Services Reference: https://docs.oracle.com/en/database/oracle/oracle-database/19/netrf/parameters-for-the-sqlnet-ora-file.html.
To configure Kerberos authentication:
- To access authentication options, open the ODBC Data Source Administrator where you created the DSN, select the DSN, and then click Configure.
- Select the Use External Credentials check box.
- To save your settings and close the dialog box, click OK.