CAS8N030E SmartSprintf result length <integer> is greater than allocated 256
105
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:00 PM
Symptom
When using PKI/Smart Card Authentication you might notice that PVWA authentication is working just fine with PKI but All PSMP connections are failing. Logs show:
From the PSMP logs you'll see psmptrace.log entries like:
PSMPPS003E [SessionID] PSM SSH Proxy exception occurred. 346E [SessionID] Failed to retrieve public SSH keys from Vault for user [vaultUserName]. Reason: 346E [SessionID] Failed to retrieve public SSH keys from Vault for user [vaultUserName]. Reason: 348E Authentication failure for user vaultUserName (Codes: -1, -1)
From the vault server you'll see in the ITAlog:
CAS8N030E SmartSprintf result length <integer> is greater than allocated 256
Environment
12.0;12.1;12.2;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1 Privileged Access Manager (PAM, self-hosted) Vault The reason PKI/SmartCard from PVWA can still work but PSMP will be broken is because these two authentications have different types of impersonations on the vault side. The workflow between the PVWA and PSMP PKI authentication is slightly different. The PSMP auth triggers the vault to check in with the LDAP server.
Cause
One of the known causes of this issue is due to the LDAP bind user being locked.
Resolution
Check the LDAP bind user in Active Directory and ensure it is not locked. If it is locking on occasion, work with your windows administrators to review logs and fix the cause of the account lockouts.