Samba lets you connect to a public share with invalid credentials

Bug #1404681 reported by PerfectCarl
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Files
Confirmed
Low
Unassigned

Bug Description

Files/Samba let me connect as a non existing user to public share (shared as guest)
I don't know if that's normal but this weird.

I try to connect to smb://WORKGROUP;ZZZZ@192.168.56.101/shared/
Files asks me for a password. I enter a bogus password for this account that doesn't exist and Files displays the folder.
Is it because the SAMBA share is public? Is it because I'm already connected to it via a another tab (see the multiple connections to the same folder in the sidebar)

Each connection with a different set of credentials appears as another entry in the sidebar but you can only distinguish them by looking at the tooltip. I haven't investigated whether there are any problems having multiple connections like this.

I'm not sure what is SAMBA's responsibility or what Files'. At least the ui on the sidebar could be sorted out to imply that those connections with invalid credentials point to the same thing

Revision history for this message
PerfectCarl (name-is-carl) wrote :
Changed in pantheon-files:
importance: Undecided → Low
Changed in pantheon-files:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.