Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 28th November 2012, 12:03 AM
Nipperspot Offline
Registered User
 
Join Date: Mar 2007
Posts: 77
linuxfirefox
FC17, Samba, Browsing Windows Shares not accessible

I installed Fedora 17 including all updates. I need to browse the Windows network where I can access and/or view the available shares (folders and printers). I cannot browse the Windows computers on the network. When I open Files from the Favorites bar and click on Browse Network, I see the "Windows Network" icon. I double-click the "Windows Network" icon where it takes about 10 seconds to show the "Workgroup" icon. I double-click on the "Workgroup" icon, I see the 'Opening "Workgroup"' window for a while, and then it shows the computers names on the network. When I double-click on one of the computer names, it shows Opening the computer name for some time and then "Unable to mount location", "Failed to retrieve share list from server" with an OK button. I cannot get past this point. I never had this problem in the past when I installed Fedora and accessing network shares.

There are there (3) different Windows computers where each of the Windows computers can access the folder shares and shared printers: Windows 8 Pro x64, Windows 7 Home Premium x64, and Windows XP SP3.

I have also reloaded Fedora 17 x64 several times with running updates with the same result. I also ran many Google searches along with searches in the Fedora Forum. Both with never finding a solution (obviously) to this problem.

Here is the info that may be needed to help me correct this problem.

Fedora Core 17, Linux kernel: 3.6.7-4.fc17.x86_64.

Code:
cifs-utils.x86_64                    5.8-1.fc17
samba.x86_64                         2:3.6.9-96.fc17.1
samba-common.x86_64                  2:3.6.9-96.fc17.1
Note - I tried with the Firewall disabled and Firewall enabled with Samba and Samba Client selected to open those ports with the same result above. I also disabled the Windows Firewalls in Windows with the same result.

Code:
# cat /etc/selinux/config 

# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#     enforcing - SELinux security policy is enforced.
#     permissive - SELinux prints warnings instead of enforcing.
#     disabled - No SELinux policy is loaded.
SELINUX=disabled   # enforcing
# SELINUXTYPE= can take one of these two values:
#     targeted - Targeted processes are protected,
#     minimum - Modification of targeted policy. Only selected processes are protected. 
#     mls - Multi Level Security protection.
SELINUXTYPE=targeted 


# cat /etc/samba/smb.conf
[global]
	workgroup = WORKGROUP
	server string = Samba Server Version %v
	# log files split per-machine:
	log file = /var/log/samba/log.%m
	# maximum size of 50KB per log file, then rotate:
	max log size = 50
	security = user
	passdb backend = tdbsam
	wins support = yes
	load printers = yes
	cups options = raw
[homes]
	comment = Home Directories
	browseable = no
	writable = yes
;	valid users = %S
;	valid users = MYDOMAIN\%S
[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = no
	guest ok = no
	writable = no
	printable = yes

# systemctl status smb
smb.service - Samba SMB Daemon
	  Loaded: loaded (/usr/lib/systemd/system/smb.service; enabled)
	  Active: active (running) since Tue, 27 Nov 2012 18:21:07 -0500; 11min ago
	 Process: 744 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=0/SUCCESS)
	Main PID: 747 (smbd)
	  CGroup: name=systemd:/system/smb.service
		  ├ 747 /usr/sbin/smbd
		  └ 756 /usr/sbin/smbd

# systemctl status nmb
nmb.service - Samba NMB Daemon
	  Loaded: loaded (/usr/lib/systemd/system/nmb.service; enabled)
	  Active: active (running) since Tue, 27 Nov 2012 18:21:07 -0500; 11min ago
	 Process: 716 ExecStart=/usr/sbin/nmbd $NMBDOPTIONS (code=exited, status=0/SUCCESS)
	Main PID: 719 (nmbd)
	  CGroup: name=systemd:/system/nmb.service
		  ├ 719 /usr/sbin/nmbd
		  └ 720 /usr/sbin/nmbd

# systemctl status iptables.service
iptables.service - IPv4 firewall with iptables
	  Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled)
	  Active: inactive (dead)
	  CGroup: name=systemd:/system/iptables.service

# getenforce
Disabled
Thank you for any feedback, help, etc. you may be able to provide.
Reply With Quote
  #2  
Old 28th November 2012, 12:22 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,449
linuxfirefox
Re: FC17, Samba, Browsing Windows Shares not accessible

I think you might need to install the samba-winbind package
Reply With Quote
  #3  
Old 28th November 2012, 12:36 AM
Nipperspot Offline
Registered User
 
Join Date: Mar 2007
Posts: 77
linuxfirefox
Re: FC17, Samba, Browsing Windows Shares not accessible

