lib/cmdline: fix --configfile handling of POPT_COMMON_CONFIG_ONLY used by ntlm_auth
authorStefan Metzmacher <metze@samba.org>
Thu, 9 Sep 2021 09:11:03 +0000 (11:11 +0200)
committerJule Anger <janger@samba.org>
Mon, 13 Sep 2021 07:48:08 +0000 (07:48 +0000)
commitb2934e2a72688f8982ab6dd7511c58acc15c71bd
treec0455ceaaef1a3e15032bf649aaee7359e904626
parent35d474c303004c1a2a82fcd9f8f87a7b28a85713
lib/cmdline: fix --configfile handling of POPT_COMMON_CONFIG_ONLY used by ntlm_auth

ntlm_auth only every knew about '--configfile' without the '-s' alias,
keep it that way and make sure we actually process the argument via
the OPT_CONFIGFILE handling.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14828

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 8f3ef4e6c5a440c6582f7af268c6c27c8a2273d4)
lib/cmdline/cmdline.c