summaryrefslogtreecommitdiffstats
path: root/source/utils/ntlm_auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/utils/ntlm_auth.c')
-rw-r--r--source/utils/ntlm_auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/utils/ntlm_auth.c b/source/utils/ntlm_auth.c
index 1e7b361e860..1f0a915574d 100644
--- a/source/utils/ntlm_auth.c
+++ b/source/utils/ntlm_auth.c
@@ -2303,7 +2303,8 @@ enum {
}
}
- if (opt_domain == NULL || !*opt_domain) {
+ /* Note: if opt_domain is "" then send no domain */
+ if (opt_domain == NULL) {
opt_domain = get_winbind_domain();
}