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? -- Anton
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.
On 22/06/2023 07:59, Anton Shevtsov via samba wrote:> 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? >Hi Anton, perhaps if you showed us the commands you tried and told us What OS and Samba version you are using. I ask this because it is working for myself. Rowland