Impossible to obtain the NETBIOS name of a Win95 box using samba 2.0.5..0

Gerald Carter gcarter at
Fri Mar 30 15:45:45 GMT 2001

On Fri, 30 Mar 2001 07:43:11 Christophe MAILHE wrote:
> Dear all,
> I loose hope to be able to obtain the NETBIOS name of
> a Win95 box using the following command :
> nmblookup -A ipaddress

Run nmblookup as root and see the -r switch in nmblookup(1)

   -r     Try and bind to UDP port 137 to  send  and  receive
          UDP  datagrams. The reason for this option is a bug
          in Windows 95 where it ignores the source  port  of
          the  requesting packet and only replies to UDP port
          137. Unfortunately, on most UNIX systems root priv-
          ilage  is needed to bind to this port, and in addi-
          tion, if  the  nmbd(8)daemon  is  running  on  this
          machine it also binds to this port.

Cheers, jerry
   /\  Gerald (Jerry) Carter                     Professional Services
 \/  VA Linux Systems   gcarter at       SAMBA Team          jerry at                     jerry at

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )

More information about the samba mailing list