summaryrefslogtreecommitdiff
path: root/source3/rpc_client/cli_trust.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpc_client/cli_trust.c')
-rw-r--r--source3/rpc_client/cli_trust.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_trust.c b/source3/rpc_client/cli_trust.c
index a12f4035ee..c910e2f334 100644
--- a/source3/rpc_client/cli_trust.c
+++ b/source3/rpc_client/cli_trust.c
@@ -213,7 +213,7 @@ account password for domain %s.\n", domain));
for(i = 0; i < count; i++) {
fstring dc_name;
- if(!lookup_pdc_name(global_myname, domain, &ip_list[i], dc_name))
+ if(!lookup_dc_name(global_myname, domain, &ip_list[i], dc_name))
continue;
if((res = modify_trust_password( domain, dc_name,
old_trust_passwd_hash, new_trust_passwd_hash)))