[prev in list] [next in list] [prev in thread] [next in thread]
List: samba-technical
Subject: Re: libsmbclient: Any way to resolve IP<->NetBIOS Name?
From: Tim Hutt <tdh29 () cam ! ac ! uk>
Date: 2005-12-13 14:35:26
Message-ID: 200512131535.55677.tdh29 () cam ! ac ! uk
[Download RAW message or body]
On Tuesday 13 December 2005 14:30, you wrote:
> Tim Hutt wrote:
> > Hi.
> >
> > Is there any way to resolve IP addresses to NetBIOS names or vice versa?
> > I've looked at the nmblookup code and it appears to use code internal to
> > samba. I want to do this just using libsmbclient, and there appears to be
> > no way to do it. I would have though it's a fairly common thing to do...
> > Maybe I will just have to spawn nmblookup for now, ugly as that is.
>
> name_status_find(). Note that if you install libnss_wins.so, you can
> just run gethostbyaddr().
Yeah, but isn't that something internal to Samba? I don't seem to be able to
access it through libsmbclient.
-Tim
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic