Authentication failures on the SAS Metadata Server are often presented to the end user as a circular re-prompting for credentials, or a message such as the following:
It is often necessary to see logging with more details about the authentication process on the SAS Metadata Server to determine why authentication is failing. In particular, trace-level logging is helpful in troubleshooting unexpected or erroneous behavior in the following scenarios:
If you encounter an authentication failure, complete the following five steps to troubleshoot the problem:
If your metadata server authentication mechanism is Metadata server direct use of LDAP, or a combination of providers such as host and LDAP, then you should set the Audit.Authentication logger to Trace. This logger writes server authentication requests that contain the inbound user ID, the authentication provider that was used, and the authenticated user ID.
If your metadata server authentication mechanism is Metadata server direct authentication to LDAP over SSL, or it incorporates FIPS 140-2, then you should set the Audit.Authentication, App.tk.eam, and App.tk.LDAP loggers to Trace. The two App.tk loggers include messages regarding the FIPS mode and the SSL handshake process.
If your metadata server is a UNIX or Linux operating system and you know that host authentication is failing, then follow the instructions in SAS KB0036227: "Using PROC PERMTEST to diagnose UNIX host authentication issues in SAS® 9.2 and later releases."
Here are two common ways to change logger levels on the SAS Metadata Server:
Both methods take effect immediately and do not require that you restart the SAS Metadata Server. If you are running a clustered metadata server environment, the loggers must be changed on all nodes in the cluster. The App.tk.LDAP logger cannot be set within SAS Management Console. Therefore, if you need to set the level for App.tk.LDAP, use the IOMOPERATE procedure.
Caution: The SAS Metadata Server log files grow quickly in size with trace logging enabled, particularly with the App.tk loggers enabled. Running out of disk space can cause the metadata server to stop performing, and can cause corruption to the metadata repository. When you adjust logger levels, you must be certain that you monitor disk space. Return the loggers to their prior levels once you have captured the events that you need to trace.
Note:The App.tk.LDAP logger is not accessible from within SAS Management Console. Use the IOMOPERATE procedure to set that logger.
For more information, see the "Use the Loggers Tab in the Server Manager, and (If Necessary) Change Logging Levels for Individual Loggers" section on page 113 in SAS® 9.4 Intelligence Platform: System Administration Guide.
Note: The LIST statement within the IOMOPERATE procedure generates a listing of logger levels before to changing their value. This is a useful reference for step 5, below, to return loggers to their previous level.
For more details about loggers, see "Chapter 1: The SAS Logging Facility" in SAS® 9.4 Logging: Configuration and Programming Reference.
Reproduce the authentication failure or monitor authentication activity, noting the user ID and time of the authentication problems. Evaluate the SAS Metadata Server log.
The start of each authentication request is marked by the string, Create Authenticated Token, and ends with New client connection ..., similar to the following two examples:
Note: The above examples show results from the Audit.Authentication logger. Results from App.tk.eam and App.tk.LDAP include far more data.
If you need help with reading the trace logs, or otherwise determining what to do with the trace data, send the following information to SAS Technical Support:
It is important to return loggers to their previous levels. With trace-logging enabled, particularly for the App.tk loggers, log files grow rapidly in size. Running out of disk space for the log files can cause the metadata server to stop performing, and can cause corruption to the metadata repository. If you ran the IOMOPERATE procedure, as indicated above, to set the logger levels to Trace, you can refer to the List output that was written to the SAS Log to determine the initial level for the loggers.
Note: Restarting the SAS Metadata Server reverts logging to the original levels. These levels are determined by the Log Configuration file.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SAS System | SAS Metadata Server | z/OS | 9.3 | 9.3 TS1M0 | ||
Microsoft® Windows® for x64 | 9.3 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2003 Datacenter Edition | 9.3 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2003 Enterprise Edition | 9.3 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2003 Standard Edition | 9.3 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2003 for x64 | 9.3 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2008 | 9.3 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2008 R2 | 9.3 | 9.3 TS1M0 | ||||
Microsoft Windows Server 2008 for x64 | 9.3 | 9.3 TS1M0 | ||||
Microsoft Windows XP Professional | 9.3 | 9.3 TS1M0 | ||||
Windows 7 Enterprise 32 bit | 9.3 | 9.3 TS1M0 | ||||
Windows 7 Enterprise x64 | 9.3 | 9.3 TS1M0 | ||||
Windows 7 Home Premium 32 bit | 9.3 | 9.3 TS1M0 | ||||
Windows 7 Home Premium x64 | 9.3 | 9.3 TS1M0 | ||||
Windows 7 Professional 32 bit | 9.3 | 9.3 TS1M0 | ||||
Windows 7 Professional x64 | 9.3 | 9.3 TS1M0 | ||||
Windows 7 Ultimate 32 bit | 9.3 | 9.3 TS1M0 | ||||
Windows 7 Ultimate x64 | 9.3 | 9.3 TS1M0 | ||||
Windows Vista | 9.3 | 9.3 TS1M0 | ||||
Windows Vista for x64 | 9.3 | 9.3 TS1M0 | ||||
64-bit Enabled AIX | 9.3 | 9.3 TS1M0 | ||||
64-bit Enabled HP-UX | 9.3 | 9.3 TS1M0 | ||||
64-bit Enabled Solaris | 9.3 | 9.3 TS1M0 | ||||
HP-UX IPF | 9.3 | 9.3 TS1M0 | ||||
Linux | 9.3 | 9.3 TS1M0 | ||||
Linux for x64 | 9.3 | 9.3 TS1M0 | ||||
Solaris for x64 | 9.3 | 9.3 TS1M0 |
Type: | Usage Note |
Priority: | |
Topic: | System Administration ==> Logging System Administration ==> Security ==> Authentication |
Date Modified: | 2016-11-28 10:45:31 |
Date Created: | 2013-12-23 10:42:29 |