request services user-identification authentication-source jims validate (user <user-name>|group <group-name>|device <device-name>) domain <domain-name>
Syntax
request services user-identification authentication-source jims validate (user <user-name>|group <group-name>|device <device-name>) domain <domain-name>
Description
Displays the list of status of some user or group or device information.
When the client-id or client secret is error, the command shows the unauthorized error in the received status message.
When the server is offline, the command shows couldn’t connect to server error in the received status message.
When the HTTP request timeouts for different reasons, the command shows timeout reached in the received status message.
If there are any other communication error, then there is no validation carried out on a status message.
Options
user-name | User ID. |
group-name | Name of the group. |
device-name | Name of the connected device. |
domain-name | Name of the domain. |
Required Privilege Level
view
Output Fields
The following examples cover how to validate the valid user, device, and group for JIMS.
Sample Output
request services user-identification authentication-source jims validate (user <user-name>|group <group-name>|device <device-name>) domain <domain-name>
The following commands are used to request JIMS validator for validating a specified user, device, and group.
user@host> request services user-identification authentication-source jims validate user <user-name> domain <domain-name> node0: -------------------------------------------------------------------------- user@host> request services user-identification authentication-source jims validate user <user-name> domain <domain-name> status node0: -------------------------------------------------------------------------- Server-type : JIMS Logical system name : root-logical-system Domain : domain-name Nametype : user Namestring : user-name Validate result : valid Received status message : OK(200) Update time : 2020-04-19 23:57:37 user@host> request services user-identification authentication-source jims validate user <user-name> domain <domain-name> force-fetch node0: -------------------------------------------------------------------------- user@host> request services user-identification authentication-source jims validate group <group-name> domain <domain-name> node0: -------------------------------------------------------------------------- user@host> request services user-identification authentication-source jims validate group <group-name> domain <domain-name> status node0: -------------------------------------------------------------------------- Server-type : JIMS Logical system name : root-logical-system Domain : domain-name Nametype : group Namestring : group-name Validate result : valid Received status message : OK(200) Update time : 2020-04-08 21:19:35 user@host> request services user-identification authentication-source jims validate group <group-name> domain <domain-name> force-fetch node0: -------------------------------------------------------------------------- user@host> request services user-identification authentication-source jims validate device <device-name>$ domain <domain-name>
You must add an $ after device name or computer name.
node0: -------------------------------------------------------------------------- user@host> request services user-identification authentication-source jims validate device <device-name>$ domain <domain-name> status node0: -------------------------------------------------------------------------- Server-type : JIMS Logical system name : root-logical-system Domain : domain-name Nametype : device Namestring : device-name$ Validate result : failed Received status message : Forbidden(403) Update time : 2020-04-24 01:34:18 user@host> request services user-identification authentication-source jims validate device <device-name>$ domain <domain-name> force-fetch node0: --------------------------------------------------------------------------
Release Information
Command introduced in Junos OS Release 20.2R1.