summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-03-12 19:37:40 +0000
committerLuke Leighton <lkcl@samba.org>1999-03-12 19:37:40 +0000
commitc4241b56628469227f84f9d0b7589d9bc07d7bd3 (patch)
tree3ea31957d8b2d318f83a4020e90aa7b56f93e650 /source3/smbd/password.c
parent6e88171bace32ea2f01367e86d87e1c70892084b (diff)
downloadsamba-c4241b56628469227f84f9d0b7589d9bc07d7bd3.tar.gz
samba-c4241b56628469227f84f9d0b7589d9bc07d7bd3.tar.bz2
samba-c4241b56628469227f84f9d0b7589d9bc07d7bd3.zip
cli_setup_creds new arguments added.
(This used to be commit 5fa3a3f710cfd3a51641d560a96bd08f92afca32)
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c4
1 files changed, 3 insertions, 1 deletions
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);