From: Andreas Schneider Date: Wed, 27 Oct 2021 11:45:15 +0000 (+0200) Subject: lib:cmdline: Fix -k option which doesn't expect anything X-Git-Tag: ldb-2.5.0~351 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=16d43ccfddf0e67a0ae87e3f13b3114c858d64ac;p=thirdparty%2Fsamba.git lib:cmdline: Fix -k option which doesn't expect anything BUG: https://bugzilla.samba.org/show_bug.cgi?id=14846 Signed-off-by: Andreas Schneider Reviewed-by: Ralph Boehme Autobuild-User(master): Ralph Böhme Autobuild-Date(master): Thu Oct 28 13:23:34 UTC 2021 on sn-devel-184 --- diff --git a/lib/cmdline/cmdline.c b/lib/cmdline/cmdline.c index 5dd543f244d..753cec27c3f 100644 --- a/lib/cmdline/cmdline.c +++ b/lib/cmdline/cmdline.c @@ -1251,7 +1251,7 @@ static struct poptOption popt_legacy_s3[] = { { .longName = "kerberos", .shortName = 'k', - .argInfo = POPT_ARG_STRING, + .argInfo = POPT_ARG_NONE, .val = 'k', .descrip = "DEPRECATED: Migrate to --use-kerberos", },