Mailinglist Archive: opensuse (1599 mails)

< Previous Next >
[opensuse] querying the default samba setup for suse 11

for better or worse, i want to put together an incredibly
beginner-level presentation on samba on suse 11, so it behooves me to
actually figure out what i'm talking about.

as a starting point, i wanted to start with sles 11 and do *nothing*
more than start smb and nmb, using the stock smb.conf settings that
come with it (since, as i read it, that default smb.conf has what
appear to be reasonable settings that one can start playing with.)

so, starting there, i wanted to do nothing more than show
"nmblookup" querying the system itself. that stock smb.conf does not
set a netbios name but, AIUI, if one does not set a netbios name, the
hostname is used by default.

the default hostname for this install is "sles11" so i just, on the
sles 11 system itself, ran:

# nmblookup sles11
querying sles11 on 192.168.1.255
name_query failed to find name sles11
#

huh. given how i understand netbios name resolution to work,
shouldn't that have found that server? if i use the actual IP address
of myself, it works:

# nmblookup -A 192.168.1.231
Looking up status of 192.168.1.231
SLES11 <00> - B <ACTIVE>
SLES11 <03> - B <ACTIVE>
SLES11 <20> - B <ACTIVE>
..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
WORKGROUP <1d> - B <ACTIVE>
WORKGROUP <1e> - <GROUP> B <ACTIVE>
WORKGROUP <00> - <GROUP> B <ACTIVE>

MAC Address = 00-00-00-00-00-00
#

so ... what am i misunderstanding here? obviously, using the IP
address works fine. so should i not be allowed to make the same query
by the hostname/netbios name? just to be clear, this is the *only*
samba-enabled system on the local network, and there is no WINS
server. so what have i screwed up?

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 >