On Fri, Nov 30, 2001 at 10:49:57AM +1100, Howard Lowndes wrote: > I have a box (A) configured as a Samba server with the Wins option enabled > and the name resolution order set to "wins lmhosts bcast". On this same > box I have a /etc/lmhosts file with a resolution to a box (B) that I am > trying to reach on another subnet. > > When I try to look (smbclient -L B) at B from A it won't find it because > the address translation is not in /var/locks/samba/wins.dat. > > Fair enough, but why is it not then trying the /etc/lmhosts lookup. I > realise the bcast won't work as it is across a different subnet. > > If I try smbclient -L 192.168.129.129 then that will work.
Check if this works smbclient -L B -R lmhosts forces smbclient to use lmhosts Also on my system it should be /etc/samba/lmhosts basically it should be in the same dir as smb.conf you might want to double check that as well. > > -- > Howard. > LANNet Computing Associates - Your Linux people > Contact detail at http://www.lannetlinux.com > "We are either doing something, or we are not. > 'Talking about' is a subset of 'not'." > > > -- > SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ > More Info: http://lists.slug.org.au/listinfo/slug -- John Ferlito Senior Engineer Bulletproof Networks ph: +61 (0) 2 9663 9000 fax: +61 (0) 2 9662 4744 mob: +61 (0) 410 519 382 http://www.bulletproof.net.au/ This e-mail and any attachments are confidential and may be legally privileged. Only the intended recipient may access or use it and no confidentiality or privilege is waived or lost by mistaken transmission. If you are not the intended recipient you must not copy or disclose this email's contents to any person and you must delete it and notify us immediately. Bulletproof Networks uses virus scanning software but excludes all liability for viruses or similar in any attachment as well as for any error or incompleteness in the contents of this e-mail. -- SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug