summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRalph Boehme <slow@samba.org>2021-11-08 12:09:16 +0100
committerRalph Boehme <slow@samba.org>2021-11-11 13:49:32 +0000
commit97592f16bfb8590efbd2ed31fc9883d747ec650f (patch)
treee7aea3d72c11c0f38ea64e85fdb3bfe5e8910db0 /lib
parent120a598e53173aacc0994318223bdac33dac4fbd (diff)
downloadsamba-97592f16bfb8590efbd2ed31fc9883d747ec650f.tar.gz
lib/cmdline: remember config_type in samba_cmdline_init()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14897 Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/cmdline/cmdline_s4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cmdline/cmdline_s4.c b/lib/cmdline/cmdline_s4.c
index 61c1b96ba8d..6ef6f59db49 100644
--- a/lib/cmdline/cmdline_s4.c
+++ b/lib/cmdline/cmdline_s4.c
@@ -25,6 +25,7 @@
#include "cmdline_private.h"
static bool _require_smbconf;
+static enum samba_cmdline_config_type _config_type;
static bool _samba_cmdline_load_config_s4(void)
{
@@ -81,6 +82,7 @@ bool samba_cmdline_init(TALLOC_CTX *mem_ctx,
return false;
}
_require_smbconf = require_smbconf;
+ _config_type = config_type;
creds = cli_credentials_init(mem_ctx);
if (creds == NULL) {