Manage Samba users

Now that SWAT is gone what is the best way to manage Samba users? Yast is OK for shares & configuration, but users are a pain.

TIA!

Lee

On 5/6/2015 3:26 PM, omnitec wrote:
>
> Now that SWAT is gone what is the best way to manage Samba users? Yast
> is OK for shares & configuration, but users are a pain.
>
> TIA!
>
> Lee
>
>
Lee;

Have you looked at the options for smbpasswd and/or pdbedit?
man smbpasswd (8)
man pdbedit
These are CLI commands.

Webmin (http://www.webmin.com/ ) provides some user administration options and can be accessed remotely.

P.V.
“We’re all in this together, I’m pulling for you” Red Green

Running into this problem again [could not solve it last year] - are there ANY options out there to manage Samba usernames and passwords? CLI tools really aren’t an option, … the end-user will be updating, and I would hate to turn back the clock 10 years and cobble in a Webmin installation.

Any thoughts would be greatly appreciated:

You might find something interesting in this list on the Samba website.

https://www.samba.org/samba/GUI/

Maybe you could write a small GUI (gtk) tool to perform “smbpasswd”.

I once wrote a suite of commands and compiled them into a freebasic executable (essentially C), for users to do various Samba tasks like passwords and making shares. So it can be done. I imagine it can be done in perl or php script if you only need to offer a couple of functions to users.

Configure LDAP and connect the ldap into samba configuration.
Then you can directly use yast user module to manage samba users…
Bit complicated process though… :wink:

](https://www.samba.org/samba/GUI/)
Thanks, … been there already. Every link there is five years old or better and none are currently supported on SuSE.

Ahh, … I don’t think so.

Does NOBODY out there have a simple way to manage Samba user passwords? It’s REALLY weird that there isn’t a YaST module for it, as it could probably be written in 50 lines of code by someone that knew the YaSt infrastructure.

Configure LDAP and connect the ldap into samba configuration.
Then you can directly use yast user module to manage samba users…
Bit complicated process though… :wink:

No kidding! Once saw a presentation by a SuSE chap of whom I had asked the question, … it was two pages of setup notes for HIM, … and we don’t need AD, LDAP, or anything that sophisticated. Just a way to update Samba users & passwords without a lot of complication.

With SWAT gone (though references remain in xinetd, which is curious), … Webmin WAY overkill and deprecated in any case, … I am very curious as to how other folks manage Samba users with a CLI [so the average admin chap doesn’t freak out and run away].

TFTR!

I don’t know if this might work…

smb4manager
Project Page
https://github.com/jniltinho/smb4manager

Interestingly, it seems that this person created an OBS for this project years ago and although not likely paid any attention has been continuously building automatically and in fact just built a TW package successfully a few days ago (have no idea if a successful build means it’ll work)

https://build.opensuse.org/project/show?project=home%3Ajniltinho

Recommend you contact the author of this project if you have any questions.
You can try any of the successful RPM builds if you like or build from source using the github pages.

Since I didn’t find many alternatives to SWAT, if this project was given attention and the author was motivated, this might become the new GUI SAMBA User Management tool of choice.

TSU

Thanks for the link - I will check it out!!

Lee