JSI Tip 3181. The NBTSTAT -c command displays a period in the Name column?


When you type NBTSTAT -c at a CMD prompt, the display contains a period in the Name column:

                  NetBIOS Remote Cache Name Table

        Name              Type       Host Address    Life \[sec\]
    ------------------------------------------------------------
    PDCNAME          UNIQUE          10.0.0.1            -1
    PDCNAME          UNIQUE          10.0.0.1            -1
    PDCNAME          UNIQUE          10.0.0.1            -1
    DOMAINNAME       GROUP           10.0.0.1            -1
    DOMAINNAME    .  UNIQUE          10.0.0.1            -1
    DOMAINNAME    .  UNIQUE          10.0.0.1            -1
    DOMAINNAME    .  UNIQUE          10.0.0.1            -1

                  ^
                  |
    (Period) -----|
The period is caused by an incorrect entry in the LMHOSTS file:
10.0.0.1        "Domainname    \0x1b"	#PRE
                  
The NetBIOS name must be exactly 15 characters, so the number of characters between the quote marks MUST be 20:
10.0.0.1        "Domainname     \0x1b"	#PRE
                  
See tip 2988 and links.


Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish