summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/smbd/password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/password.c b/source/smbd/password.c
index 314b3dd3c70..f9aa10ecedf 100644
--- a/source/smbd/password.c
+++ b/source/smbd/password.c
@@ -1435,9 +1435,9 @@ BOOL domain_client_validate( char *user, char *domain,
}
/*
- * Get the machine account password.
+ * Get the machine account password for our primary domain
*/
- if (!get_trust_account_password(domain, trust_passwd, NULL))
+ if (!get_trust_account_password(lp_workgroup(), trust_passwd, NULL))
{
return False;
}