summaryrefslogtreecommitdiff
path: root/source3/utils/net_lookup.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-01-26 01:39:33 +0100
committerGünther Deschner <gd@samba.org>2008-01-29 15:09:56 +0100
commit5ab43ae0d8e66a1fd4c877089df52282367be7dd (patch)
tree5785f26c014c563411b67bea2c47b5c7f9d03026 /source3/utils/net_lookup.c
parentd9a1282cc5e4a44495ec8ce20ef6dad6dc79c96b (diff)
downloadsamba-5ab43ae0d8e66a1fd4c877089df52282367be7dd.tar.gz
samba-5ab43ae0d8e66a1fd4c877089df52282367be7dd.tar.bz2
samba-5ab43ae0d8e66a1fd4c877089df52282367be7dd.zip
Eliminate remote tree of dsgetdcname (which will happen in libnetapi then).
Guenther (This used to be commit fd490d236b1fb73a75c457b75128c9b98719418f)
Diffstat (limited to 'source3/utils/net_lookup.c')
-rw-r--r--source3/utils/net_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c
index 765971fba3..8c01b5b4ba 100644
--- a/source3/utils/net_lookup.c
+++ b/source3/utils/net_lookup.c
@@ -401,7 +401,7 @@ static int net_lookup_dsgetdcname(int argc, const char **argv)
site_name = sitename_fetch(domain_name);
}
- status = dsgetdcname(mem_ctx, NULL, domain_name, NULL, site_name,
+ status = dsgetdcname(mem_ctx, domain_name, NULL, site_name,
flags, &info);
if (!NT_STATUS_IS_OK(status)) {
d_printf("failed with: %s\n", nt_errstr(status));