CUSD command generates a failure when moving tokens between security domains in RSA Authentication Manager Bulk Administration (AMBA)
Originally Published: 2018-11-05
Article Number
Applies To
RSA Product/Service Type: Authentication Manager
RSA Version/Condition: 8.2 or later
Issue
Failure: yyyy-mm-dd hh:mm:ss : Line 2 - changeUserSecurityDomain - User: Unassigned, Token: 000xxxxxx123 NOT moved to Security Domaine: MyNewSecDomain - Reason: failed to find principal
Cause
Resolution
Steps to acquire the Authentication Manager database administrator password
- Logon to the SecurID Appliance either via SSH where Secure Shell has been enabled or the local console with the rsaadmin account.
- Navigate to the /opt/rsa/am/utils folder using the command:
cd /opt/rsa/am/utils
- Retrieve the password for the rsa_dba user using the following command:
./rsautil manage-secrets -a get com.rsa.db.dba.password
NOTE: When prompted, enter the Operations Console administrative account username and password.
Report on CT-KIP authcode data
- To generate a report on CT-KIP authcode data use the following command:
/opt/rsa/am/pgsql/bin/psql -h localhost -p 7050 -d db -U rsa_dba -c "COPY ( SELECT a.id, a.token_id, a.principal_id FROM rsa_rep.am_ctkip_authcode a, rsa_rep.am_principal p where a.principal_id=p.id ) TO STDOUT WITH CSV HEADER " > /tmp/report_data.csv
- When prompted enter the rsa_dba password obtained in step 3 above.
- Review the contents of the /tmp/report_data.csv:
more /tmp/report_data.csv
Removing CT-KIP authcode data
- To remove the CT-KIP authcode data in the rsa_rep.am_ctkip_authcode table use the folloing command:
/opt/rsa/am/pgsql/bin/psql -h localhost -p 7050 -d db -U rsa_dba -c "delete FROM rsa_rep.am_ctkip_authcode"
- When prompted enter the rsa_dba password obtained in step 3 above.
NOTE: The distribution of software tokens via dynamic seed provisioning (CT-KIP) will generate new data in the rsa_rep.am_ctkip_authcode table.
Notes
The syntax will be as follows:
Action,DefLogin,SecurityDomain,DestinationSecurityDomain,MiscVariable CUSD,<all>,MyOldSecDomain,MyNewSecDomain,4
Related Articles
Moving users across security domains using RSA Authentication Manager Bulk Administration (AMBA) 166Number of Views Security Domains 12Number of Views Moving Users in an LDAP Directory 35Number of Views Move Users Between Security Domains 19Number of Views Restricting Access to Automated SSO Agent IdPs Using Authentication Source Access Rules 25Number of Views
Trending Articles
Passwordless Authentication in Windows MFA Agent for Active Directory – Quick Setup Guide RSA Authentication Manager Upgrade Process RSA Authentication Manager 8.9 Release Notes (January 2026) An example of SSO using SAML and ADFS with RSA Identity Management and Governance 6.9.x RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide
Don't see what you're looking for?