From 2077e0f9032a84a1829012f11f968c32d78b7e0c Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 8 Jun 2011 15:35:02 +1000 Subject: 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 --- source3/lib/popt_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } -- cgit