summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/cmdline/popt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c
index 266c99ae9e..05e92866b2 100644
--- a/source4/lib/cmdline/popt_common.c
+++ b/source4/lib/cmdline/popt_common.c
@@ -401,7 +401,7 @@ static void popt_common_credentials_callback(poptContext con,
cmdline_auth_info.got_pass = True;
pstrcpy(cmdline_auth_info.domain, lp_workgroup());
- cmdline_auth_info.domain = True;
+ cmdline_auth_info.got_domain = True;
/* machine accounts only work with kerberos */
cmdline_auth_info.use_kerberos = True;