How Domain Controllers respond to LDAP Ping on UDP 138 port

Consider the following scenario:  

- LMHOSTS file on Windows Server does not contain client hostname.
- WINS server is not configured on Windows Server, or WINS server does not resolve client hostname.
- Windows Server and client are in another network segment.

In this scenario, Windows Server 2008 or later OS do not respond to LDAP Ping (UDP 138 port) from client machine.
More information
In Windows Server 2003 or older, Windows Server operating systems reply to LDAP Ping on UDP 138 port from client, the behavior however changed since Windows Server 2008.
To make Windows Server 2008 or later to reply to LDAP Ping, configure either of the following settings.


1. Move to %windir%\system32\drivers\etc folder

2. Add IP address and hostname of client to LMHOSTS file.

  ** See following links for details.

  Domain Browsing with TCP/IP and LMHOSTS Files

(B) Add WINS server

Configure TCP/IP to use WINS server which can resolve client hostname to Windows Server.

  Configure TCP/IP to use WINS

(C) Place Windows Servers and client machines in the same segment.

Windows Server resolves client hostname by using NetBIOS broadcast if Windows Server and clients are on the same subnet.

Note: DNS is the primary method of resolving name queries in Active Directory starting with Windows Server 2000 and including Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016 and beyond. 
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Article ID: 3088277 - Last Review: 08/21/2015 17:18:00 - Revision: 2.0

Windows Server 2008 Standard, Windows Server 2008 Enterprise, Windows Server 2008 Datacenter, Windows Server 2008 R2 Standard, Windows Server 2008 R2 Enterprise, Windows Server 2008 R2 Datacenter, Windows Server 2012 Essentials, Windows Server 2012 Standard, Windows Server 2012 Datacenter, Windows Server 2012 R2 Essentials, Windows Server 2012 R2 Standard, Windows Server 2012 R2 Datacenter

  • KB3088277