summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/cmdline/popt_common.c6
-rw-r--r--source4/lib/popt_common.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c
index 8a6cce7e5b..3c9a5eb231 100644
--- a/source4/lib/cmdline/popt_common.c
+++ b/source4/lib/cmdline/popt_common.c
@@ -236,8 +236,10 @@ static void get_credentials_file(const char *file, struct user_auth_info *info)
}
else if (strwicmp("username", param) == 0)
pstrcpy(info->username, val);
- //else if (strwicmp("domain", param) == 0)
- // set_global_myworkgroup(val);
+#if 0
+ else if (strwicmp("domain", param) == 0)
+ set_global_myworkgroup(val);
+#endif
memset(buf, 0, sizeof(buf));
}
x_fclose(auth);
diff --git a/source4/lib/popt_common.c b/source4/lib/popt_common.c
index 8a6cce7e5b..3c9a5eb231 100644
--- a/source4/lib/popt_common.c
+++ b/source4/lib/popt_common.c
@@ -236,8 +236,10 @@ static void get_credentials_file(const char *file, struct user_auth_info *info)
}
else if (strwicmp("username", param) == 0)
pstrcpy(info->username, val);
- //else if (strwicmp("domain", param) == 0)
- // set_global_myworkgroup(val);
+#if 0
+ else if (strwicmp("domain", param) == 0)
+ set_global_myworkgroup(val);
+#endif
memset(buf, 0, sizeof(buf));
}
x_fclose(auth);