Mansome
Posts: 68
Joined: Sat May 16, 2015 2:32 pm

Tools for managing SMB shares

Sun Apr 09, 2017 3:53 am

Hi all,

I had a file server that was up and running for a few years but something happened and I am having to rebuild my server. I am needing a way to configure smb shares without having to do it from the command line or text editor. I was using Gadmin-samba but it does not seem to be working correctly because it isnt seeing nmbd for some reason. I then tried looking for swat but there is no download for this with apt. I tried system-config-samba but again there is no download for this with apt. I did see a guide on building it but it keeps erroring out on me for some reason. Any other suggestions or an easier guide for install system-config-samba?

hortimech
Posts: 334
Joined: Wed Apr 08, 2015 5:52 pm

Re: Tools for managing SMB shares

Sun Apr 09, 2017 8:50 am

Gadmin-samba hasn't been maintained for quite sometime now, system-config-samba seems to be the same. We removed SWAT from Samba when version 4.1.0 came out. About the only one that seems to be maintained in any way is Webmin and even this doesn't seem to have woken up to the fact that Samba is at version 4.6.x

You will probably be better off learning how to maintain it from the cmdline, I mean, how often will you change its confile 'smb.conf' ?

Try reading the Samba wiki:

https://wiki.samba.org/index.php/Main_Page

There is also a very well used mailing list:

https://lists.samba.org/mailman/listinfo/samba

fruitoftheloom
Posts: 21105
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Tools for managing SMB shares

Sun Apr 09, 2017 6:07 pm

Mansome wrote:Hi all,

I had a file server that was up and running for a few years but something happened and I am having to rebuild my server. I am needing a way to configure smb shares without having to do it from the command line or text editor. I was using Gadmin-samba but it does not seem to be working correctly because it isnt seeing nmbd for some reason. I then tried looking for swat but there is no download for this with apt. I tried system-config-samba but again there is no download for this with apt. I did see a guide on building it but it keeps erroring out on me for some reason. Any other suggestions or an easier guide for install system-config-samba?
SMB4K is in the Raspbian repositories https://packages.debian.org/jessie/smb4k


Though if need a newer version you will need to build from Source: https://sourceforge.net/p/smb4k/home/Home/
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

gkreidl
Posts: 6139
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Tools for managing SMB shares

Mon Apr 10, 2017 5:32 am

hortimech wrote:Gadmin-samba hasn't been maintained for quite sometime now, system-config-samba seems to be the same. We removed SWAT from Samba when version 4.1.0 came out. About the only one that seems to be maintained in any way is Webmin and even this doesn't seem to have woken up to the fact that Samba is at version 4.6.x

You will probably be better off learning how to maintain it from the cmdline, I mean, how often will you change its confile 'smb.conf' ?

Try reading the Samba wiki:

https://wiki.samba.org/index.php/Main_Page

There is also a very well used mailing list:

https://lists.samba.org/mailman/listinfo/samba
This is exactly the kind of attitude which keeps "normal people" from using Linux as desktop computers.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

hortimech
Posts: 334
Joined: Wed Apr 08, 2015 5:52 pm

Re: Tools for managing SMB shares

Mon Apr 10, 2017 7:19 am

gkreidl wrote:This is exactly the kind of attitude which keeps "normal people" from using Linux as desktop computers.
This isn't my 'attitude' as you put it, but a statement of fact. Non of the major GUIs to manage to Samba seem to be actively maintained.

If you check what has changed in Samba since version 3.6.x went EOL and now (4.6.2), it is a great deal. Not only can Samba now run as an AD DC, there have been great changes in the the deamons, smb.conf parameters etc. There are new parameters to do things you couldn't do before or changes to the way existing parameters work, other parameters are no longer there. Is it any wonder that the existing GUIs no longer work correctly.

The existing GUIs have nothing to do with Samba, they are third party programs, the only one that was, SWAT, was removed because it became un-maintainable and was a security risk.

If you feel that Samba needs a GUI, then feel free to write one or take over maintaining one of the existing ones.

Rowland Penny
Samba team member

gkreidl
Posts: 6139
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Tools for managing SMB shares

Mon Apr 10, 2017 8:16 am

hortimech wrote:
gkreidl wrote:This is exactly the kind of attitude which keeps "normal people" from using Linux as desktop computers.
This isn't my 'attitude' as you put it, but a statement of fact. Non of the major GUIs to manage to Samba seem to be actively maintained.

If you check what has changed in Samba since version 3.6.x went EOL and now (4.6.2), it is a great deal. Not only can Samba now run as an AD DC, there have been great changes in the the deamons, smb.conf parameters etc. There are new parameters to do things you couldn't do before or changes to the way existing parameters work, other parameters are no longer there. Is it any wonder that the existing GUIs no longer work correctly.

The existing GUIs have nothing to do with Samba, they are third party programs, the only one that was, SWAT, was removed because it became un-maintainable and was a security risk.

If you feel that Samba needs a GUI, then feel free to write one or take over maintaining one of the existing ones.

Rowland Penny
Samba team member
I know that Gadmin-Samba etc. are third party tools and that you are not responsible for updating them to match the latest samba releases. But as a member of the Samba team you are responsible (together with all other team members) for removing SWAT, which in fact means that there is no GUI available any more for configuring recent samba servers and setting up shares in a simple way. But that's the way a "normal user" wants to do it.

Creating good software isn't enough, you have to make it usable, which for many things includes a GUI and always a really good documentation (understandable by everyone, not just by nerds). I know this takes a lot of work and time and that it's much less fun than just coding functionality.

Unfortunately I can't spend any time on creating a GUI for Samba.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

hortimech
Posts: 334
Joined: Wed Apr 08, 2015 5:52 pm

Re: Tools for managing SMB shares

Mon Apr 10, 2017 9:57 am

Sorry, but SWAT had to go, it was suffering multiple vulnerabilities, didn't actually work with the AD code and nobody could find the time or inclination to fix the very large number of problems.

The Samba documentation is getting better all the time, see here:

https://wiki.samba.org/index.php/Main_Page

You should be able to set up a Samba server by following the wiki, but if you have problems, there is always the Samba mailing list.

If you absolutely must have a GUI to set up and/or maintain your Samba server, then I think it will have to be a third party one, the Samba team is focussed on improving the internal code and, as such, finds it hard to find time to even think about a GUI.

Return to “General discussion”