summaryrefslogtreecommitdiff
path: root/source3/rpcclient
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
commitd032059df9559abbf9d828d7fb13626ddd2a62fc (patch)
tree730cfe895adf7a5375e166d5fb355cbe4eaa4acb /source3/rpcclient
parentabeb0f50ea3e7ac254aa8746e074f118fdb62db1 (diff)
downloadsamba-d032059df9559abbf9d828d7fb13626ddd2a62fc.tar.gz
samba-d032059df9559abbf9d828d7fb13626ddd2a62fc.tar.bz2
samba-d032059df9559abbf9d828d7fb13626ddd2a62fc.zip
Compile fix.
(This used to be commit 83caa883d79c2d954749d21fced808bda970ec56)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/samsync.c4
1 files changed, 2 insertions, 2 deletions
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;