Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Samba issues in Mint 19.x #125

Closed
clefebvre opened this issue Apr 30, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@clefebvre
Copy link
Member

commented Apr 30, 2019

This issue gathers multiple problems related to Samba in Mint 19.x.

Accessing Windows shares

samba: Anonymous access requires a dummy username

This issue was reported on Launchpad at https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1827041.

samba/gvfs: Network -> Windows Network doesn't show Windows hosts/shares

This issue was reported on Launchpad at https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1778322.

Troubleshooting (smbclient)

Smbclient should be installed by default.

Implemented for Mint 19.2.

Sharing directories in Nemo (nemo-share)

Directory access isn't fully tested

When sharing a directory, nemo currently checks the permissions of the directory and asks to modify them if needed. This is good but it only checks the permissions of the leaf directory, not its parent hierarchy along its path.

For instance, if you share /foo/bar, the permissions for bar are checked, but not the permissions for foo.

If foo isn't executable by "others" (i.e. rwx------ for instance) then accessing the share will fail and no indication of the actual issue will be apparent to the user.

We should identify this issue immediately before allowing the user to share this folder.

Implemented in linuxmint/nemo-extensions#320.

Sharing folders within encrypted home directories

Sharing folders within an encrypted home directory might require the share to use the force user option, to guarantee the share is actually accessible by other users.

This issue is described at linuxmint/nemo-extensions#202.
Implemented in linuxmint/nemo-extensions#320.

UFW firewall rules for Samba

If UFW is enabled Samba stops working. When nemo-share installs samba it goes a little further and adds user to the sambshare group. It should also create rules in UFW for samba to work with it.

Implemented in linuxmint/nemo-extensions#320.

Browsing the Network (nemo)

Nemo's go-up (parent dir) button is always sensitive, wether or not a parent dir is available. When browsing smb:/// or smb://hostname/sharename, GIO returns NULL when we call g_file_get_parent(). This results in the UP button being sensitive and doing nothing.

We should either make the button insensitive in such cases, or even better, go from smb://hostname/sharename to smb://hostname, and then to smb:/// and then to network:// as the button is pressed.

Implemented in linuxmint/nemo@653a046.

@clefebvre clefebvre changed the title Samba issues Samba issues in Mint 19.x. Apr 30, 2019

@clefebvre clefebvre changed the title Samba issues in Mint 19.x. Samba issues in Mint 19.x Apr 30, 2019

@clefebvre clefebvre closed this May 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.