DHCP MIB Returns Incorrect OID for SNMP GetNext Command (216063)



The information in this article applies to:

  • Microsoft Windows NT Server 4.0
  • Microsoft Windows NT Server, Enterprise Edition 4.0

This article was previously published under Q216063

SYMPTOMS

When you run the Simple Network Management Protocol (SNMP) GETNEXT command from an SNMP management system to return OIDs from the DHCP MIB, the first instance of the subsequent object is returned rather than the first instance of the actual object requested.

CAUSE

This problem occurs because the DHCP subagent does not do correct lexicographic ordering. The example below displays the problem. The GETNEXT command should return 2.157.55.80.0. However, GETNEXT actually returns 3.157.55.80.0.
C:\>snmputil getnext rhino1 public 1.3.6.1.4.1.311.1.3.2.1.1.2.0
OID :1.3.6.1.4.1.311.1.3.2.1.1.3.157.55.80.0
.iso.org.dod.internet.private.enterprises.microsoft.software.dhcp
.dhcpScope.scopeTable.scopeTableEntry.noAddFree.157.55.80.0
COUNTER: 459

C:\>snmputil getnext rhino1 public 1.3.6.1.4.1.311.1.3.2.1.1.2.
157.55.80.0
OID :1.3.6.1.4.1.311.1.3.2.1.1.2.172.31.200.0
.iso.org.dod.internet.private.enterprises.microsoft.software.dhcp
.dhcpScope.scopeTable.scopeTableEntry.noAddInUse.172.31.200.0
COUNTER: 9
				

RESOLUTION

To resolve this problem, obtain the latest service pack for Windows NT 4.0 or the individual software update. For information on obtaining the latest service pack, please go to:
For information on obtaining the individual software update, contact Microsoft Product Support Services. For a complete list of Microsoft Product Support Services phone numbers and information on support costs, please go to the following address on the World Wide Web:

STATUS

Microsoft has confirmed that this is a problem in Windows NT 4.0. This problem was first corrected in Windows NT 4.0 Service Pack 5.

Modification Type:MinorLast Reviewed:9/23/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix kbQFE KB216063