smbget cmdline interface

Andreas Schneider asn at samba.org
Thu Mar 30 05:54:28 UTC 2023


On Wednesday, 29 March 2023 19:21:57 CEST Jeremy Allison wrote:
> On Wed, Mar 29, 2023 at 09:45:39AM +0200, Andreas Schneider via samba-
technical wrote:
> >Hi,
> >
> >our smbget utility doesn't use the the common command line parser. It
> >implemented an interface on its own. So it wasn't able to parse UPNs or
> >DOMAIN/user correctly.
> >
> >I've fixed it with:
> >https://gitlab.com/samba-team/samba/-/merge_requests/3005
> >
> >However the question is if it should use the common command line parser. It
> >would break the command line interface as several short options are already
> >taken by the common command line parser and we could only provide the long
> >names for those.
> 
> +1 from me on moving to the common command line parser
> for future Samba releases. smbget isn't widely used,
> so as long as we make the changes clear in the release
> notes I'd rather move away from custom parsing code.

If nobody disagrees, then I would first fix the issue with the above MR as 
those patches can be backported.

Then I will move it to the common command line parser for Samba next.


	Andreas

-- 
Andreas Schneider                      asn at samba.org
Samba Team                             www.samba.org
GPG-ID:     8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D





More information about the samba-technical mailing list