summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-25 19:08:30 +0000
committerJeremy Allison <jra@samba.org>2001-06-25 19:08:30 +0000
commit31ab8ae3ffd5ac3f7af5f5d7157f568c0e6d199f (patch)
tree05ca54f55d0a921a92e7c9f007b3d16c7ce20b38 /source3/smbd
parent6e0605c3ab266749a411fe50301020fac52eea98 (diff)
downloadsamba-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)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/password.c7
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;
}