summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-06-08 10:56:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:53:15 -0500
commit38af1b1c05ad91b568c329d3e74c284c78b87e06 (patch)
tree03499fe84280a749de46014af3d91f71f0bb3130 /source4/torture/rpc
parent8d9e0d532379f0f350627a9497ff153249591349 (diff)
downloadsamba-38af1b1c05ad91b568c329d3e74c284c78b87e06.tar.gz
samba-38af1b1c05ad91b568c329d3e74c284c78b87e06.tar.bz2
samba-38af1b1c05ad91b568c329d3e74c284c78b87e06.zip
r23386: Correctly fill in server name in DsrGetDcSiteCoverageW() test.
Guenther (This used to be commit 2fc02ab99283f77138e759726ea67ec6ce5e5283)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/netlogon.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index 82a6dc235b..67d8e071d3 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -1380,7 +1380,8 @@ static BOOL test_netr_DsrGetDcSiteCoverageW(struct dcerpc_pipe *p, TALLOC_CTX *m
return True;
}
- r.in.server_name = "";
+ r.in.server_name = talloc_asprintf(mem_ctx, "\\\\%s", dcerpc_server_name(p));
+
printf("Testing netr_DsrGetDcSiteCoverageW\n");
status = dcerpc_netr_DsrGetDcSiteCoverageW(p, mem_ctx, &r);