COF execution error - User is not privileged to execute the job
search cancel

COF execution error - User is not privileged to execute the job

book

Article ID: 275084

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager

Issue/Introduction

When executing a cof file, following error appears :

User is not privileged to execute job

 

In TRC_USD_AGENT*.log there are these lines :

181023-14:08:58.7609779L|008608|00001f9c|SDAgent   |                |sdjecontainerif.cpp |000872|ERROR  | Error validating privileges for user usertest
181023-14:08:58.7619239L|008608|00001f9c|SDAgent   |                |sdjeipcprogressif.cp|000298|DETAIL | Sending IPC message:
<message version="1.0.0.0">
<RPCCall UUID="########-####-####-####-############" MethodName="PromptUser">
<Param1>User is not privileged to execute job</Param1>
<Param2/>
<Param3>0</Param3>
<Param4>0</Param4>
<Param5>4294967295</Param5>
<Param6/>
</RPCCall>
</message>

Environment

Client Automation - All versions

Cause

The user executing the cof file does not belong to the local or global Administrator group.

Resolution

Solution 1

Add the user in the local group sdofflin

 

Solution 2

If the user is already in Administrators group and/or in sdofflin group, following workaround could be tried :

1- Edit the cof file with notepad
 
2- Remove these 4 lines if the cof file has been secured
 
Secure=1
Hash=...
FIPSHash=...
FIPSMode=1
 
 
3- Add these 2 lines in section [Container]
 
UserName = <username>
DomainName = 
 
Replace <username> by a username
 
 
4- Secure again the cof file is needed 
sd_acmd SecureContainer <file.cof>
 

Remark :
On some environments, sd_acmd has problem to retrieve the logged UserName or DomainName and these 2 entries are not added in cof file.
This generates the error "User is not privileged to execute job"

Additional Information