[Samba] Lightweight NetBIOS host enumeration in Python

christian samba at sisyphus.ch
Fri Sep 11 15:18:08 MDT 2009


On Fri, Sep 11, 2009 at 12:25:00PM -0700, Matthew Dempsky wrote:
[...]
> Test reports still welcome.

thank you for a nice tool!

but on some hosts:

__cut__
Traceback (most recent call last):
  File "nbtls.py", line 39, in <module>
    _addr, rdata = netbios.doit(bcaddr, '\1\2__MSBROWSE__\2', 1, broadcast=True)
  File "/tmp/nbtls/netbios.py", line 83, in doit
    r, (addr, port) = s.recvfrom(4096)
socket.timeout: timed out
__cut__

what am i doing wrong?        

-- 


More information about the samba mailing list