Problem Note 71050: User tickets might not be configured for the maximum life in a Constrained Delegation Kerberos enabled SAS® Viya® 3.5 environment
When you use Kerberos Constrained-Delegation in SAS Viya 3.5, the expiration of the ticket made available to the compute server might not reflect the full ticket lifetime in the Kerberos configuration.
This issue can cause SAS sessions to start successfully but be unable to connect to downstream Kerberos-secured processes.
This issue occurs because the ticket expiration is based on the ticket from SAS Launcher Server that it uses to obtain a delegated ticket for the user, and the SAS Launcher Server does not renew this ticket until it has expired by default.
A workaround is to start a new SAS session.
Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.
Post Hot Fix Instructions
The hot fix adds a configuration environment variable: SAS_CRED_RENEW_INTERVAL.
When this variable is unset or set to a negative integer, the default behavior continues.
When it is set to a positive integer n, the SAS Launcher Server renews its Kerberos ticket every n seconds.
When it is set to zero (0), the SAS Launcher Server renews its Kerberos ticket with each inbound request.
To set this variable, complete the following steps:
1. Source the consul.conf configuration file:
. /opt/sas/viya/config/consul.conf
2. Run the sas-bootstrap-config command to add the environment variable to the SAS® Configuration Server:
/opt/sas/viya/home/bin/sas-bootstrap-config \
--token-file /opt/sas/viya/config/etc/SASSecurityCertificateFramework/tokens/consul/default/client.token \
kv write --force --key config/launcher-server/global/environment/SAS_CRED_RENEW_INTERVAL --value n
3. Restart the SAS Launcher Server on any ComputeServer hosts:
sudo systemctl restart sas-viya-runlauncher-default
Operating System and Release Information
SAS System | SAS Viya 3.x | Linux for x64 | 3.5 | | Viya 3.5 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
When you use Kerberos Constrained-Delegation in SAS Viya 3.5, the expiration of the ticket made available to the compute server might not reflect the full ticket lifetime in the Kerberos configuration.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2024-11-20 13:34:17 |
Date Created: | 2024-11-15 14:59:14 |