Bug 1151350 - Cannot browse smb shares in Files/nautilus or dolphin file manager unless name resolve order = bcast host is used
Summary: Cannot browse smb shares in Files/nautilus or dolphin file manager unless nam...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: samba
Version: 21
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Guenther Deschner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-10 08:35 UTC by Asif Ali Rizvan
Modified: 2014-10-11 22:30 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-10-11 22:30:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
working smb.conf with wins server=yes and name resolve order = wins bcast host (11.51 KB, text/plain)
2014-10-10 08:35 UTC, Asif Ali Rizvan
no flags Details

Description Asif Ali Rizvan 2014-10-10 08:35:04 UTC
Created attachment 945508 [details]
working smb.conf with wins server=yes and name resolve order = wins bcast host

Description of problem: 
Fedora 21 Workstation needs to be easy to share directory across windows and linux p2p network, but even after setting the samba shares, Nautitlus or Dolphin file managers can't access Samba shares from Browse network, but can access it from smb://ip address/


Version-Release number of selected component (if applicable):
samba 4.1

How reproducible:
always

Steps to Reproduce:
1. create a share, like:

---past at the end smb.conf ---
[save]
	comment = my save folder
	path = /run/media/save
	public = yes
	guest only = yes
---

2. enable/restart smb.service and nmb.service, disable firewall, run " setsebool -P samba_export_all_ro on" for selinux and smbpasswd -a $user;
3. smbclient -L //localhost <- shows the list

Actual results:
smbclient will list the shares, can be mounted with commandline as well as teh shares are accessible/visible by smb://IP Address/; but in Nautilus and Dolphin file managers, Localhost (samba server) is unaccessible.

unless we use

 	name resolve order = wins bcast host
below workgroup = mygroup...


Expected results:
; name resolve order = 
should also be given in smb.conf example file so that users in Home environment and peer-to-peer network can easily view the network shares. using the smb://ipaddress is very un workstation like and too geeky.

Additional info:

I'd request to have the "name resolve order = wins bcast host" be included in sample smb.conf file so that users could easily enable it for ease of sharing.

Thanks.

Comment 1 Asif Ali Rizvan 2014-10-11 22:30:45 UTC
ok, nautilus is find the share but ONLY AFTER REBOOTING Fedora 21, even when I restarted smb.service and nmb.service. Perhaps samba is creating the LMHOSTS file in /etc/samba on system reboot.

Anyways, closing this bug, as REBOOT fixes the listing of samba shares.

Thanks.


Note You need to log in before you can comment on or make changes to this bug.