cifs WinXP problem
Mikkel L. Ellertson
mikkel at infinity-ltd.com
Mon Sep 1 00:42:56 UTC 2008
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!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080831/426c4a46/attachment-0001.sig>
More information about the fedora-list
mailing list