For SSH, RDP, Telnet, and Citrix ICA connections, usermapping policies can be defined. A usermapping policy describes who can use a specific username to access the remote server: only members of the specified local or LDAP usergroups (for example, administrators) can use the specified username (for example, root) on the server.
|
Caution:
In SSH connections, the users must use the following as their username: gu=username@remoteusername, where username is the username used in the LDAP directory, One Identity Safeguard for Privileged Sessions will use this username to determine their group memberships, and remoteusername is the username they will use on the remote server. For example, to access the example.com server as root, use: gu=yourldapusername@root@example.com For the username of SSH users, only valid UTF-8 strings are allowed. |
|
Caution:
In Telnet connections, usermapping policy works only if Extract username from the traffic is enabled. For details, see Extracting username from Telnet connections. |
When configuring ICA connections, also consider the following:
|
Caution:
If the clients are accessing a remote application or desktop that is shared for Anonymous users (that is, the Users properties of the application is set to Allow anonymous users in the Citrix Delivery Services Console), the actual remote session will be running under an Anonymous account name (for example, Anon001, Anon002, and so on), not under the username used to access the remote server. Therefore, you need to enable usermapping to the Anon* usernames. To accomplish this, create a usermapping policy and set the Username on the server option to Anon*, and the Groups option to *, then use this usermapping policy in your ICA connections. For details on using usermapping policies, see Configuring usermapping policies. |
|
NOTE:
Starting from SPS version 3.2, usermapping is possible only when gateway authentication is used as well. |
To configure usermapping
Navigate to Policies > Usermapping Policies.
Figure 244: Policies > Usermapping Policies — Configuring usermapping policies
Click to create a new policy, and enter a name for the policy.
Click and enter the username that can be used to access the remote server (for example root) into the Username on the server field. SPS will use this username in the server-side connection. To permit any username on the server side, enter an asterisk (*).
Select Groups, click and specify who is permitted to use the remote username set in the Username on the server field.
If you have an LDAP Server set in the connection policy where you will use usermapping, enter the name of the local or LDAP usergroup (for example admins) whose members will be permitted to use the remote username. For details on LDAP authentication, see Authenticating users to an LDAP server.
|
NOTE:
The LDAP server configured in the connection policy is not necessarily the same as the LDAP server used to authenticate the users accessing the SPS web interface. |
If you do not authenticate the connections to an LDAP server, enter the name of the userlist whose members will be permitted to use the remote username. For details on using userlists, see Creating and editing user lists.
Repeat this step to add further groups if needed.
Repeat steps 3-4 to add further usernames if needed.
To permit other users, who are not explicitly listed in the Usermapping Policy access the remote servers, select the Allow other unmapped usernames option. Note that these users must use the same username on the SPS gateway and the remote server.
Click .
Navigate to the Connections page of the traffic (for example to SSH Control > Connections), and select the connection policy to modify.
Select the usermapping policy created in Step 2 from the Usermapping policy field.
Click .
|
NOTE:
For RDP connections, usermapping is possible only when gateway authentication is used as well. When configuring usermapping for RDP connections, proceed to Configuring out-of-band gateway authentication and configure gateway authentication. |
When gateway authentication is required for a connection, the user must authenticate on One Identity Safeguard for Privileged Sessions (SPS) as well. This additional authentication can be performed:
Out-of-band, on the SPS web interface, for every protocol.
Inband, using the incoming connection, for the SSH, Telnet, and RDP protocols.
For details about the concepts of gateway authentication, see The gateway authentication process. You can use gateway authentication to authenticate the real person when the user is using a shared account to access the target server.
|
NOTE:
For SSH, Telnet, and RDP connections, gateway authentication can be performed also inband, without having to access the SPS web interface.
|
|
NOTE:
Gateway authentication can be used together with other advanced authentication and authorization techniques like four-eyes authorization, client- and server-side authentication, and so on. |
|
Caution:
If the username used within the protocol to access the remote server is different from the username used to perform gateway authentication (for example, because the user uses a shared account in the remote server, but a personal account for gateway authentication), usermapping must be configured for the connection. For details on usermapping, see Configuring usermapping policies. |
|
NOTE:
To configure a credential store for gateway authentication, see Using credential stores for server-side authentication. |
Configuring out-of-band gateway authentication
Performing inband gateway authentication in SSH and Telnet connections
The following describes how to perform out-of-band gateway authentication on One Identity Safeguard for Privileged Sessions (SPS).
To perform out-of-band gateway authentication on SPS
Initiate a connection from a client. If gateway authentication is required for the connection, SPS will pause the connection.
|
NOTE:
For SSH and Telnet connections, when initiating the connection, you can use the following as your username: gu=gatewayusername@remoteusername, where gatewayusername is the username you will use to login to the SPS web interface (also called gateway user), and remoteusername is the username you will use on the remote server. |
Open a browser, preferably on the same host you initiated the connection from, and navigate to the login page of SPS.
|
Caution:
If the username used within the protocol is different from the username used to access the SPS web interface to perform gateway authentication, usermapping must be configured for the connection. For details on usermapping, see Configuring usermapping policies. |
Log in to SPS, and select Gateway Authentication from the main menu. The list of connections waiting for gateway authentication will be displayed.
|
NOTE:
|
Figure 247: Gateway Authentication — Performing gateway authentication
Select the connection that you started, and click Assign.
Continue to authenticate on the server.
To authenticate another session, you must either:
repeat this procedure, or
if your SPS administrator has enabled the auto-assign feature, you do not have to repeat this procedure as long as the browser tab you authenticated on SPS is open.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center