I know that this has probably been asked before. As a long time user of Samba, I remember using SWAT to configure Samba. It did seem, at least to me, to simplify things. At the very least, it did prevent me, and possibly other users, from creating simple syntax errors. I know that the Samba developers decided long ago to depreciate (eliminate) SWAT from the Samba distribution. I was just wondering if there is any third party program that can duplicate the functionality and simplicity of SWAT? Thanks -- Gerard
Gerard, Have you seen this page? https://www.samba.org/samba/GUI/ Perhaps one will fit your needs. Dale On 7/11/19 6:59 AM, Gerard Seibert via samba wrote:> I know that this has probably been asked before. As a long time user of > Samba, I remember using SWAT to configure Samba. It did seem, at > least to me, to simplify things. At the very least, it did prevent me, > and possibly other users, from creating simple syntax errors. > > I know that the Samba developers decided long ago to depreciate > (eliminate) SWAT from the Samba distribution. I was just wondering if > there is any third party program that can duplicate the functionality > and simplicity of SWAT? > > Thanks >
Hi Gerard, do you really need a web based too? If it is only about ease of use, then the windows RSAT tools should do (see https://wiki.samba.org/index.php/Installing_RSAT for installation). I am only using these to manage my directory. Best Regards, Joachim> -----Urspr?ngliche Nachricht----- > Von: Gerard Seibert <gerard_seibert at outlook.com> > Gesendet: Donnerstag, 11. Juli 2019 13:59 > An: samba at lists.samba.org > Betreff: [Samba] Samba Web Administration Tool (SWAT) > > I know that this has probably been asked before. As a long time user of > Samba, I remember using SWAT to configure Samba. It did seem, at > least to me, to simplify things. At the very least, it did prevent me, > and possibly other users, from creating simple syntax errors. > > I know that the Samba developers decided long ago to depreciate > (eliminate) SWAT from the Samba distribution. I was just wondering if > there is any third party program that can duplicate the functionality > and simplicity of SWAT? > > Thanks > > -- > Gerard >
On Thu, 11 Jul 2019 11:59:20 +0000 Gerard Seibert via samba <samba at lists.samba.org> wrote:> I know that this has probably been asked before. As a long time user > of Samba, I remember using SWAT to configure Samba. It did seem, at > least to me, to simplify things. At the very least, it did prevent me, > and possibly other users, from creating simple syntax errors.Hi Gerard, I like programs like SWAT for just the reason you say: You don't need to Eidetic memory every last option to prevent a simple syntax error. The fact that you didn't receive an answer, and the fact that I didn't receive an answer to the same question about six years ago, leads me to conclude there's no such thing. But there might be a way forward... I haven't read Samba code since last century, but when I did, there was a single file containing the name of every single smb.conf option. If that file was a .h, you can just include it in a simple .c to get your assistance. If it was part of a .c, you have to cut and paste the relevant code. What I would do is use a simple AWK script to turn the relevant part of that file into a Python dict of dicts, where each child dict is the option name, and its values are current setting, default setting, definition, and if it exists, category. Armed with such a data JSON, you could easily use Python's simple Bottle tool to make a nice, scrolling web app to do exactly what you want to do, and probably a lot of other stuff too. It's not trivial, because *you* will need to fill in the definitions, and maybe the categories, but still, it shouldn't be that hard, and it would be an excellent tool for you, and probably for others. That AWK program would be part of the distribution so everything could be kept up to date. HTH, SteveT Steve Litt Author: The Key to Everyday Excellence http://www.troubleshooters.com/key Twitter: http://www.twitter.com/stevelitt
On 29/10/2019 17:48, Steve Litt via samba wrote:> On Thu, 11 Jul 2019 11:59:20 +0000 > Gerard Seibert via samba <samba at lists.samba.org> wrote: > >> I know that this has probably been asked before. As a long time user >> of Samba, I remember using SWAT to configure Samba. It did seem, at >> least to me, to simplify things. At the very least, it did prevent me, >> and possibly other users, from creating simple syntax errors. > Hi Gerard, > > I like programs like SWAT for just the reason you say: You don't need > to Eidetic memory every last option to prevent a simple syntax error. > The fact that you didn't receive an answer, and the fact that I didn't > receive an answer to the same question about six years ago, leads me to > conclude there's no such thing.SWAT was removed quite some time ago, it had numerous problems, but we do have 'testparm'. This will check smb.conf for syntax errors etc. We also have a manpage for smb.conf 'man smb.conf', this shows all the possible parameters and the possible values for each parameter along with its default setting. There are also numerous other manpages and last, but not least, there is the Samba wiki: https://wiki.samba.org/index.php/Main_Page Rowland