resolving NetBIOS names with a dot

Remco van Mook remco at biereco.student.utwente.nl
Wed Apr 1 14:03:17 GMT 1998


On Wed, 1 Apr 1998, Andrew Tridgell wrote:

> There are a few places in samba where this assumption is made. Someone
> needs to go through and clean it up then test with a large bunch of
> test cases.
> 
> Any volunteers?
> 
Well, not me anyway. I hardly know how to program a "hello, world" in C,
so doing that kind of major jiggling with the samba sources probably
wouldn't be such a Good Idea. However, I'd be more than willing to test
all patches.

> > Now, my idea is to be a bit more prudent about names with a '.' in them.
> > If it's a IP hostname, gethostbyname() will verify that and proceed as
> > usual.. If it doesn't, assume it's a NetBIOS name with a '.' in it.
> 
> sounds sensible!
> 
Why, thanks very much :)

Regards,

Remco



More information about the samba-technical mailing list