summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-05-12 05:07:26 +0000
committerAndrew Tridgell <tridge@samba.org>2000-05-12 05:07:26 +0000
commitebd73f37a2103965eea4967b3983b8a6219316a1 (patch)
treefdb2d0a3f4bc020c6b6c9693a192cca199211bb3 /source3
parentafa4f02ec6c07205fa16d6e436e773551db78684 (diff)
downloadsamba-ebd73f37a2103965eea4967b3983b8a6219316a1.tar.gz
samba-ebd73f37a2103965eea4967b3983b8a6219316a1.tar.bz2
samba-ebd73f37a2103965eea4967b3983b8a6219316a1.zip
use our primary domain trust account for trusted domain authentication
(This used to be commit db90a4b9609a980fa2f4328d38a0d2c60a1384a0)
Diffstat (limited to 'source3')
-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;
}