summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-12-11 00:11:11 +0000
committerTim Potter <tpot@samba.org>2001-12-11 00:11:11 +0000
commit83caa883d79c2d954749d21fced808bda970ec56 (patch)
tree422e7e4e30153e24a0f8abb767b242466742d5e3
parent1c909afe76566807fb576c965eb869f98e72f2bd (diff)
downloadsamba-83caa883d79c2d954749d21fced808bda970ec56.tar.gz
samba-83caa883d79c2d954749d21fced808bda970ec56.tar.xz
samba-83caa883d79c2d954749d21fced808bda970ec56.zip
Compile fix.
-rw-r--r--source/rpcclient/samsync.c4
1 files 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;