idl: added DsExecuteKCC IDL
authorAndrew Tridgell <tridge@samba.org>
Thu, 17 Sep 2009 06:45:05 +0000 (23:45 -0700)
committerAndrew Tridgell <tridge@samba.org>
Thu, 17 Sep 2009 07:05:22 +0000 (00:05 -0700)
librpc/idl/drsuapi.idl
source4/rpc_server/drsuapi/dcesrv_drsuapi.c

index 4ca7e568f3041fafe80269b2c7c08660ab6d9a8d..f535763dc6cb988502e95497a1e675675e603387 100644 (file)
@@ -1316,7 +1316,25 @@ interface drsuapi
 
        /*****************/
         /* Function 0x12 */
-       [todo] WERROR DRSUAPI_EXECUTE_KCC();
+       typedef bitmap {
+               DRSUAPI_DS_EXECUTE_KCC_ASYNCHRONOUS_OPERATION   = 0x00000001,
+               DRSUAPI_DS_EXECUTE_KCC_DAMPED                   = 0x00000002
+       } drsuapi_DsExecuteKCCFlags;
+
+       typedef struct {
+               uint32 taskID;
+               drsuapi_DsExecuteKCCFlags flags;
+       } drsuapi_DsExecuteKCC1;
+
+       typedef [switch_type(uint32)] union {
+               [case(1)] drsuapi_DsExecuteKCC1 ctr1;
+       } drsuapi_DsExecuteKCCRequest;
+
+       WERROR drsuapi_DsExecuteKCC(
+               [in] policy_handle *bind_handle,
+               [in] uint32 level,
+               [in, ref, switch_is(level)] drsuapi_DsExecuteKCCRequest *req
+               );
 
        /*****************/
        /* Function 0x13 */
index 491b962a851dfe1a86f9dfc8bdb7b142a62b0ea8..9ae9519e9abfc8c291a023fccda921a6cc7ccd07 100644 (file)
@@ -779,10 +779,10 @@ static WERROR dcesrv_drsuapi_DsGetDomainControllerInfo(struct dcesrv_call_state
 
 
 /* 
-  DRSUAPI_EXECUTE_KCC 
+  drsuapi_DsExecuteKCC 
 */
-static WERROR dcesrv_DRSUAPI_EXECUTE_KCC(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
-                      struct DRSUAPI_EXECUTE_KCC *r)
+static WERROR dcesrv_drsuapi_DsExecuteKCC(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
+                                 struct drsuapi_DsExecuteKCC *r)
 {
        DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
 }