LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 05-11-2021, 06:23 PM   #1
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Rep: Reputation: 149Reputation: 149
Cannot connect to samba share as anonymous user


I've setup a samba share to allow anonymous access (I think), but when I browse to the folder Nemo gives me an error dialog:

Unknown file type
The file "smb://server/share/" has no known programs associated with it. Use the Open With dialog to pick a program to open it with.

I tried to access the share with smbclient, and everything is fine, I can write to it without entering any password, so I don't think there's a problem on the server end.

Any ideas?

thanks!
 
Old 05-11-2021, 07:55 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,813

Rep: Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958
Do you have gvfs-fuse and its backends installed? Specifically smb:// requires the libsmbclient

sudo apt-get install gvfs-fuse
sudo apt-get install gvfs-backends

Depending on what SMB/CIFS versions your server supports you might also have to set the client protocol via the /etc/samba/smb.conf file (in the global section).

client min protocol = CORE
client max protocol = SMB3
 
1 members found this post helpful.
Old 05-12-2021, 04:39 PM   #3
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
Thanks Michael.

I already had those packages and indeed, I'd be really surprised if a user-friendly distro like Mint was unable to browse windows shares out of the box due to lacking client packages.

I also tried those changes to smb.conf but that had no effect.

However I noticed I actually have two icons for my samba share:

server (File Sharing), server (File Sharing), and when I click on the second it works, but not the first one! I wondered if it may be avahi-server giving me the two icons, so I uninstalled it from the server, then it shows only a single icon in Nemo (no File Sharing after it), but I can't access it any more from Nemo.

I also have two icons for my Synology NAS, and realised I have done for some time now:
NAS (File Sharing), NAS (File Sharing)
However I can access both of those from Nemo and always have been able to, they seem interchangeable.

So I have a work-around for now: ensure avahi running and click on the second icon.
 
Old 05-13-2021, 04:32 PM   #4
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
I spoke too soon. It worked just once and then stopped.
 
Old 05-13-2021, 04:46 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,813

Rep: Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958Reputation: 5958
Entering smb://server/share in the url box still does not work?
 
1 members found this post helpful.
Old 05-13-2021, 05:47 PM   #6
bifferos
Member
 
Registered: Jul 2009
Posts: 401

Original Poster
Rep: Reputation: 149Reputation: 149
Once I figured out how to enable that box, that works very well. And once I had enabled the same url box and visited my NAS it became clear I was actually using AFP, and not SMB as I had assumed all along. I guess I had enabled both on the NAS without thinking about it.

I don't really understand why that works and browsing the icons does not, but having gone that route, the icons then magically start giving me access.
 
  


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
Confused between anonymous array and anonymous hash summer Programming 7 12-18-2012 06:18 PM
[SOLVED] 500 OOPS: vsftpd: refusing to run with writable anonymous root: Anonymous Login sanjay87 Linux - Server 5 08-14-2012 01:28 AM
Problems with anonymous login proftp 1.3.1: 530-Unable to set anonymous priviliges. gentooox Linux - Server 3 05-03-2009 02:46 PM
files uploaded to anonymous ftp not readable by anonymous TheOneAndOnlySM Linux - Software 2 11-04-2004 07:42 AM

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

All times are GMT -5. The time now is 03:31 AM.

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