diff options
Diffstat (limited to 'source4/lib/cmdline/popt_credentials.c')
-rw-r--r-- | source4/lib/cmdline/popt_credentials.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/lib/cmdline/popt_credentials.c b/source4/lib/cmdline/popt_credentials.c index 259dbf8ee1..53e214ab22 100644 --- a/source4/lib/cmdline/popt_credentials.c +++ b/source4/lib/cmdline/popt_credentials.c @@ -23,6 +23,7 @@ #include "lib/cmdline/credentials.h" #include "auth/credentials/credentials.h" #include "auth/gensec/gensec.h" +#include "param/param.h" /* Handle command line options: * -U,--user @@ -36,7 +37,7 @@ */ -static BOOL dont_ask; +static bool dont_ask; enum opt { OPT_SIMPLE_BIND_DN, OPT_PASSWORD, OPT_KERBEROS }; @@ -45,7 +46,7 @@ enum opt { OPT_SIMPLE_BIND_DN, OPT_PASSWORD, OPT_KERBEROS }; */ void popt_common_dont_ask(void) { - dont_ask = True; + dont_ask = true; } static void popt_common_credentials_callback(poptContext con, @@ -94,7 +95,7 @@ static void popt_common_credentials_callback(poptContext con, break; case 'S': - lp_set_cmdline("client signing", arg); + lp_set_cmdline(global_loadparm, "client signing", arg); break; case 'P': @@ -104,7 +105,7 @@ static void popt_common_credentials_callback(poptContext con, case OPT_KERBEROS: { - BOOL use_kerberos = True; + bool use_kerberos = true; /* Force us to only use kerberos */ if (arg) { if (!set_boolean(arg, &use_kerberos)) { |