Mike -- EMAIL IGNORED wrote:
> On Sun, 31 Aug 2008 17:32:46 -0500, Mikkel L. Ellertson wrote:
> 
> [...]
>> This is the way it is supposed to be:
>>
>> The default order is lmhosts, host, wins, bcast and without any entry in
>> the smb.conf file the name resolution methods will be attempted in this
>> order.
>>
>> Did you double check that the IP address is correct? I don't remember if
>> you could "ping abcd10". I guess it is possible that abcd30 is in
>> lmhosts, and abcd10 is not, and it is only checking lmhosts. Just a shot
>> in the dark - then again, I have made typos more then once when doing
>> this.
>>
> [...]
> 
> ping abcd10 works correctly.  Following your comments I also tried
> lmhosts -- it didn't work.  I checked spellings; I did remove some
> extra tabs from /etc/hosts .  It looks like the order you indicate
> isn't happening for the XP box. Very peculiar.  BTW you are saying
> "host"; I have "hosts". A typo?
> 
> Mike.
> 
I should have copied the definition from the man page.

host: Do a standard host name to IP address resolution, using the
system /etc/hosts , NIS, or DNS lookups.

Also, lmhosts is /etc/samba/lmhosts, and not /etc/lmhosts. The
format is almost the same as /etc/hosts:

127.0.0.1 localhost
192.168.1.30 toshiba
192.168.1.31 thinkpad
192.168.1.34 mary
192.168.1.101 brother

But it is strange that it works for one host, and not the other.

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature

-- 
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to