smbget cmdline interface

Jeremy Allison jra at samba.org
Wed Mar 29 17:21:57 UTC 2023


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.



More information about the samba-technical mailing list