You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/src/api_manual/oracledb.rst
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -966,9 +966,10 @@ Each of the configuration properties is described below.
966
966
authentication. See :ref:`External Authentication <extauth>` for more
967
967
information.
968
968
969
-
In node-oracledb Thin mode, when token-based authentication is required,
970
-
this property must be set to *true*. In all the other cases where this
971
-
property is set to *true*, an error is thrown.
969
+
In node-oracledb Thin mode, when token-based authentication or
970
+
:ref:`external authentication using TLS <tlsextauth>` is required, this
971
+
property must be set to *true*. In all the other cases where this property
972
+
is set to *true*, an error is thrown.
972
973
973
974
The default value is *false*.
974
975
@@ -2120,7 +2121,7 @@ Oracledb Methods
2120
2121
2121
2122
The default is *false*.
2122
2123
2123
-
In Thin mode, when token-based authentication is required, this property must be set to *true*. In all the other cases where this property is set to *true*, an error is thrown.
2124
+
In Thin mode, when token-based authentication or :ref:`external authentication using TLS <tlsextauth>` is required, this property must be set to *true*. In all the other cases where this property is set to *true*, an error is thrown.
2124
2125
2125
2126
This optional property overrides the :attr:`oracledb.externalAuth` property.
2126
2127
@@ -2897,7 +2898,7 @@ Oracledb Methods
2897
2898
2898
2899
If this optional property is set to *true* in Thick mode, then the connection will be established using :ref:`External Authentication <extauth>`.
2899
2900
2900
-
In Thin mode, when token-based authentication is required, this property must be set to *true*. In all the other cases where this property is set to *true*, an error is thrown.
2901
+
In Thin mode, when token-based authentication or :ref:`external authentication using TLS <tlsextauth>` is required, this property must be set to *true*. In all the other cases where this property is set to *true*, an error is thrown.
2901
2902
2902
2903
This optional property overrides the :attr:`oracledb.externalAuth` property.
Copy file name to clipboardExpand all lines: doc/src/user_guide/troubleshooting.rst
+37Lines changed: 37 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -170,3 +170,40 @@ NJS-116
170
170
If your username uses the 10G password verifier, then you need to upgrade your password verifier in Oracle Database to 11G or later to use node-oracledb Thin mode. To upgrade your password verifier, see `Finding and Resetting User Passwords That Use the 10G Password Verifier <https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-D7B09DFE-F55D-449A-8F8A-174D89936304>`__ for the detailed steps.
171
171
172
172
- Or :ref:`enable Thick mode <enablingthick>` since node-oracledb Thick mode supports password verifiers 10G and later.
173
+
174
+
.. _oraerr:
175
+
176
+
ORA Error Messages
177
+
------------------
178
+
179
+
The error messages with the prefix ``ORA`` are generated by Oracle Database.
180
+
181
+
.. _ora0107:
182
+
183
+
ORA-0107
184
+
++++++++
185
+
186
+
.. list-table-with-summary::
187
+
:stub-columns: 1
188
+
:class: wy-table-responsive
189
+
:widths: 5 35
190
+
:summary: The first row displays the ORA-0107 error message. The second row displays the probable cause for the ORA-0107 error. The third row displays the possible solution to resolve the ORA-0107 error.
191
+
192
+
* - Message
193
+
- ``ORA-01017: invalid credential or not authorized; logon denied``
194
+
* - Cause
195
+
- An invalid credential was provided when accessing the Oracle Database or you were not authorized to access this database.
196
+
* - Action
197
+
- If external authentication is set to *true*, then verify the following:
198
+
199
+
- If :ref:`TLS Authentication <tlsextauth>` is enabled, then ensure that:
200
+
201
+
- A user has been created in Oracle Database corresponding to the distinguished name (DN) in the user certificate using::
202
+
203
+
CREATE USER user_name IDENTIFIED EXTERNALLY AS 'user DN on certificate';
204
+
205
+
- The parameter ``SSL_CLIENT_AUTHENTICATION`` is set to *TRUE* in the server-side :ref:`sqlnet.ora <tnsadmin>` file.
206
+
207
+
- If you are using :ref:`token-based authentication <tokenbasedauthentication>`, then ensure that you have provided a valid user access token.
208
+
209
+
Note that storing password credentials in an Oracle wallet is not supported in node-oracledb Thin mode.
0 commit comments