Mailinglist Archive: opensuse (1599 mails)

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

Robert P. J. Day wrote:
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
name_query failed to find name sles11

in /etc/hosts make sure points to sles11

i added that, but it appeared to make no difference, and i'm
guessing that i'm just unclear on the name resolution that kicks in
when using nmblookup. obviously, if i use an IP address, there's no
name resolution required and it works.

but if i use the normal system hostname (in my case, sles11), how
does the name resolution work? i thought it would involve netbios,
but you seem to be suggesting that it's a regular name lookup
involving DNS or /etc/hosts, not netbios at all.

FYI, /etc/hosts already contained the line: sles11

for what that's worth.


Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups