---
title: "NetWitness LogCollector: Error! 401/Unauthorized.Possible causes:- Event source (Host) does not map to a Kerberos Realm due to clock difference."
description: "Issue\nNetWitness collector /var/log/messages show below error when windows server test connection done.\n\nMay 24 08:57:31 Host NwLogCollector[9842]: [W"
---

[Skip to content](https://mydev.netwitness.com/knowledge-base/netwitness-logcollector-error-401-unauthorized-possible-causes-event-source-host-does-not-map-to-a-kerberos-realm-due-to-clock-difference#main-content)

![NW Logo](https://mydev.netwitness.com/hs-fs/hubfs/Portal-Partner%20Program/AssetFiles/NW%20Logo%20(2).png?width=180&height=32&name=NW%20Logo%20(2).png)

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

Open main navigation

Close main navigation

- [Home](https://mydev.netwitness.com/home)
- Integrations
  
  Show submenu for Integrations

    - [Netwitness Platform Integrations](https://mydev.netwitness.com/netwitnessplatformintegrations)
    - [Third Party Integrations](https://mydev.netwitness.com/thirdpartyintegrations)
- [Knowledge Center](https://mydev.netwitness.com/knowledge-base)
- Community
  
  Show submenu for Community

    - [Blogs](https://mydev.netwitness.com/netwitness-security-llc-blog)
    - Discussions
- Customers
  
  Show submenu for Customers

    - [Manage Products and Licenses](https://mydev.netwitness.com/nwportal)
    - Downloads
- Partners
  
  Show submenu for Partners

    - [Partner Program](https://mydev.netwitness.com/partner)
    - [Partner Resources](https://mydev.netwitness.com/partnerresources)
    - [Submit a New Deal Registration](https://mydev.netwitness.com/dealregistration)
    - [Become a Partner](https://mydev.netwitness.com/becomeapartner)
    - [Update Your Partner Locator Profile](https://www.netwitness.com/partner-locator/?utm_source=pardotnewsletter&utm_medium=email&utm_campaign=partner_march)
    - [NetWitness LinkedIn Partner Hub](https://linkedin.com/showcase/netwitnesspartners/)
- Education
  
  Show submenu for Education

    - [Instructor Led Training Schedule](https://mydev.netwitness.com/instructorledtrainingschedule)
    - [NetWitness Training Catalog](https://mydev.netwitness.com/netwitnesstrainingcatalog)
    - [Security Awareness Training](https://mydev.netwitness.com/securityawarenesstraining)
    - [New Product Readiness](https://mydev.netwitness.com/newproductreadiness)
    - [On-Demand Virtual Labs](https://mydev.netwitness.com/ondemandvirtuallabs)
    - [Additional Training Information](https://mydev.netwitness.com/additionaltraininginformation)
    - [Frequently Asked Questions](https://mydev.netwitness.com/educationfaq)
    - [Contact NetWitness Education Team](https://mydev.netwitness.com/contact-netwitness-education-team)
- Support
  
  Show submenu for Support

    - [Contact Support](https://mydev.netwitness.com/contact-support)
    - [Create a New Case](https://mydev.netwitness.com/create-support-case)
    - [View My Cases](https://mydev.netwitness.com/viewmycase)
    - [Product Version Life Cycle](https://mydev.netwitness.com/product-version-life-cycle)
    - [Warranty & Replacement Parts](https://mydev.netwitness.com/warranty-and-replacement-parts)
    - [Community Support Forum](https://mydev.netwitness.com/community-support-forum)
    - [Technical Support Guide](https://mydev.netwitness.com/technical-support-guide)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [NetWitness Knowledge Base](https://mydev.netwitness.com/knowledge-base?hsLang=en)
2. [Break Fix](https://mydev.netwitness.com/knowledge-base/break-fix?hsLang=en)

April 30, 2026

# NetWitness LogCollector: Error! 401/Unauthorized.Possible causes:- Event source (Host) does not map to a Kerberos Realm due to clock difference.

#### Issue

- NetWitness collector **/var/log/messages** show below error when windows server test connection done.

 May 24 08:57:31 Host NwLogCollector\[9842\]: \[WindowsCollection\] \[failure\] Error! 401/Unauthorized.Possible causes:- Event source (Test.com) does not map to a Kerberos Realm

  

- nslookup for windows server working well for both IP address and fqdn.
- Running below commands in Collector shows both TGT and Service Tickets.

 export KRB5CCNAME=DIR:/var/netwitness/logcollector/runtime/krb5\_ccache\_dir   
klist -A 

- The following example shows a typical klist output:

 Ticket cache: DIR::/var/netwitness/logcollector/runtime/krb5\_ccache\_dir/tktdawC0c   
Default principal: collectoruser@2K8R2-VCLOUD.LOCAL   
Valid Starting Expires Service Principal   
02/03/16 07:41:51 02/03/16 17:41:51 krbtgt/2K8R2-VCLOUD.LOCAL@2K8R2-VCLOUD.LOCAL   
renew until 02/10/16 07:41:51   
Addresses: (none)   
02/03/16 07:43:51 02/03/16 17:41:51 HTTP/2k8r2-dc1.2k8r2-vcloud.local@2K8R2-VCLOUD.LOCAL   
renew until 02/10/16 07:41:51   
Addresses: (none)

- The ticket starting with krbtgt is the TGT ticket, while the one starting with HTTP is the service ticket.

- We ran this tcpdump command and found the below:
  
   tcpdump -i any host Test.com -w kerb.pcap

   Showing the below error:
  
   23 2021-06-03 14:52:42.686616 Test.comIP LCIP HTTP 358 Jun 3, 2021 14:52:42.686616000 India Standard Time KRB Error: KRB5KRB\_AP\_ERR\_SKEW

#### Cause

This issue is due to clock difference between LogCollector and Windows Servers.

#### Resolution

 Please make sure below all serves should have accurate system time. 

1. NetWitness LogCollector,
2. Windows server where logs to be collected,
3. Domain Controller where tickets getting received
4. Domain Controller where logging to (this can be identified by running "set" command in windows CMD prompt and look for LOGONSERVER).

Note: It is always better to maintain the same time across all these servers. However, this time difference would not expect more than 5 minutes.

Then please check the test connection for the windows server in **LogCollector-\>Config-\>Event Sources-\>Windows/Config** page which will be successful now.

#### Product Details

**NetWitness Product Set:** NetWitness Platform   
**NetWitness Product/Service Type:** Core Appliance   
**NetWitness Version/Condition:** 11.x, 12.x   
**Platform:** CentOS / AlmaLinux   
**O/S Version:** 7 / 8.9

#### Summary

This document outlines the procedure pass test connection for window server log collection.

#### Approval Reviewer Queue

Technical approval queue

[![Netwitness Logo](https://mydev.netwitness.com/hs-fs/hubfs/Quote%20Template%20-%20NW%20Logo/Netwitness%20Logo.png?width=158&height=42&name=Netwitness%20Logo.png "Netwitness Logo")](https://mydev.netwitness.com/?hsLang=en)

<https://www.linkedin.com/company/netwitness-platform/> <https://www.youtube.com/@netwitness>

Copyright © 2026, NetWitness LLC. All rights reserved.

[NetWitness Platform](https://www.netwitness.com/)

[Acceptable Use Policy](https://www.netwitness.com/wp-content/uploads/Acceptable-Use-Policy-092022.pdf) [Privacy Statement](https://www.netwitness.com/wp-content/uploads/NetWitness-Privacy-Statement-07292024.pdf)

![NetWitness Logo](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/netwitness-logo-RGB-white%201.png)

[![LinkedIn](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/linkedin.png)](https://www.linkedin.com/company/netwitness-platform/) [![YouTube](https://mydev.netwitness.com/hubfs/Portal-Partner%20Program/Youtube.jpg)](https://www.youtube.com/@netwitness)

© 2026 NetWitness LLC. All rights reserved.