From d032059df9559abbf9d828d7fb13626ddd2a62fc Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 11 Dec 2001 00:11:11 +0000 Subject: Compile fix. (This used to be commit 83caa883d79c2d954749d21fced808bda970ec56) --- source3/rpcclient/samsync.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/rpcclient') diff --git a/source3/rpcclient/samsync.c b/source3/rpcclient/samsync.c index 46b20b3e12..be9ea2fe5e 100644 --- a/source3/rpcclient/samsync.c +++ b/source3/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; -- cgit