CPM - ORACLE - How do I set the policy and the password object when DSN less connection without tnsname is used?
81
Created On 11/10/26 10:55 AM - Last Modified 11/10/26 12:57 PM
Objective
How do I set the policy and the password object when DSN-less connection without tnsname is used?
Environment
9.10;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Central Policy Manager (CPM)
Procedure
Use the "NoTNS" connection string file in the ExtraInfo section of the policy file:
ConnectionStringFile=OracleConnectionStringNoTNS.txt
Specify the following properties:
- Address – on the password level. Should contain the DB machine address.
- Database – on the policy / password level. Should contain the SERVICE_NAME. It should be specified it in the policy level in case the policy manages passwords on the same database but on different instances (on different machines).
- Port – on the policy / password level. The port that is used for the connection. There is a default for that in the sample policy file.
Note: If you need to use both TNS connections and TNS-less connections on the same machine please contact Cyber-Ark for additional information.
Additional Information
Details
Q:
How do I set the policy and the password object when DSN-less connection without tnsname is used?
A:
- Use the "NoTNS" connection string file in the ExtraInfo section of the policy file:
ConnectionStringFile=OracleConnectionStringNoTNS.txt - Specify the following properties:
- Address – on the password level. Should contain the DB machine address.
- Database – on the policy / password level. Should contain the SERVICE_NAME. It should be specified it in the policy level in case the policy manages passwords on the same database but on different instances (on different machines).
- Port – on the policy / password level. The port that is used for the connection. There is a default for that in the sample policy file.