summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clienttrust.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/libsmb/clienttrust.c')
-rw-r--r--source/libsmb/clienttrust.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/libsmb/clienttrust.c b/source/libsmb/clienttrust.c
index b223750529f..d9d3392d0bf 100644
--- a/source/libsmb/clienttrust.c
+++ b/source/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;
}