JAS Server rename ( JAS is connected to an ldap but gets "error" : "Unable to parse response JSON of all clients)
I tried to follow these steps ->
"Log in to the production JAS server cd /opt/IBM/JazzAuthServer/cli ./lsclient -u adminUser:adminPassword >& prodjas.backup"
but as my JAS is connected to an ldap I get only -> # cat prodjas.backup
{ "error" : "Unable to parse response JSON of all clients. {\"error_description\":\"You must be an administrator to complete this request\",\"error\":\"access_denied\"}" }
One answer
Make sure the user should be part of authentication jazz admin group in appConfig file, need not to be a local user.
<JazzAuthServer>\wlp\usr\servers\jazzop\appConfig.xml
<oauth-roles>
<authenticated>
<special-subject type="ALL_AUTHENTICATED_USERS" />
</authenticated>
<clientManager>
<group name="JazzAdmins" />
</clientManager>
</oauth-roles>
Note: Also could be because of the LDAP slow responsiveness.