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:
parent
6e0605c3ab
commit
31ab8ae3ff
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user