cli_setup_creds new arguments added.
authorLuke Leighton <lkcl@samba.org>
Fri, 12 Mar 1999 19:37:40 +0000 (19:37 +0000)
committerLuke Leighton <lkcl@samba.org>
Fri, 12 Mar 1999 19:37:40 +0000 (19:37 +0000)
source/smbd/password.c

index 7eed028a80e307e32a6607e705619f0947fc866b..e1a4e66c4093eaf613d8a019c8749d87e0780cb0 100644 (file)
@@ -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);