summaryrefslogtreecommitdiff
path: root/source4/lib/cmdline/popt_credentials.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/cmdline/popt_credentials.c')
-rw-r--r--source4/lib/cmdline/popt_credentials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/cmdline/popt_credentials.c b/source4/lib/cmdline/popt_credentials.c
index d82cdc5100..03142a7602 100644
--- a/source4/lib/cmdline/popt_credentials.c
+++ b/source4/lib/cmdline/popt_credentials.c
@@ -60,7 +60,7 @@ static void popt_common_credentials_callback(poptContext con,
}
if (reason == POPT_CALLBACK_REASON_POST) {
- cli_credentials_guess(cmdline_credentials, NULL);
+ cli_credentials_guess(cmdline_credentials, global_loadparm);
if (!dont_ask) {
cli_credentials_set_cmdline_callbacks(cmdline_credentials);