[Samba] Best way to get the current PDC emulator master via DNS (Possible bug?)

Rowland Penny rpenny at samba.org
Mon Dec 16 16:04:53 UTC 2024


On Thu, 31 Oct 2024 13:59:20 +1300
Douglas Bagnall via samba <samba at lists.samba.org> wrote:

> hi Rowland,
> 
> On 26/10/24 23:46, Rowland Penny wrote:
> 
> > Now would you like me to open a bug for this:
> 
> Yes. I am more likely to find it again if there is a bug, and it
> gives it a chance of being backported.
> 
> > samba-tool -V
> > samba-tool: no such subcommand: -V
> > 
> > Usage: samba-tool <subcommand>
> > ..........
> > 
> > If '-V' isn't a subcommand, then I will eat my hat.
> > 
> > I will even tell you how I fix it:
> > 
> > in samba/netcmd/__init__.py
> > 
> > at line 352, replace:
> > 
> >                  continue
> > With:
> >                  return (self, deferred_args)
> > 
> > Without the 'return' it falls down into:
> > 
> >          # We didn't find a subcommand, but maybe we found e.g.
> > --version print("%s: missing subcommand\n" % (path), file=self.outf)
> >          return (self, deferred_args)
> > 
> > There is probably a better way of fixing it, but it works for me.
> 
> 
> thanks.
> 
> Douglas
> 
> 

Hi Douglas,
Sorry about this, but it fell off my radar, but I have opened the bug
report:

https://bugzilla.samba.org/show_bug.cgi?id=15770

Rowland




More information about the samba mailing list