1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

use our primary domain trust account for trusted domain authentication

This commit is contained in:
Andrew Tridgell -
parent 0e29eef837
commit db90a4b960

View File

@ -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;
}