From c4241b56628469227f84f9d0b7589d9bc07d7bd3 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Fri, 12 Mar 1999 19:37:40 +0000 Subject: cli_setup_creds new arguments added. (This used to be commit 5fa3a3f710cfd3a51641d560a96bd08f92afca32) --- source3/smbd/password.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 7eed028a80..e1a4e66c40 100644 --- a/source3/smbd/password.c +++ b/source3/smbd/password.c @@ -1114,7 +1114,9 @@ machine %s. Error was : %s.\n", cli.desthost, cli_errstr(&cli))); return False; } - if(cli_nt_setup_creds(&cli, nt_pipe_fnum, trust_passwd) == False) { + if(cli_nt_setup_creds(&cli, nt_pipe_fnum, + cli.mach_acct, trust_passwd, SEC_CHAN_WKSTA) == False) + { DEBUG(0,("domain_client_validate: unable to setup the PDC credentials to machine \ %s. Error was : %s.\n", cli.desthost, cli_errstr(&cli))); cli_nt_session_close(&cli, nt_pipe_fnum); -- cgit