大网数据广告活动
域与目录服务

Make DCs to reply to LDAP Ping on UDP 138 port

· 52CE 我爱测

Provides the methods to make domain controllers to reply to LDAP Ping.

This article describes how to make domain controllers to reply to LDAP Ping.

Original KB number:   3088277

Symptoms

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 doesn't 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.

(A) Add LMHOSTS

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

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

(B) Add WINS server

Configure TCP/IP to use WINS server that 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.

References

For more information on DCLOCATOR, see:

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。