summaryrefslogtreecommitdiff
path: root/source3/libsmb/clienttrust.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/clienttrust.c')
-rw-r--r--source3/libsmb/clienttrust.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/clienttrust.c b/source3/libsmb/clienttrust.c
index b223750529..d9d3392d0b 100644
--- a/source3/libsmb/clienttrust.c
+++ b/source3/libsmb/clienttrust.c
@@ -57,7 +57,8 @@ static BOOL modify_trust_password( char *domain, char *remote_machine,
make_nmb_name(&called , remote_machine, 0x20, scope);
if (cli_nt_setup_creds(srv_name, global_myname, trust_acct,
- orig_trust_passwd_hash, sec_chan) != 0x0)
+ orig_trust_passwd_hash, sec_chan,
+ srv_name) != 0x0)
{
return False;
}