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 192.168.1.255 name_query failed to find name sles11 #
in /etc/hosts make sure 192.168.1.231 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: 127.0.0.2 sles11.site sles11 for what that's worth. 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@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org