smbtorture: add support for the DSBindInfo48 to the RPC-DSSYNC test.
authorMichael Adam <obnox@samba.org>
Wed, 23 Jul 2008 09:05:24 +0000 (11:05 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 23 Jul 2008 10:52:40 +0000 (12:52 +0200)
Michael

source/torture/rpc/dssync.c

index 35fd4df84599e36697797574b438b51c3419601f..6b82b6bf0feb5b909b1504a7a918fb1a4e921587 100644 (file)
@@ -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;