[Samba] Re: Unexpected IP resolution

Richard Prescott richard at ltrim.com
Fri Jun 20 20:31:06 GMT 2003


On Fri, 2003-06-20 at 14:27, Dragan Krnic wrote:
> >The result from nmblookup (same result on all 
> >platform) for a given samba server isn't what I 
> >expect.
> 
> But it is exactly what nmblookup expects if you
> configure your card the way you did!
> 

Ok then, how do I configure things in such way that nmblookup (and
windows machines) will return 10.10.10.10 for ourserver instead of
10.10.10.12.

Note that gethostbynam() returns 10.10.10.10.

I don't put the fault on mnblookup.  Far from that.
Let's me show you the ethereal output (transcripted) :

source		destination	info
10.10.10.111	10.10.10.255	Name query NB OURSERVER<00>
10.10.10.2	10.10.10.111	Name query response NB 10.10.10.12

As you can see, the smb service is binded to 10.10.10.2:137 and it
answers 10.10.10.12 in the message.

Thanks in advance.




More information about the samba mailing list