r9527: add the magic Bind GUID's, that are needed to fetch the whole
authorStefan Metzmacher <metze@samba.org>
Tue, 23 Aug 2005 16:19:04 +0000 (16:19 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:34:26 +0000 (13:34 -0500)
tree with DsGeNCChanges(), this is possible as administrator
without having a DC account joined to the domain

metze
(This used to be commit e6f92444d26734ed984ff1b15a359ef94193945a)

source4/librpc/idl/drsuapi.idl

index 66aa527039a95d6621138b28c5bd21e14f8bbe8a..89d55c182184b98675d330a0a1d8f4e0a1f616cc 100644 (file)
@@ -100,6 +100,11 @@ interface drsuapi
         * maybe the bind_guid could also be the invocation_id see drsuapi_DsReplicaConnection04
         */
        const string DRSUAPI_DS_BIND_GUID = "e24d201a-4fd6-11d1-a3da-0000f875ae0d";
+       /* 
+        * this magic guid are needed to fetch the whole tree with drsuapi_DsGetNCChanges()
+        */
+       const string DRSUAPI_DS_BIND_GUID_W2K   = "6abec3d1-3054-41c8-a362-5a0c5b7d5d71";
+       const string DRSUAPI_DS_BIND_GUID_W2K3  = "6afab99c-6e26-464a-975f-f58f105218bc";
 
        WERROR drsuapi_DsBind(
                [in]        GUID *bind_guid,