r19969: split become ads dc TODO lists into W2K and W2K3 sections
authorStefan Metzmacher <metze@samba.org>
Thu, 30 Nov 2006 13:34:17 +0000 (13:34 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:28:42 +0000 (14:28 -0500)
metze

source/torture/rpc/testjoin.c

index 3f58b53e61504a6cf14d12505950b54610cb1fcd..690388f6689ea95a983320179c591174af78de61 100644 (file)
@@ -527,6 +527,7 @@ struct test_join_ads_dc *torture_join_domain_ads_dc(const char *machine_name,
                return NULL;
        }
 
+/* W2K: */
        /* W2K: modify userAccountControl from 4096 to 532480 */
        
        /* W2K: modify RDN to OU=Domain Controllers and skip the $ from server name */
@@ -577,6 +578,50 @@ struct test_join_ads_dc *torture_join_domain_ads_dc(const char *machine_name,
         * serverReferenz = CN=<machine_name>,OU=Domain Controllers,...
         */
 
+       /* DsAddEntry to create the CN=NTDS Settings,CN=<machine_name>,CN=Servers,CN=Default-First-Site-Name, ...
+        *
+        */
+
+       /* replicate CN=Schema,CN=Configuration,...
+        * using DRSUAPI_DS_BIND_GUID_W2K ("6abec3d1-3054-41c8-a362-5a0c5b7d5d71")
+        *
+        */
+
+       /* replicate CN=Configuration,...
+        * using DRSUAPI_DS_BIND_GUID_W2K ("6abec3d1-3054-41c8-a362-5a0c5b7d5d71")
+        *
+        */
+
+       /* replicate Domain Partition
+        * using DRSUAPI_DS_BIND_GUID_W2K ("6abec3d1-3054-41c8-a362-5a0c5b7d5d71")
+        *
+        */
+
+       /* call DsReplicaUpdateRefs() for all partitions like this:
+        *     req1: struct drsuapi_DsReplicaUpdateRefsRequest1
+        *           naming_context           : *
+        *                 naming_context: struct drsuapi_DsReplicaObjectIdentifier
+        *                     __ndr_size               : 0x000000ae (174)
+        *                     __ndr_size_sid           : 0x00000000 (0)
+        *                     guid                     : 00000000-0000-0000-0000-000000000000
+        *                     sid                      : S-0-0
+        *                     dn                       : 'CN=Schema,CN=Configuration,DC=w2k3,DC=vmnet1,DC=vm,DC=base'
+        *           dest_dsa_dns_name        : *
+        *                 dest_dsa_dns_name        : '4a0df188-a0b8-47ea-bbe5-e614723f16dd._msdcs.w2k3.vmnet1.vm.base'
+        *           dest_dsa_guid            : 4a0df188-a0b8-47ea-bbe5-e614723f16dd
+        *           options                  : 0x0000001c (28)
+        *                 0: DRSUAPI_DS_REPLICA_UPDATE_ASYNCHRONOUS_OPERATION
+        *                 0: DRSUAPI_DS_REPLICA_UPDATE_WRITEABLE
+        *                 1: DRSUAPI_DS_REPLICA_UPDATE_ADD_REFERENCE
+        *                 1: DRSUAPI_DS_REPLICA_UPDATE_DELETE_REFERENCE
+        *                 1: DRSUAPI_DS_REPLICA_UPDATE_0x00000010      
+        *
+        * 4a0df188-a0b8-47ea-bbe5-e614723f16dd is the objectGUID the DsAddEntry() returned for the
+        * CN=NTDS Settings,CN=<machine_name>,CN=Servers,CN=Default-First-Site-Name, ...
+        */
+
+/* W2K3: */
+
        /* DsAddEntry to create the CN=NTDS Settings,CN=<machine_name>,CN=Servers,CN=Default-First-Site-Name, ...
         *
         */