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 | 31ab8ae3ffd5ac3f7af5f5d7157f568c0e6d199f (patch) | |
tree | 05ca54f55d0a921a92e7c9f007b3d16c7ce20b38 | |
parent | 6e0605c3ab266749a411fe50301020fac52eea98 (diff) | |
download | samba-31ab8ae3ffd5ac3f7af5f5d7157f568c0e6d199f.tar.gz samba-31ab8ae3ffd5ac3f7af5f5d7157f568c0e6d199f.tar.bz2 samba-31ab8ae3ffd5ac3f7af5f5d7157f568c0e6d199f.zip |
Fixed stupid typo that would stop trusted domains working.
Jeremy.
(This used to be commit fa721b4adfbcac4827251b02f6af7f0b5211c104)
-rw-r--r-- | source3/smbd/password.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 6be2989881..0c720b6a29 100644 --- a/source3/smbd/password.c +++ b/source3/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; } |