summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-23 11:05:24 +0200
committerMichael Adam <obnox@samba.org>2008-07-23 12:52:40 +0200
commit935a7b3389615cadce4defa610b74072a286eac4 (patch)
tree25e683a44c82fe6a276fa326b5576e1596f436b7 /source4/torture
parent945eedc4c1b578d22707d070eacfab82f5619a04 (diff)
downloadsamba-935a7b3389615cadce4defa610b74072a286eac4.tar.gz
samba-935a7b3389615cadce4defa610b74072a286eac4.tar.bz2
samba-935a7b3389615cadce4defa610b74072a286eac4.zip
smbtorture: add support for the DSBindInfo48 to the RPC-DSSYNC test.
Michael (This used to be commit 67a99e445871861945fd0a45784cffb358bdccf3)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/dssync.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index 35fd4df845..6b82b6bf0f 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -214,6 +214,15 @@ static bool _test_DsBind(struct torture_context *tctx,
b->peer_bind_info28.repl_epoch = 0;
break;
}
+ case 48: {
+ struct drsuapi_DsBindInfo48 *info48;
+ info48 = &b->req.out.bind_info->info.info48;
+ b->peer_bind_info28.supported_extensions= info48->supported_extensions;
+ b->peer_bind_info28.site_guid = info48->site_guid;
+ b->peer_bind_info28.pid = info48->pid;
+ b->peer_bind_info28.repl_epoch = info48->repl_epoch;
+ break;
+ }
case 28:
b->peer_bind_info28 = b->req.out.bind_info->info.info28;
break;