AnsweredAssumed Answered

CLI error adding windows target application

Question asked by wornout on Oct 24, 2018
Latest reply on Oct 25, 2018 by wornout

I'm using the CLI for CAPAM 3.2.2 trying to add a target application of type windows.   I'm receiving error "PAM-CM-3455: No Password Authority Windows Proxy specified."

 

Here's my CLI example.   

curl -k "https://10.0.1.1/cspm/servlet/adminCLI?adminUserID=super&adminPassword=hiddenpass&cmdName=addTargetApplication&TargetServer.hostName=host1&TargetApplication.name=host1&TargetApplication.type=windows&Attribute.descriptor1=windows&PasswordPolicy.name=longPCP&proxy.hostName=10.0.1.2&Attribute.accountType=local"

 

full output of curl command

<cw.appMessage><statusCode>5052</statusCode><statusMessage>PAM-CM-3455: No Password Authority Windows Proxy specified.</statusMessage><content><![CDATA[<CommandResult><cr.itemNumber>0</cr.itemNumber><cr.statusCode>5052</cr.statusCode><cr.statusDescription>PAM-CM-3455: No Password Authority Windows Proxy specified.</cr.statusDescription><cr.result></cr.result></CommandResult>]]></content></cw.appMessage>

 

According to the addTargetApplication - CA Privileged Access Manager - 3.2.2 - CA Technologies Documentation 

there's no mention of specifying the proxy server in the data payload so I'm just guessing the key is proxy.hostName

 

FYI, I've successfully used the CLI adding target applications of type unixII and mssql.

 

Thank you

Outcomes