From 83caa883d79c2d954749d21fced808bda970ec56 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 11 Dec 2001 00:11:11 +0000 Subject: [PATCH] Compile fix. --- source/rpcclient/samsync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/rpcclient/samsync.c b/source/rpcclient/samsync.c index 46b20b3e12d..be9ea2fe5e6 100644 --- a/source/rpcclient/samsync.c +++ b/source/rpcclient/samsync.c @@ -194,8 +194,8 @@ static struct cli_state *init_connection(struct cli_state *cli, return NULL; } - if (!lookup_pdc_name(global_myname, lp_workgroup(), dest_ip, - dest_host)) { + if (!lookup_dc_name(global_myname, lp_workgroup(), dest_ip, + dest_host)) { DEBUG(0, ("Could not lookup up PDC name for domain %s\n", lp_workgroup())); return NULL; -- 2.11.4.GIT