Centrify DirectControl with Centrify DB2-Plugin 4.5.0 on RedHat 6.x & Other Linux Platforms
Running ASNCLP commands to connect to remote Oracle DB using Centrify DB2 module produce an error. The asnclp run on the DB2 remote server while trying to authenticate <dbinstance> against <capitalizeddbname> at the target server. It tries to connect to a remote Database using user/password then fails. If the username and password tried locally on the Database server, it works.
Example: remote server target server asnclp --- DB connect à DB: CUT02CUR, User: cut02dbi
The connection failed with the error as shown below: CMD: SET SERVER TARGET TO DB CUT02GWD ID cut02uga PASSWORD "Passw0rd"; ==== ASN2022E The action ended in error. An SQL error was encountered. SQL message is "[jcc][3.65.110] T2LUW exception: SQL30082N Security processing failed with reason "24" ("USERNAME AND/OR PASSWORD INVALID"). SQLSTATE=08001 ERRORCODE=-30082, SQLSTATE=08001". ASN1954E ASNCLP : Command failed.
Note:ASNCLP program is a command-line interface for administration of SQL Replication, Q Replication (Q-rep), Classic replication and relational Event Publishing.
The issue is ANSCLP script will connect to both source Domain Controller and target Database to generate SQL for later run. When ANSCLP connect to remote server, it tries to connect as instance owner (local) with password. In this instance, it sends over username in upper case.
Set the following parameter in /etc/centrifydc/centrifydc.conf :