summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-11-13 19:12:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:28:12 -0500
commit65a50f46c829240bc1c9c6d663d8e1f7a8320012 (patch)
treeb395edd59030afe6496707b3eaf09ab7178e4c09 /source4/torture
parent31f9ec1233535e1d8836c44bbd40cc6adba3ca2a (diff)
downloadsamba-65a50f46c829240bc1c9c6d663d8e1f7a8320012.tar.gz
samba-65a50f46c829240bc1c9c6d663d8e1f7a8320012.tar.bz2
samba-65a50f46c829240bc1c9c6d663d8e1f7a8320012.zip
r19699: - use better names for the site strings
- use the client_site when creating the server object metze (This used to be commit b02d0e1be343c7d609715237dc842702b6fbe231)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/dssync.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index 0573d771af..6db40daf69 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -284,8 +284,9 @@ static BOOL test_GetInfo(struct DsSyncTest *ctx)
ctx->site_name = talloc_asprintf(ctx, "%s", "Default-First-Site-Name");
printf("cldap_netlogon() returned %s. Defaulting to Site-Name: %s\n", errstr, ctx->site_name);
} else {
- ctx->site_name = talloc_steal(ctx, search.out.netlogon.logon5.site_name);
- printf("cldap_netlogon() returned Site-Name: %s.\n",ctx->site_name);
+ ctx->site_name = talloc_steal(ctx, search.out.netlogon.logon5.client_site);
+ printf("cldap_netlogon() returned Client Site-Name: %s.\n",ctx->site_name);
+ printf("cldap_netlogon() returned Server Site-Name: %s.\n",search.out.netlogon.logon5.server_site);
}