summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-08 15:35:02 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-09 12:40:09 +0200
commit2077e0f9032a84a1829012f11f968c32d78b7e0c (patch)
tree551939fc892ab7021f777de3799f928f3c9c1c0c /source3
parent6c3f35bafef0c9c94b851f13de8100b35f407be0 (diff)
downloadsamba-2077e0f9032a84a1829012f11f968c32d78b7e0c.tar.gz
samba-2077e0f9032a84a1829012f11f968c32d78b7e0c.tar.bz2
samba-2077e0f9032a84a1829012f11f968c32d78b7e0c.zip
s3-lib Use domain in credentials file for domain in credentials
This previously set the workgroup, which is a different thing, but would have been the default if no domain was specified). This more clearly sets the information from the credentials file into the matching field in the credentials structure. Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/popt_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/popt_common.c b/source3/lib/popt_common.c
index 128b9c1870..8416d70bc4 100644
--- a/source3/lib/popt_common.c
+++ b/source3/lib/popt_common.c
@@ -473,7 +473,7 @@ static void get_credentials_file(struct user_auth_info *auth_info,
} else if (strwicmp("username", param) == 0) {
set_cmdline_auth_info_username(auth_info, val);
} else if (strwicmp("domain", param) == 0) {
- set_global_myworkgroup(val);
+ set_cmdline_auth_info_domain(val);
}
memset(buf, 0, sizeof(buf));
}