Quote:
Originally Posted by marko View Post
I think you might need to install the samba-winbind package
Package was not installed. Installed the package, same problem. I even restarted Fedora 17 with the same result.
Reply With Quote
  #4  
Old 28th November 2012, 01:23 AM
beaker_'s Avatar
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,050
linuxfirefox
Re: FC17, Samba, Browsing Windows Shares not accessible

Well the first big hint goolge should give you is that linux does not use netbios/wins name resolution by default. And you don't say if you're using nautilus or dolphine so I'll assume your browser needs or want netbios name resolution. Try adding wins to the host parameter in nsswitch.conf. Yeah order does matter..., a little, and you might want to restart just to be sure.
Reply With Quote
  #5  
Old 28th November 2012, 01:34 AM
Nipperspot Offline
Registered User
 
Join Date: Mar 2007
Posts: 77
linuxfirefox
Re: FC17, Samba, Browsing Windows Shares not accessible

Quote:
Originally Posted by beaker_ View Post
Well the first big hint goolge should give you is that linux does not use netbios/wins name resolution by default. And you don't say if you're using nautilus or dolphine so I'll assume your browser needs or want netbios name resolution. Try adding wins to the host parameter in nsswitch.conf. Yeah order does matter..., a little, and you might want to restart just to be sure.
I changed the hosts order in the nsswitch.conf file:

Code:
# vi /etc/nsswitch.conf

#hosts:     db files nisplus nis dns
hosts:      files dns wins #myhostname
Then I ran:

Code:
# systemctl enable smb.service
# systemctl enable nmb.service
# systemctl start smb.service
# systemctl start nmb.service
I tried to access the Windows network shares and had the same problem.

I then installed:

Code:
# yum install system-config-samba
to verify the samba setup, looks good. Same problem of accessing Windows networking shares. I restarted the smb and nmb services:

Code:
# systemctl restart smb.service
# systemctl restart nmb.service
and had no success again, same problems of trying to access network shares.

I remember seeing in this thread that samba got reinstalled, which I do not remember seeing in other threads:

Code:
# yum reinstall samba
After reinstall samba, when I access one of the Windows 8 and Windows 7 network shares, I receive the prompt for entering the username and password (which I expected). After entering the Windows username and password for the computer, I was able to access (or browse) the available Windows shares.
Reply With Quote
  #6  
Old 2nd December 2012, 02:10 AM
funkioto Offline
Registered User
 
Join Date: Jun 2008
Posts: 6
windows_8chrome
Re: FC17, Samba, Browsing Windows Shares not accessible

Reinstall worked for me too.
Interesting..
Reply With Quote
  #7  
Old 2nd December 2012, 04:18 AM
solo2101's Avatar
solo2101 Offline
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 556
linuxchrome
Re: FC17, Samba, Browsing Windows Shares not accessible

i ussually have to allow samba in the firewall...
Reply With Quote
  #8  
Old 2nd December 2012, 01:24 PM
beaker_'s Avatar
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,050
linuxfirefox
Re: FC17, Samba, Browsing Windows Shares not accessible

Funny because samba has little - nothing to do with network browsing.
Reply With Quote
  #9  
Old 2nd December 2012, 03:53 PM
solo2101's Avatar
solo2101 Offline
Registered User
 
Join Date: Jan 2010
Location: behind that screen...
Posts: 556
linuxchrome
Re: FC17, Samba, Browsing Windows Shares not accessible

nmbd..........
Reply With Quote
  #10  
Old 2nd December 2012, 06:15 PM
beaker_'s Avatar
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,050
linuxfirefox
Re: FC17, Samba, Browsing Windows Shares not accessible

Oh I'm sorry, I should have said samba and winbind have zero - nothing todo with browsing a network.
Attached Thumbnails
Click image for larger version

Name:	samba.jpe
Views:	87
Size:	135.6 KB
ID:	24145  
Reply With Quote
Reply

Tags
accessible, browsing, fc17, samba, shares, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SAMBA - no access on samba shares (FC17) Otchum Servers & Networking 0 17th November 2012 01:48 PM
Samba Shares not accessible Tekno_Cowboy Servers & Networking 8 19th January 2009 11:58 PM
Samba shares not accessible after reboot in FC9 AndrejaKo Servers & Networking 14 6th January 2009 04:13 PM
Windows shares not accessible after standard configuration rgaelzer Servers & Networking 5 23rd March 2008 06:23 PM
browsing windows shares with kde mert Using Fedora 6 25th October 2004 06:31 AM


Current GMT-time: 15:34 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat