[Samba] "samba-tool -V" output: samba-tool: missing subcommand

Rowland Penny rpenny at samba.org
Fri Aug 16 09:57:21 UTC 2024


On Fri, 16 Aug 2024 10:48:02 +0200
Franta Hanzlik via samba <samba at lists.samba.org> wrote:

> It seems as samba-tool bug or problem with my Samba build.
> When run commands:
> 
> samba-tool -V
> 
> output (all on stdout) is:
> samba-tool: missing subcommand
> 
> 4.20.4
> #----------------
> Similar output is with '-h' option. IMO at least in the first case,
> the message about the missing subcommand should not be printed.
> Or to stderr and not to stdout.

Congratulations, you have found a genuine bug, award yourself a gold
star :-)

On one of my DCs:

samba-tool -V
samba-tool: missing subcommand

4.20.4-Debian-4.20.4+dfsg-1~bpo12+1

With what I believe to be the fix:

samba-tool -V
4.20.4-Debian-4.20.4+dfsg-1~bpo12+1

I will not be providing the fix, my python isn't up to it, Andrew said
so, this means we will have to 'continue' with this bug until
either Douglas or Andrew fix it, they introduced it.

Rowland




More information about the samba mailing list