search cancel

safex:  exception caught! [ret code = 0x3] - password contains special character

book

Article ID: 200718

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Workload Automation AE

Issue/Introduction

When the EiamAdmin passowrd contains a special character, authentication will fail.


[[email protected]> safex] $ ./safex -h eem_hostname1 -u EiamAdmin -p EEMAdmin1, -f IssueCertificate.xml
Setting Translation file:./safex.tr
Setting back end to "eem_hostname1"

Setting locale to "en_us"


Current XML file location: line unknown column unknown
error: action[] object[] Authenticating with Password
Safe Error: [EE_AUTHFAILED Authentication Failed]
Debug: [Authenticate Error: Authentication Failed]
Debug: [Identity Attempted: EiamAdmin]

safex:  exception caught! [ret code = 0x3]

Cause

Password contains special character.

Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Resolution

Protect the comma ',' with delimiter '\' in the password.

Example : 

EEMAdmin1,
becomes
EEMAdmin1\,

./safex -h eem_hostname1 -u EiamAdmin -p EEMAdmin1\, -f IssueCertificate.xml