From: Luke Leighton Date: Fri, 12 Mar 1999 19:37:40 +0000 (+0000) Subject: cli_setup_creds new arguments added. X-Git-Tag: samba-4.0.0alpha6~801^2~20873 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=c4241b56628469227f84f9d0b7589d9bc07d7bd3;hp=6e88171bace32ea2f01367e86d87e1c70892084b cli_setup_creds new arguments added. (This used to be commit 5fa3a3f710cfd3a51641d560a96bd08f92afca32) --- diff --git a/source3/smbd/password.c b/source3/smbd/password.c index 7eed028a80e..e1a4e66c409 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);