Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Robin_Berthier
Participant
Jump to solution

"mgmt_cli login" triggers err_login_failed and only works using "-r true"

Hi,

I am trying to understand the requirements on the user account in order to connect to the web api without the need to be root.

Running "mgmt_cli login" with an admin user on an R80.20 management server triggers the error err_login_failed (message: Authentication to server failed).

No error is triggered if we use "mgmt_cli -r true" but we want to use session id and avoid logging in as root.

Attached are screenshots showing :

- [api status] the api is up with all access granted

- [user profile] the user (admin) has the "Management API Login" enabled

- [mgmt_cli login outputs] successful when run as root but failing when not using "-r true"

The same admin user account works fine to ssh to the management server or log into SmartDashboard.

Is there any requirement on the authentication method (we use "Checkpoint Password" here) to access the API without the need to be root (-r true)?

Thanks for any hint!

0 Kudos
7 Replies
This widget could not be displayed.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events