Franta Hanzlik
2024-Aug-16 08:48 UTC
[Samba] "samba-tool -V" output: samba-tool: missing subcommand
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. -- Thank, Franta Hanzlik
Rowland Penny
2024-Aug-16 09:57 UTC
[Samba] "samba-tool -V" output: samba-tool: missing subcommand
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