diff options
author | Jeremy Allison <jra@samba.org> | 2013-08-08 11:43:16 -0700 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-08-15 09:07:05 +0200 |
commit | f6ce50a8aca9eb024af4eb5e3dd620fe5e04e913 (patch) | |
tree | 928db9bb006dd26e343aaf7cd9d4c54491cefe4e | |
parent | daeb0bdfc49ace6151bbca34cbbf55486d66abb6 (diff) | |
download | samba-f6ce50a8aca9eb024af4eb5e3dd620fe5e04e913.tar.gz samba-f6ce50a8aca9eb024af4eb5e3dd620fe5e04e913.tar.bz2 samba-f6ce50a8aca9eb024af4eb5e3dd620fe5e04e913.zip |
s3:smbcacls: Add -m<MAX PROTOCOL> option to smbcacls.
https://bugzilla.samba.org/show_bug.cgi?id=9514
Signed-off-by: Jeremy Allison <jra@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source3/utils/smbcacls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c index d3d60bc8ea..20ce73ddc7 100644 --- a/source3/utils/smbcacls.c +++ b/source3/utils/smbcacls.c @@ -1385,6 +1385,7 @@ static struct cli_state *connect_one(struct user_auth_info *auth_info, }, { "test-args", 't', POPT_ARG_NONE, &test_args, 1, "Test arguments"}, { "domain-sid", 0, POPT_ARG_STRING, &domain_sid, 0, "Domain SID for sddl", "SID"}, + { "max-protocol", 'm', POPT_ARG_STRING, NULL, 'm', "Set the max protocol level", "LEVEL" }, POPT_COMMON_SAMBA POPT_COMMON_CONNECTION POPT_COMMON_CREDENTIALS @@ -1455,6 +1456,9 @@ static struct cli_state *connect_one(struct user_auth_info *auth_info, owner_username = poptGetOptArg(pc); change_mode = REQUEST_INHERIT; break; + case 'm': + lp_set_cmdline("client max protocol", poptGetOptArg(pc)); + break; } } |