Netbios name %m not always correct

David Lee t.d.lee at durham.ac.uk
Thu Oct 23 11:34:07 GMT 2003


On Tue, 21 Oct 2003, Christopher R. Hertel wrote:

> [...]
> An updated smbclient might do SMBsend and MS-RPC.
> [...]

Indeed.

This brings us almost full circle.

Can anyone give me any pointers in the Samba 3.0.x source to a subroutine,
which with some luck might already exist, that would take an IP number (or
DNS hostname?) as an argument, and return a NetBIOS name?  Is there such a
thing?

Note that this would be for a port 445 smbd, where the NetBIOS name
probably isn't inherently available, but might be by other means... and
here I speculate wildly... such as some sort of call to nmbd/WINS server.

Given that, I might be able to begin (subject to usual "find tiny gaps in
the usual daily busy-ness" etc.) to look at possible reworking of
"smbclient -M" in the coming weeks.

-- 

:  David Lee                                I.T. Service          :
:  Systems Programmer                       Computer Centre       :
:                                           University of Durham  :
:  http://www.dur.ac.uk/t.d.lee/            South Road            :
:                                           Durham                :
:  Phone: +44 191 334 2752                  U.K.                  :



More information about the samba-technical mailing list