diff options
author | Jeremy Allison <jra@samba.org> | 2001-06-25 19:08:30 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-06-25 19:08:30 +0000 |
commit | fa721b4adfbcac4827251b02f6af7f0b5211c104 (patch) | |
tree | 747231835b8f438ea35b37a38631d3481df28135 | |
parent | d936ffedd90fe442f990c9ac2e172877f28d7230 (diff) | |
download | samba-fa721b4adfbcac4827251b02f6af7f0b5211c104.tar.gz samba-fa721b4adfbcac4827251b02f6af7f0b5211c104.tar.xz samba-fa721b4adfbcac4827251b02f6af7f0b5211c104.zip |
Fixed stupid typo that would stop trusted domains working.
Jeremy.
-rw-r--r-- | source/smbd/password.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source/smbd/password.c b/source/smbd/password.c index 6be29898813..0c720b6a295 100644 --- a/source/smbd/password.c +++ b/source/smbd/password.c @@ -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; } |