LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-26-2014, 10:10 PM   #1
legacyprog
Member
 
Registered: Feb 2004
Location: New Jersey, USA
Distribution: Ubuntu 14.04
Posts: 55

Rep: Reputation: 15
Unhappy I can use smbclient in XUbuntu to browse my samba file server, but Thunar won't allow


OK, this has me stumped. My long standing Ubuntu file server running Samba exposes 4 main shares to my network, and they are visible AND can be deeply browsed by my Windows 7 and Windows 8 machines, my Android devices using ES File Explorer. This has been true for years.

I just installed XUbuntu on an Acer Aspire One and Thunar shows me those 4 shares but whichever I click on it says "Failed to Open" and "Permission Denied".

I tried using smbclient on my netbook and after entering the password I can cd to each of the shares and then descend the directory structures.

So it seems like just a Thunar issue. I have seen a lot on Google about gvfs, and I have a lot of gvfs components installed straight out of the netbook's install of XUbuntu. gvfs-smb is not, but I gather that is not relevant for Debian based distros.

I don't think posting a lot of config files would help here, because the whole network can see these shares. I think there is something I just don't know about my netbook, or XUbuntu 14.04, or something...otherwise why would smbclient work? I think the problem is me. But I can post replies with any detail that helpful folks may request.
 
Old 04-26-2014, 10:56 PM   #2
legacyprog
Member
 
Registered: Feb 2004
Location: New Jersey, USA
Distribution: Ubuntu 14.04
Posts: 55

Original Poster
Rep: Reputation: 15
Sorry to answer my own question, but while waiting to see what others might suggest, I found in my Googling a site suggesting mounting Samba shares on *nix machines. The mount syntax they suggested didn't work, but eventually I found the missing component that mount needed to work. So here's the workaround:
- install "smb4k"
- for each of the four samba shares I created mount points
sudo mkdir /mnt/share1
sudo mkdir /mnt/share2
etc.
- for each of the four samba shares I mounted them at those mount points (it will ask for user password)
sudo mount -t cifs -o user=myuserid //192.168.1.xx/share1 /mnt/share1
sudo mount -t cifs -o user=myuserid //192.168.1.xx/share2 /mnt/share2
etc.

I imagine I should be able to adapt this to fstab but it's late right now where I am.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubnuntu 12.04 LTS Server Samba/Smbclient issues Tweak17emon Linux - Software 1 05-15-2012 12:51 AM
Ubuntu Server 12.04 LTS and SmbClient/Samba Issue. Please Help Tweak17emon Linux - Server 0 05-10-2012 09:04 AM
Thunar file manager has problems: xubuntu 8.10 Intrepid ibex Shashank_Rashpa Ubuntu 1 02-04-2009 12:54 AM
samba: multiple entries in the browse.dat file for the same server Paul.Hermans Mandriva 0 08-12-2005 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 08:15 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration