[Bug 375593] Re: cannot browse samba shares without editing smb.conf
Martin G Miller
mgmiller at optonline.net
Mon May 18 19:43:50 BST 2009
What had stopped working was ping <any local machine name>. ping
yahoo.com worked fine.
What I have as of now is:
1) DNS redirection is turned off
2) smb.conf set to: (name resolve order = lmhosts wins bcast host)
3) nsswitch.conf set to: (hosts: files dns wins)
It took a restart to get everything to settle down, but this now seems
to have the Nautilus browse gui happy and I can enter ping <any local
machine> or ping <anything.com> and they all seem to work. All other
internet functions, eg. email, web browsing, etc. seem to work fine.
I am not part of a domain either here or at work, so trying to ping
server.mydomain.local is not an option.
Removing mdns from nsswitch.conf and substituting wins seems to do the
trick as long as the order in smb.conf is set to my original changed
setup.
mdns refers to the avahi daemon, I believe. I don't think I use that
for anything do I?
My DHCP server is my router (Linksys at home and dlink gigabit at work) I'm not sure how to tell it to update my local DNS server, in fact, I don't think I'm running one. My main Ubuntu machine at home is static IP, as it functions as my house file server. But other machines on the network, both Ubuntu and WindowsXP are all DHCP.
At my office, the main file server is WinXP pro SP2 all but 1 of the
work stations are Ubuntu 8.04.2 and everyone has a static IP.
I will try the changes at my office tomorrow and see if they work there
as well as they do at my home now.
I must reiterate my thought from a few posts ago. Why do I have to go
through this when Windows XP "just works". As someone who has been
using Linux for about 9 years, I don't mind the tinkering too much, but
I am actively promoting Ubuntu to friends and professional associates
and I want them, as noobies, to have as good an experience as possible.
Simple local networking should not create problems like this. DNS
redirection does not affect local network browsing in Windows XP. It
should not affect it in Ubuntu either.
--
cannot browse samba shares without editing smb.conf
https://bugs.launchpad.net/bugs/375593
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
More information about the Ubuntu-server-bugs
mailing list