1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

Fixed stupid typo that would stop trusted domains working.

Jeremy.
(This used to be commit fa721b4adf)
This commit is contained in:
Jeremy Allison 2001-06-25 19:08:30 +00:00
parent 6e0605c3ab
commit 31ab8ae3ff

View File

@ -1272,8 +1272,7 @@ use this machine as the password server.\n"));
************************************************************************/
static BOOL connect_to_domain_password_server(struct cli_state *pcli,
char *server,
unsigned char *trust_passwd)
char *server, unsigned char *trust_passwd)
{
struct in_addr dest_ip;
fstring remote_machine;
@ -1573,9 +1572,9 @@ BOOL domain_client_validate( char *user, char *domain,
/*
* Get the machine account password for our primary domain
*/
if (!secrets_fetch_trust_account_password(domain, trust_passwd, &last_change_time))
if (!secrets_fetch_trust_account_password(global_myworkgroup, trust_passwd, &last_change_time))
{
DEBUG(0, ("domain_client_validate: could not fetch trust account password for domain %s\n", domain));
DEBUG(0, ("domain_client_validate: could not fetch trust account password for domain %s\n", global_myworkgroup));
return False;
}