summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 314b3dd3c7..f9aa10eced 100644
--- a/source3/smbd/password.c
+++ b/source3/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;
}