Nextcloud-snap: Add samba (smb) support

Created on 27 Sep 2016  路  18Comments  路  Source: nextcloud/nextcloud-snap

Adding the samba client to PHP would make it possible to access other storage located on the same network.

feature help wanted

Most helpful comment

Would like to knwo this to. This is a Feature i miss from Owncloud (OC has this working OOTB)

Installed from SNAP today and still get this "smbclient" is not installed. Mounting of "SMB / CIFS", "SMB / CIFS using OC login" is not possible. Please ask your system administrator to install it.
error

Installing php-smbclient dioes not resolve this issue

All 18 comments

I could really use this feature. One of the reasons I bought the Owncloud box was to have a web interface to my external samba shares. For now I configured it over SFTP but I would really like to just the samba shares.

Would like to see this feature too. Regards.

I too would like to see this feature.
This was opened several months ago - is there a status update on where this might be at? (planning/on roadmap/etc..?)

Thanks!

I personally have very little experience with samba, so I'm probably not the right person to be playing with this. As such, as far as I'm concerned, this is currently not on the roadmap. I'm of course willing to accept contributions for this though, as long as it doesn't bloat the snap too much or introduce security concerns.

Thanks for the fast response, @Kyrofa.

I have decent experience getting samba running on Ubuntu. But zero experience with programming or integrating anything with a web interface.
Since samba/cifs is heavily used by many folks (even if they don't realize they are using it), I can imagine a lot of folks looking forward to this feature - especially if they have a home NAS. If anyone is capable of providing a PR for this, know that I would be very appreciative of your work.

I can of course, dabble, but if I do submit a PR, it would require heavy scrutinizing.

Whoops, bad merge. Let's try that again.

https://github.com/nextcloud/nextcloud-snap/issues/272
Hi I opened an issue because of a connecting problem.

Sorry everyone, #272 found enough issues to revert the samba feature so as to not block release of security updates. We're still working on it.

Hi, are there any updates as to when SMB client will be added?

Would like to knwo this to. This is a Feature i miss from Owncloud (OC has this working OOTB)

Installed from SNAP today and still get this "smbclient" is not installed. Mounting of "SMB / CIFS", "SMB / CIFS using OC login" is not possible. Please ask your system administrator to install it.
error

Installing php-smbclient dioes not resolve this issue

Sorry folks, we still haven't managed to get this working on all architectures. Help wanted.

Same problem here.
How can I help ?

Is there any solution for this issue???

Is there any solution for this issue???

For now probably only this: https://github.com/nextcloud/nextcloud-snap/issues/548#issuecomment-510904801
(Please also don't forget to enable removable-media for the snap first)

For any future readers, note that samba is not supported because we cannot seem to get it to work on arm. See #272 for details. We haven't managed to figure out why it's broken, but we would definitely like this feature if anyone in the community knows.

Hi, sorry I can't provide help with this and must admit that I know nothing about snap, but is ARM support such a big deal for this nextcloud snap? And could the smb support not be disabled (dynamically) if "on" arm?

(Would really like to see smb in this snap and am running it only on x86)

馃槈

I'm running the NextCloud on a Raspberry Pi and would very much appreciate the ability to add samba shares - but it's understandable if that has to come after x86 support is released :)

This isn't possible on all types of servers with Samba shares, but in case anyone else is wanting to access shares from a Windows computer, the workaround I'm using is by running an SFTP server within the Windows Subsystem for Linux. As long it stays working that way I would prefer using SFTP over SMB anyway

I'm using nextcloud-snap in my Ubuntu LXC on Proxmox and I would really appreciate if I can mount my samba share. After enabling the external storage app in nextcloud I get the following message: ""smbclient" is not installed. Mounting of "SMB / CIFS", "SMB / CIFS using OC login" is not possible. Please ask your system administrator to install it."

After doing "apt install smbclient" the message didn't change. Any ideas?

Was this page helpful?
0 / 5 - 0 ratings