WIP: Samba's client command line UI
Jeremy Allison
jra at samba.org
Wed Aug 19 20:48:46 UTC 2020
On Wed, Aug 19, 2020 at 10:02:05AM +0200, Andreas Schneider via samba-technical wrote:
> Hi,
>
> I'm working to cleaning up the mess we have with our client cmdline UI [1].
>
> Currently we have a source3 and a source4 parsing implementation. I have
> rewritten the command line parsing code. The only real difference between the
> two is only how the config file is loaded. So I created a s3 and s4 config
> loader and that's it.
>
> The big change is that we need new options to fix a lot of issues face: The
> biggest change is probably about Kerberos:
>
> --use-kerberos=yes|auto|no
>
> New is that we have options to correctly request signing and encryption:
>
> --gensec-client-protection=plain|sign|seal
>
> --smb-signing=off|if_required|desired|required
> --smb-ipc-signing=off|if_required|desired|required
> --smb-encryption=off|if_required|desired|required
>
> You can find the code at [2].
>
>
> NOTE that this is still work in progress and no all the stuff is
> wired correctly yet!
>
>
> But I wanted to show you what I'm working on and you can comment. Using that
> parser will break the command line options for **all** client tools. But I
> think it is worth the effort, see [1].
>
> Attached is the output of
>
> smbclient --help
>
> which I just migrated to give you a full example of the new parser.
>
>
> Feedback is welcome :-)
Fantastic work Andreas ! I'm really happy to see this.
More information about the samba-technical
mailing list