Cockpit: Feature Request: Samba support

Created on 21 Jan 2016  路  13Comments  路  Source: cockpit-project/cockpit

Is there any support for management of (or at least information about) Samba shares planned?

enhancement

Most helpful comment

I was thinking about Samba Server in this case (so creating shares using Cockpit).

All 13 comments

Samba client or samba server?

We have NFS client support on the roadmap, and I imagine SMB support would work fairly similar UX-wise. https://trello.com/c/PZPciouD/146-nfs-client-configuration

I was thinking about Samba Server in this case (so creating shares using Cockpit).

@FireDrunk +1

A UI for controlling samba shares of the servers is not something we have on the roadmap right now, but if it's something you want to work on, I'm happy to help with designs.

@FireDrunk +1

Who of you is up for hacking on it?

So I'm thinking about taking this on - are there any existing examples where you've had to implement a configuration file parser? I note most of what's going on in cockpit is interacting via dbus - but samba has no dbus interface and is configured through a single ascii file.

cockpit.file (http://cockpit-project.org/guide/latest/cockpit-file.html) is the api to use for reading and writing files. Here's some code that does some config file parsing. https://github.com/cockpit-project/cockpit/blob/master/pkg/ostree/remotes.js#L102 Though depending on the format there may be better options.

Any progress on this ?
https://github.com/abbra/cockpit-app-samba-ad -> there is some PoC of Samba AD. I did not find any shares PoC

Obviously we don't have the capacity in the Cockpit team to create that UI ourselves. But we have worked a lot on making external Cockpit extensions ("Applications") much easier, and will support you if you want to work on this.

Links:

There is https://github.com/enira/cockpit-smb-plugin
Could it be a good starting point?

@t-dan that sounds like a good solution in itself. No particular need for samba client support to live in the main cockpit tree itself, so as long as it's possible to install easily, it would solve this issue.

Was this page helpful?
0 / 5 - 0 ratings