Wireless 802.11 clients and APs can use Internet Authentication Service (IAS) — the Microsoft implementation of RADIUS — to enforce authentication in an enterprise environment. The following services and features are associated with authentication infrastructure of Wireless 802.11.
IAS Event Logging
To troubleshoot IAS authentication attempts, view events in the Windows event logs. Ensure that event logging is enabled for all types of IAS events (such as rejected, discarded, and successful authentication events). Event logging for all these types of events are enabled by default for both Windows Server 2003 IAS and Windows 2000 IAS.
IAS events are stored in the system event log, which can be viewed in the Event Viewer snap-in. Here is an example of a successful IAS authentication event (Event ID 1).
User client@example.com was granted access.
Fully-Qualified-User-Name =example.com/Users/Client
NAS-IP-Address =10.7.0.4
NAS-Identifier =<not present>
Client-Friendly-Name =Building 7 Wireless AP
Client-IP-Address =10.7.0.4
NAS-Port-Type =Wireless-IEEE 802.11
NAS-Port =6
Policy-Name =Wireless Remote Access Policy
Authentication-Type =EAP
EAP-Type =Smart Card or other Certificate
To view s failed IAS authentication event, view all events that have Event ID 2.
Viewing the IAS events in the system event log is one of the most useful troubleshooting tools for obtaining information about failed authentications. The IAS events are also helpful when troubleshooting remote access policies. When you have multiple remote access policies configured, the Policy-Name field in the event description records the name of the remote access policy that either accepted or rejected the connection attempt.
Network Monitor
Network Monitor is useful for checking whether RADIUS messages are being exchanged, and for determining the RADIUS attributes of each message.
You can use Microsoft Network Monitor—available in Microsoft Systems Management Server, Windows 2000 Server, and Windows Server 2003 — or a commercial packet analyzer (also known as a network sniffer) to capture and view RADIUS authentication and accounting messages that are sent to and from the IAS RADIUS server or an IAS RADIUS proxy. Network Monitor includes a RADIUS parser that you can use to view the attributes of a RADIUS message and trouble-shoot connection issues.
SChannel Logging
Secure channel (SChannel) is a Security Support Provider (SSP) that implements the Secure Sockets Layer (SSL) and Transport Layer Security (TLS) authentication protocols. SSL and TLS are the Internet standard for secure transactions.
By default, SChannel logs only error messages in the system event log. To log errors, warnings, informational, and successful events, set the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\SecurityProviders\SCHANNEL\EventLogging registry value to 4 (as a DWORD type). With SChannel logging recording all events, it is possible to obtain more information about the certificate exchange and validation process on the IAS server during EAP-TLS authentication.
Netsh
Windows Server 2003 and Windows 2000 have an extensive tracing capability that creates tracing files that describe the internal behavior of Windows components during the wireless client authentication and authorization process. This information is typically most useful to Microsoft support engineers, who might request that you create trace files for a connection attempt during their investigation of a support issue. You can enable the components in Windows Server 2003 to log tracing information to files by using the netsh command for specific components or for all components. To enable and disable tracing for a specific component, use the following command:
netsh ras set tracing
component
enabled|disabled
In the preceding command, component is any of the items in the list of components found in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Tracing. For example, to enable tracing for the IASRAD component, use the following command:
netsh ras set tracing iasrad enabled
To obtain detailed information about the EAP authentication process for Windows XP or Windows Server 2003, enable tracing for only the EAP over LAN (EAPOL) and Remote Access Service Transport Level Security (RASTLS) components. To enable tracing for EAPOL, use the following command:
netsh ras set tracing eapol enabled
To enable tracing for RASTLS, use the following command:
netsh ras set tracing rastls enabled
After these commands are issued, try the authentication process again and view the Eapol.log and Rastls.log files in the SystemRoot\Tracing folder. To disable tracing for EAPOL and RASTLS, use the following respective commands:
netsh ras set tracing eapol disabled
netsh ras set tracing rastls disabled
To obtain detailed information about the EAP authentication process for Windows 2000, enable tracing for the RASTLS component.
Although you can enable tracing for individual components of IAS, it is generally easier to turn tracing on for all the IAS components at once; and Microsoft support engineers typically want to see all the trace files, rather than the trace file for an individual component. To enable tracing for all components, use the following command:
netsh ras set tracing * enabled
To disable tracing for all components, use the following command:
netsh ras set tracing * disabled
The log files that are generated are stored in the SystemRoot\tracing folder.
Note
-
Tracing consumes system resources and should be used sparingly during the investigation of a support issue. After the trace is done or the problem is identified, you should disable tracing. Do not leave tracing enabled on multiprocessor computers.
SNMP Agent
You can use the Simple Network Management Protocol (SNMP) agent software included with Windows 2000 Server and Windows Server 2003 to monitor status information for your IAS server from an SNMP snap-in. IAS supports the RADIUS Authentication Server MIB (RFC 2619) and the RADIUS Accounting Server MIB (RFC 2621). Use AddRemove Programs in Control Panel to install the SNMP agent. The SNMP agent can be used in conjunction with your existing SNMP-based network management infrastructure to monitor your IAS RADIUS servers or proxies.
Performance Logs And Alerts Snap-in
You can use the Performance Logs And Alerts snap-in to monitor counters, create logs, and set alerts for specific IAS components and program processes. You can also use charts and reports to determine how efficiently your server uses IAS and to both identify and troubleshoot potential problems.
You can use the Performance Logs And Alerts snap-in to monitor counters within the following IAS-related performance objects:
-
IAS Accounting Clients
-
IAS Accounting Proxy
-
IAS Accounting Server
-
IAS Authentication Clients
-
IAS Authentication Proxy
-
IAS Authentication Server
-
IAS Remote Accounting Servers
-
IAS Remote Authentication Servers
For more information about how to use the Performance Logs And Alerts snap-in, see Help and Support Center for Windows Server 2003.