[Samba] how edit users via script

Kees van Vloten keesvanvloten at gmail.com
Thu Jun 22 07:05:54 UTC 2023


Op 22-06-2023 om 08:59 schreef Anton Shevtsov via samba:
> Hi,
>
> I am looking for any way to edit users non-interactively (script, 
> stdin/stdout)
>
> samba-tool user edit username - not working with stdin.. i tried use 
> --editor, but all attempts is failed
>
> It's impossible?
>
Some things can be changed with various parameters of "samba-tool user", 
but in most cases "ldbmodify" can do the trick.

- Kees.




More information about the samba mailing list