linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.23k stars 299 forks source link

Connecting to Samba without password is not allowed #2432

Open JulianGro opened 4 years ago

JulianGro commented 4 years ago
 * Nemo version 4.4.2
 * Is issue with desktop or windowed nemo? Windowed
 * Distribution - Linux Mint 19.3 Cinnamon
 * Graphics hardware *and* driver used Nvidia GTX 1080 with 440.100
 * 32 or 64 bit - 64bit

Issue "File"->"connect to server" does not allow connecting to Samba without password. Password field is marked and "Invalid argument" appears.

Steps to reproduce Do not type a password into "Connect to server" when trying to connect to a samba server. Password field is marked and nemo says "invalid argument"

Expected behaviour Nemo should just connect.

icarter09 commented 3 years ago

@JulianGro one option to try is to click on Network in the sidebar when viewing it as Places. You should then see your Samba workgroup listed there. Once you attempt to access a given Samba shared folder in that workgroup, you'll be presented with a dialog of where you can access the shared folder as either Anonymous or Registered User. The Anonymous option should allow you to access the shared folder without requiring a password.

JulianGro commented 3 years ago

The Anonymous option should allow you to access the shared folder without requiring a password.

Problem is that the Anonymous option doesn't allow you to specify a username. Disallow anonymous connections but allow connection for a user even without requiring a password is perfectly possible on a Samba server and is how my server is currently set up. Of course you could argue that that is unsafe, but it is at the very least safer than allowing anonymous connections.