Mailinglist Archive: opensuse (1599 mails)

< Previous Next >
Re: [opensuse] querying the default samba setup for suse 11
On Sun, 18 Oct 2009, Rajko M. wrote:

On Sunday 18 October 2009 05:59:57 Robert P. J. Day wrote:
On Sun, 18 Oct 2009, Michael S. Dunsavage wrote:
...
in /etc/hosts make sure 192.168.1.231 points to sles11

i added that, but it appeared to make no difference, ...

Is there difference when firewall is off?

argh. yes, there is. i really should have thought of that. but
let me clarify something.

originally, this worked:

# nmblookup -A 192.168.1.231

from that same host. now, i removed this line from /etc/hosts:

192.168.1.231 sles11

and, after stopping the firewall, this works:

# nmblookup sles11
querying sles11 on 192.168.1.255
192.168.1.231 sles11<00>
#

so, from the above, i'm assuming that the name resolution is being
handled by a netbios broadcast request on the local network, and it is
the same host that is answering its own request.

and since i don't assign "sles11" as the official netbios name in
smb.conf, i assume that netbios is using the regular hostname as the
netbios name. does all that make sense?

rday
--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups