diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-05-20 11:37:23 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-05-20 11:37:23 +1000 |
commit | 9551d4027dd9bbdfa1fcb4a5a117792811ec7f29 (patch) | |
tree | cfb05907f4e142ec997d745e4e251b4a0a5ec953 /source4/torture/rpc/dssync.c | |
parent | e7d993b8b26e121ff37640825b4d2f2c4d6332bf (diff) | |
parent | e533e7a7ebc8b3029cf604e63cdc6d1cf8570ccd (diff) | |
download | samba-9551d4027dd9bbdfa1fcb4a5a117792811ec7f29.tar.gz samba-9551d4027dd9bbdfa1fcb4a5a117792811ec7f29.tar.bz2 samba-9551d4027dd9bbdfa1fcb4a5a117792811ec7f29.zip |
Merge commit 'origin/v4-0-test' into vfs_smb2
(This used to be commit ffbd222d651dcddb19cacdc50cdbfeaefa816940)
Diffstat (limited to 'source4/torture/rpc/dssync.c')
-rw-r--r-- | source4/torture/rpc/dssync.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c index 00617f4072..989a1faf27 100644 --- a/source4/torture/rpc/dssync.c +++ b/source4/torture/rpc/dssync.c @@ -288,16 +288,17 @@ static bool test_GetInfo(struct torture_context *tctx, struct DsSyncTest *ctx) search.in.dest_address = ctx->drsuapi_binding->host; search.in.dest_port = lp_cldap_port(tctx->lp_ctx); search.in.acct_control = -1; - search.in.version = 6; + search.in.version = NETLOGON_NT_VERSION_5 | NETLOGON_NT_VERSION_5EX; + search.in.map_response = true; status = cldap_netlogon(cldap, ctx, &search); if (!NT_STATUS_IS_OK(status)) { const char *errstr = nt_errstr(status); 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.client_site); + ctx->site_name = talloc_steal(ctx, search.out.netlogon.nt5_ex.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); + printf("cldap_netlogon() returned Server Site-Name: %s.\n",search.out.netlogon.nt5_ex.server_site); } return ret; |