Unable to view Window shares because of the default resolve order
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: samba
When trying to browse windows shares I consistently fail. As it turns out the DNS server for my network tries to be helpful and hijacks unresolvable names.
In /etc/samba/smb.conf I had to set 'name resolve order = lmhosts wins bcast host'
Once I did this (put host last) smbclient allows me to see the share and after a reboot I can use nautilus to access shared resources.
For the record, I use opendns by choice. It provides some services that I like such as blocking adult websites, blocking phishing sites and auto-correcting mis-typed domains. However I understand that some people's ISPs do the same thing and they don't get a choice as to which dns server they use. Therefore one could make a case that the default search order should be set as mentioned above.
For example, doing a google search shows tutorial websites like this: http://
where they explain that to access shared resources you have to do so using the IP address of the computer. I think this reflects poorly on Ubuntu and gives it the image of it being difficult to use.
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
samba 3.0.26a-1ubuntu2.3
Changed in samba: | |
status: | Incomplete → New |
Hi Matthew,
This seems to be like a common problem while running with Samba and OpenDNS. Are you running your own DNS server or using your ISP?
Thanks
chuck