/* s3 compat server functions auto-generated by pidl */ #include "bin/default/librpc/gen_ndr/ndr_clusapi.h" #include "bin/default/librpc/gen_ndr/ndr_clusapi_scompat.h" #include #include #include #include enum s3compat_rpc_dispatch { S3COMPAT_RPC_DISPATCH_EXTERNAL = 0x00000001, S3COMPAT_RPC_DISPATCH_INTERNAL = 0x00000002, }; /* clusapi - dcerpc server boilerplate generated by pidl */ static NTSTATUS clusapi__op_bind(struct dcesrv_connection_context *context, const struct dcesrv_interface *iface) { struct pipes_struct *p = NULL; /* Retrieve pipes struct */ p = dcesrv_get_pipes_struct(context->conn); p->pipe_bound = true; #ifdef DCESRV_INTERFACE_CLUSAPI_BIND return DCESRV_INTERFACE_CLUSAPI_BIND(context,iface); #else return NT_STATUS_OK; #endif } static void clusapi__op_unbind(struct dcesrv_connection_context *context, const struct dcesrv_interface *iface) { #ifdef DCESRV_INTERFACE_CLUSAPI_UNBIND DCESRV_INTERFACE_CLUSAPI_UNBIND(context, iface); #else return; #endif } NTSTATUS clusapi__op_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *pull, void **r) { enum ndr_err_code ndr_err; uint16_t opnum = dce_call->pkt.u.request.opnum; dce_call->fault_code = 0; if (opnum >= ndr_table_clusapi.num_calls) { dce_call->fault_code = DCERPC_FAULT_OP_RNG_ERROR; return NT_STATUS_NET_WRITE_FAULT; } *r = talloc_named(mem_ctx, ndr_table_clusapi.calls[opnum].struct_size, "struct %s", ndr_table_clusapi.calls[opnum].name); NT_STATUS_HAVE_NO_MEMORY(*r); /* unravel the NDR for the packet */ ndr_err = ndr_table_clusapi.calls[opnum].ndr_pull(pull, NDR_IN, *r); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { dce_call->fault_code = DCERPC_FAULT_NDR; return NT_STATUS_NET_WRITE_FAULT; } return NT_STATUS_OK; } static NTSTATUS clusapi__op_dispatch_internal(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r, enum s3compat_rpc_dispatch dispatch) { uint16_t opnum = dce_call->pkt.u.request.opnum; struct pipes_struct *p = NULL; struct auth_session_info *pipe_session_info = NULL; NTSTATUS status = NT_STATUS_OK; bool impersonated = false; /* Retrieve pipes struct */ p = dcesrv_get_pipes_struct(dce_call->conn); /* Update pipes struct opnum */ p->opnum = opnum; p->dce_call = dce_call; p->mem_ctx = mem_ctx; /* Update pipes struct session info */ pipe_session_info = p->session_info; p->session_info = dce_call->auth_state->session_info; p->auth.auth_type = dce_call->auth_state->auth_type; p->auth.auth_level = dce_call->auth_state->auth_level; p->auth.auth_context_id = dce_call->auth_state->auth_context_id; /* Reset pipes struct fault state */ p->fault_state = 0; /* Impersonate */ if (dispatch == S3COMPAT_RPC_DISPATCH_EXTERNAL) { impersonated = become_authenticated_pipe_user(p->session_info); if (!impersonated) { dce_call->fault_code = DCERPC_FAULT_ACCESS_DENIED; status = NT_STATUS_NET_WRITE_FAULT; goto fail; } } switch (opnum) { case 0: { /* clusapi_OpenCluster */ struct clusapi_OpenCluster *r2 = (struct clusapi_OpenCluster *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenCluster, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.Cluster = talloc_zero(r2, struct policy_handle); if (r2->out.Cluster == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenCluster(p, r2); break; } case 1: { /* clusapi_CloseCluster */ struct clusapi_CloseCluster *r2 = (struct clusapi_CloseCluster *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseCluster, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Cluster = r2->in.Cluster; r2->out.result = _clusapi_CloseCluster(p, r2); break; } case 2: { /* clusapi_SetClusterName */ struct clusapi_SetClusterName *r2 = (struct clusapi_SetClusterName *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetClusterName, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetClusterName(p, r2); break; } case 3: { /* clusapi_GetClusterName */ struct clusapi_GetClusterName *r2 = (struct clusapi_GetClusterName *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetClusterName, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ClusterName = talloc_zero(r2, const char *); if (r2->out.ClusterName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.NodeName = talloc_zero(r2, const char *); if (r2->out.NodeName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetClusterName(p, r2); break; } case 4: { /* clusapi_GetClusterVersion */ struct clusapi_GetClusterVersion *r2 = (struct clusapi_GetClusterVersion *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetClusterVersion, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpwMajorVersion = talloc_zero(r2, uint16_t); if (r2->out.lpwMajorVersion == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpwMinorVersion = talloc_zero(r2, uint16_t); if (r2->out.lpwMinorVersion == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpwBuildNumber = talloc_zero(r2, uint16_t); if (r2->out.lpwBuildNumber == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpszVendorId = talloc_zero(r2, const char *); if (r2->out.lpszVendorId == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpszCSDVersion = talloc_zero(r2, const char *); if (r2->out.lpszCSDVersion == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetClusterVersion(p, r2); break; } case 5: { /* clusapi_GetQuorumResource */ struct clusapi_GetQuorumResource *r2 = (struct clusapi_GetQuorumResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetQuorumResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpszResourceName = talloc_zero(r2, const char *); if (r2->out.lpszResourceName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpszDeviceName = talloc_zero(r2, const char *); if (r2->out.lpszDeviceName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.pdwMaxQuorumLogSize = talloc_zero(r2, uint32_t); if (r2->out.pdwMaxQuorumLogSize == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetQuorumResource(p, r2); break; } case 6: { /* clusapi_SetQuorumResource */ struct clusapi_SetQuorumResource *r2 = (struct clusapi_SetQuorumResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetQuorumResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetQuorumResource(p, r2); break; } case 7: { /* clusapi_CreateEnum */ struct clusapi_CreateEnum *r2 = (struct clusapi_CreateEnum *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateEnum, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateEnum(p, r2); break; } case 8: { /* clusapi_OpenResource */ struct clusapi_OpenResource *r2 = (struct clusapi_OpenResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hResource = talloc_zero(r2, struct policy_handle); if (r2->out.hResource == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenResource(p, r2); break; } case 9: { /* clusapi_CreateResource */ struct clusapi_CreateResource *r2 = (struct clusapi_CreateResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hResource = talloc_zero(r2, struct policy_handle); if (r2->out.hResource == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_CreateResource(p, r2); break; } case 10: { /* clusapi_DeleteResource */ struct clusapi_DeleteResource *r2 = (struct clusapi_DeleteResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_DeleteResource(p, r2); break; } case 11: { /* clusapi_CloseResource */ struct clusapi_CloseResource *r2 = (struct clusapi_CloseResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Resource = r2->in.Resource; r2->out.result = _clusapi_CloseResource(p, r2); break; } case 12: { /* clusapi_GetResourceState */ struct clusapi_GetResourceState *r2 = (struct clusapi_GetResourceState *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetResourceState, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.State = talloc_zero(r2, enum clusapi_ClusterResourceState); if (r2->out.State == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.NodeName = talloc_zero(r2, const char *); if (r2->out.NodeName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.GroupName = talloc_zero(r2, const char *); if (r2->out.GroupName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetResourceState(p, r2); break; } case 13: { /* clusapi_SetResourceName */ struct clusapi_SetResourceName *r2 = (struct clusapi_SetResourceName *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetResourceName, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetResourceName(p, r2); break; } case 14: { /* clusapi_GetResourceId */ struct clusapi_GetResourceId *r2 = (struct clusapi_GetResourceId *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetResourceId, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.pGuid = talloc_zero(r2, const char *); if (r2->out.pGuid == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetResourceId(p, r2); break; } case 15: { /* clusapi_GetResourceType */ struct clusapi_GetResourceType *r2 = (struct clusapi_GetResourceType *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetResourceType, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpszResourceType = talloc_zero(r2, const char *); if (r2->out.lpszResourceType == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetResourceType(p, r2); break; } case 16: { /* clusapi_FailResource */ struct clusapi_FailResource *r2 = (struct clusapi_FailResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_FailResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_FailResource(p, r2); break; } case 17: { /* clusapi_OnlineResource */ struct clusapi_OnlineResource *r2 = (struct clusapi_OnlineResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OnlineResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_OnlineResource(p, r2); break; } case 18: { /* clusapi_OfflineResource */ struct clusapi_OfflineResource *r2 = (struct clusapi_OfflineResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OfflineResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_OfflineResource(p, r2); break; } case 19: { /* clusapi_AddResourceDependency */ struct clusapi_AddResourceDependency *r2 = (struct clusapi_AddResourceDependency *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddResourceDependency, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddResourceDependency(p, r2); break; } case 20: { /* clusapi_RemoveResourceDependency */ struct clusapi_RemoveResourceDependency *r2 = (struct clusapi_RemoveResourceDependency *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveResourceDependency, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_RemoveResourceDependency(p, r2); break; } case 21: { /* clusapi_CanResourceBeDependent */ struct clusapi_CanResourceBeDependent *r2 = (struct clusapi_CanResourceBeDependent *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CanResourceBeDependent, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CanResourceBeDependent(p, r2); break; } case 22: { /* clusapi_CreateResEnum */ struct clusapi_CreateResEnum *r2 = (struct clusapi_CreateResEnum *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateResEnum, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateResEnum(p, r2); break; } case 23: { /* clusapi_AddResourceNode */ struct clusapi_AddResourceNode *r2 = (struct clusapi_AddResourceNode *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddResourceNode, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddResourceNode(p, r2); break; } case 24: { /* clusapi_RemoveResourceNode */ struct clusapi_RemoveResourceNode *r2 = (struct clusapi_RemoveResourceNode *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveResourceNode, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_RemoveResourceNode(p, r2); break; } case 25: { /* clusapi_ChangeResourceGroup */ struct clusapi_ChangeResourceGroup *r2 = (struct clusapi_ChangeResourceGroup *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ChangeResourceGroup, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ChangeResourceGroup(p, r2); break; } case 26: { /* clusapi_CreateResourceType */ struct clusapi_CreateResourceType *r2 = (struct clusapi_CreateResourceType *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateResourceType, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateResourceType(p, r2); break; } case 27: { /* clusapi_DeleteResourceType */ struct clusapi_DeleteResourceType *r2 = (struct clusapi_DeleteResourceType *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteResourceType, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_DeleteResourceType(p, r2); break; } case 28: { /* clusapi_GetRootKey */ struct clusapi_GetRootKey *r2 = (struct clusapi_GetRootKey *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetRootKey, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.phKey = talloc_zero(r2, struct policy_handle); if (r2->out.phKey == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_GetRootKey(p, r2); break; } case 29: { /* clusapi_CreateKey */ struct clusapi_CreateKey *r2 = (struct clusapi_CreateKey *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateKey, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpdwDisposition = talloc_zero(r2, uint32_t); if (r2->out.lpdwDisposition == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.phKey = talloc_zero(r2, struct policy_handle); if (r2->out.phKey == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_CreateKey(p, r2); break; } case 30: { /* clusapi_OpenKey */ struct clusapi_OpenKey *r2 = (struct clusapi_OpenKey *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenKey, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.phKey = talloc_zero(r2, struct policy_handle); if (r2->out.phKey == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenKey(p, r2); break; } case 31: { /* clusapi_EnumKey */ struct clusapi_EnumKey *r2 = (struct clusapi_EnumKey *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_EnumKey, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.KeyName = talloc_zero(r2, const char *); if (r2->out.KeyName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpftLastWriteTime = talloc_zero(r2, NTTIME); if (r2->out.lpftLastWriteTime == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_EnumKey(p, r2); break; } case 32: { /* clusapi_SetValue */ struct clusapi_SetValue *r2 = (struct clusapi_SetValue *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetValue, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetValue(p, r2); break; } case 33: { /* clusapi_DeleteValue */ struct clusapi_DeleteValue *r2 = (struct clusapi_DeleteValue *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteValue, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_DeleteValue(p, r2); break; } case 34: { /* clusapi_QueryValue */ struct clusapi_QueryValue *r2 = (struct clusapi_QueryValue *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_QueryValue, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpValueType = talloc_zero(r2, enum winreg_Type); if (r2->out.lpValueType == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpData = talloc_zero_array(r2, uint8_t, r2->in.cbData); if (r2->out.lpData == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_QueryValue(p, r2); break; } case 35: { /* clusapi_DeleteKey */ struct clusapi_DeleteKey *r2 = (struct clusapi_DeleteKey *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteKey, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_DeleteKey(p, r2); break; } case 36: { /* clusapi_EnumValue */ struct clusapi_EnumValue *r2 = (struct clusapi_EnumValue *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_EnumValue, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpcbData = r2->in.lpcbData; r2->out.lpValueName = talloc_zero(r2, const char *); if (r2->out.lpValueName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpType = talloc_zero(r2, enum winreg_Type); if (r2->out.lpType == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpData = talloc_zero_array(r2, uint8_t, *r2->out.lpcbData); if (r2->out.lpData == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.TotalSize = talloc_zero(r2, uint32_t); if (r2->out.TotalSize == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_EnumValue(p, r2); break; } case 37: { /* clusapi_CloseKey */ struct clusapi_CloseKey *r2 = (struct clusapi_CloseKey *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseKey, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.pKey = r2->in.pKey; r2->out.result = _clusapi_CloseKey(p, r2); break; } case 38: { /* clusapi_QueryInfoKey */ struct clusapi_QueryInfoKey *r2 = (struct clusapi_QueryInfoKey *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_QueryInfoKey, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpcSubKeys = talloc_zero(r2, uint32_t); if (r2->out.lpcSubKeys == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbMaxSubKeyLen = talloc_zero(r2, uint32_t); if (r2->out.lpcbMaxSubKeyLen == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcValues = talloc_zero(r2, uint32_t); if (r2->out.lpcValues == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbMaxValueNameLen = talloc_zero(r2, uint32_t); if (r2->out.lpcbMaxValueNameLen == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbMaxValueLen = talloc_zero(r2, uint32_t); if (r2->out.lpcbMaxValueLen == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbSecurityDescriptor = talloc_zero(r2, uint32_t); if (r2->out.lpcbSecurityDescriptor == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpftLastWriteTime = talloc_zero(r2, NTTIME); if (r2->out.lpftLastWriteTime == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_QueryInfoKey(p, r2); break; } case 39: { /* clusapi_SetKeySecurity */ struct clusapi_SetKeySecurity *r2 = (struct clusapi_SetKeySecurity *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetKeySecurity, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetKeySecurity(p, r2); break; } case 40: { /* clusapi_GetKeySecurity */ struct clusapi_GetKeySecurity *r2 = (struct clusapi_GetKeySecurity *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetKeySecurity, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.pRpcSecurityDescriptor = r2->in.pRpcSecurityDescriptor; r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetKeySecurity(p, r2); break; } case 41: { /* clusapi_OpenGroup */ struct clusapi_OpenGroup *r2 = (struct clusapi_OpenGroup *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenGroup, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hGroup = talloc_zero(r2, struct policy_handle); if (r2->out.hGroup == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenGroup(p, r2); break; } case 42: { /* clusapi_CreateGroup */ struct clusapi_CreateGroup *r2 = (struct clusapi_CreateGroup *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroup, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hGroup = talloc_zero(r2, struct policy_handle); if (r2->out.hGroup == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_CreateGroup(p, r2); break; } case 43: { /* clusapi_DeleteGroup */ struct clusapi_DeleteGroup *r2 = (struct clusapi_DeleteGroup *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteGroup, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_DeleteGroup(p, r2); break; } case 44: { /* clusapi_CloseGroup */ struct clusapi_CloseGroup *r2 = (struct clusapi_CloseGroup *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseGroup, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Group = r2->in.Group; r2->out.result = _clusapi_CloseGroup(p, r2); break; } case 45: { /* clusapi_GetGroupState */ struct clusapi_GetGroupState *r2 = (struct clusapi_GetGroupState *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetGroupState, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.State = talloc_zero(r2, enum clusapi_ClusterGroupState); if (r2->out.State == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.NodeName = talloc_zero(r2, const char *); if (r2->out.NodeName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetGroupState(p, r2); break; } case 46: { /* clusapi_SetGroupName */ struct clusapi_SetGroupName *r2 = (struct clusapi_SetGroupName *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetGroupName, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetGroupName(p, r2); break; } case 47: { /* clusapi_GetGroupId */ struct clusapi_GetGroupId *r2 = (struct clusapi_GetGroupId *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetGroupId, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.pGuid = talloc_zero(r2, const char *); if (r2->out.pGuid == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetGroupId(p, r2); break; } case 48: { /* clusapi_GetNodeId */ struct clusapi_GetNodeId *r2 = (struct clusapi_GetNodeId *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNodeId, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.pGuid = talloc_zero(r2, const char *); if (r2->out.pGuid == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetNodeId(p, r2); break; } case 49: { /* clusapi_OnlineGroup */ struct clusapi_OnlineGroup *r2 = (struct clusapi_OnlineGroup *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OnlineGroup, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_OnlineGroup(p, r2); break; } case 50: { /* clusapi_OfflineGroup */ struct clusapi_OfflineGroup *r2 = (struct clusapi_OfflineGroup *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OfflineGroup, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_OfflineGroup(p, r2); break; } case 51: { /* clusapi_MoveGroup */ struct clusapi_MoveGroup *r2 = (struct clusapi_MoveGroup *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_MoveGroup, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_MoveGroup(p, r2); break; } case 52: { /* clusapi_MoveGroupToNode */ struct clusapi_MoveGroupToNode *r2 = (struct clusapi_MoveGroupToNode *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_MoveGroupToNode, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_MoveGroupToNode(p, r2); break; } case 53: { /* clusapi_CreateGroupResourceEnum */ struct clusapi_CreateGroupResourceEnum *r2 = (struct clusapi_CreateGroupResourceEnum *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroupResourceEnum, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateGroupResourceEnum(p, r2); break; } case 54: { /* clusapi_SetGroupNodeList */ struct clusapi_SetGroupNodeList *r2 = (struct clusapi_SetGroupNodeList *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetGroupNodeList, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetGroupNodeList(p, r2); break; } case 55: { /* clusapi_CreateNotify */ struct clusapi_CreateNotify *r2 = (struct clusapi_CreateNotify *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNotify, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hNotify = talloc_zero(r2, struct policy_handle); if (r2->out.hNotify == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_CreateNotify(p, r2); break; } case 56: { /* clusapi_CloseNotify */ struct clusapi_CloseNotify *r2 = (struct clusapi_CloseNotify *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseNotify, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Notify = r2->in.Notify; r2->out.result = _clusapi_CloseNotify(p, r2); break; } case 57: { /* clusapi_AddNotifyCluster */ struct clusapi_AddNotifyCluster *r2 = (struct clusapi_AddNotifyCluster *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyCluster, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddNotifyCluster(p, r2); break; } case 58: { /* clusapi_AddNotifyNode */ struct clusapi_AddNotifyNode *r2 = (struct clusapi_AddNotifyNode *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyNode, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.dwStateSequence = talloc_zero(r2, uint32_t); if (r2->out.dwStateSequence == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddNotifyNode(p, r2); break; } case 59: { /* clusapi_AddNotifyGroup */ struct clusapi_AddNotifyGroup *r2 = (struct clusapi_AddNotifyGroup *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyGroup, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.dwStateSequence = talloc_zero(r2, uint32_t); if (r2->out.dwStateSequence == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddNotifyGroup(p, r2); break; } case 60: { /* clusapi_AddNotifyResource */ struct clusapi_AddNotifyResource *r2 = (struct clusapi_AddNotifyResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.dwStateSequence = talloc_zero(r2, uint32_t); if (r2->out.dwStateSequence == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddNotifyResource(p, r2); break; } case 61: { /* clusapi_AddNotifyKey */ struct clusapi_AddNotifyKey *r2 = (struct clusapi_AddNotifyKey *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyKey, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddNotifyKey(p, r2); break; } case 62: { /* clusapi_ReAddNotifyNode */ struct clusapi_ReAddNotifyNode *r2 = (struct clusapi_ReAddNotifyNode *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ReAddNotifyNode, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ReAddNotifyNode(p, r2); break; } case 63: { /* clusapi_ReAddNotifyGroup */ struct clusapi_ReAddNotifyGroup *r2 = (struct clusapi_ReAddNotifyGroup *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ReAddNotifyGroup, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ReAddNotifyGroup(p, r2); break; } case 64: { /* clusapi_ReAddNotifyResource */ struct clusapi_ReAddNotifyResource *r2 = (struct clusapi_ReAddNotifyResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ReAddNotifyResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ReAddNotifyResource(p, r2); break; } case 65: { /* clusapi_GetNotify */ struct clusapi_GetNotify *r2 = (struct clusapi_GetNotify *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNotify, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.dwNotifyKey = talloc_zero(r2, uint32_t); if (r2->out.dwNotifyKey == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.dwFilter = talloc_zero(r2, uint32_t); if (r2->out.dwFilter == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.dwStateSequence = talloc_zero(r2, uint32_t); if (r2->out.dwStateSequence == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.Name = talloc_zero(r2, const char *); if (r2->out.Name == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetNotify(p, r2); break; } case 66: { /* clusapi_OpenNode */ struct clusapi_OpenNode *r2 = (struct clusapi_OpenNode *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNode, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hNode = talloc_zero(r2, struct policy_handle); if (r2->out.hNode == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenNode(p, r2); break; } case 67: { /* clusapi_CloseNode */ struct clusapi_CloseNode *r2 = (struct clusapi_CloseNode *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseNode, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Node = r2->in.Node; r2->out.result = _clusapi_CloseNode(p, r2); break; } case 68: { /* clusapi_GetNodeState */ struct clusapi_GetNodeState *r2 = (struct clusapi_GetNodeState *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNodeState, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.State = talloc_zero(r2, enum clusapi_ClusterNodeState); if (r2->out.State == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetNodeState(p, r2); break; } case 69: { /* clusapi_PauseNode */ struct clusapi_PauseNode *r2 = (struct clusapi_PauseNode *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_PauseNode, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_PauseNode(p, r2); break; } case 70: { /* clusapi_ResumeNode */ struct clusapi_ResumeNode *r2 = (struct clusapi_ResumeNode *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ResumeNode, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ResumeNode(p, r2); break; } case 71: { /* clusapi_EvictNode */ struct clusapi_EvictNode *r2 = (struct clusapi_EvictNode *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_EvictNode, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_EvictNode(p, r2); break; } case 72: { /* clusapi_NodeResourceControl */ struct clusapi_NodeResourceControl *r2 = (struct clusapi_NodeResourceControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeResourceControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NodeResourceControl(p, r2); break; } case 73: { /* clusapi_ResourceControl */ struct clusapi_ResourceControl *r2 = (struct clusapi_ResourceControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ResourceControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ResourceControl(p, r2); break; } case 74: { /* clusapi_NodeResourceTypeControl */ struct clusapi_NodeResourceTypeControl *r2 = (struct clusapi_NodeResourceTypeControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeResourceTypeControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NodeResourceTypeControl(p, r2); break; } case 75: { /* clusapi_ResourceTypeControl */ struct clusapi_ResourceTypeControl *r2 = (struct clusapi_ResourceTypeControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ResourceTypeControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ResourceTypeControl(p, r2); break; } case 76: { /* clusapi_NodeGroupControl */ struct clusapi_NodeGroupControl *r2 = (struct clusapi_NodeGroupControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeGroupControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NodeGroupControl(p, r2); break; } case 77: { /* clusapi_GroupControl */ struct clusapi_GroupControl *r2 = (struct clusapi_GroupControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GroupControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GroupControl(p, r2); break; } case 78: { /* clusapi_NodeNodeControl */ struct clusapi_NodeNodeControl *r2 = (struct clusapi_NodeNodeControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeNodeControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NodeNodeControl(p, r2); break; } case 79: { /* clusapi_NodeControl */ struct clusapi_NodeControl *r2 = (struct clusapi_NodeControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NodeControl(p, r2); break; } case 80: { /* Opnum80NotUsedOnWire */ struct Opnum80NotUsedOnWire *r2 = (struct Opnum80NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum80NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum80NotUsedOnWire(p, r2); break; } case 81: { /* clusapi_OpenNetwork */ struct clusapi_OpenNetwork *r2 = (struct clusapi_OpenNetwork *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNetwork, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hNetwork = talloc_zero(r2, struct policy_handle); if (r2->out.hNetwork == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenNetwork(p, r2); break; } case 82: { /* clusapi_CloseNetwork */ struct clusapi_CloseNetwork *r2 = (struct clusapi_CloseNetwork *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseNetwork, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Network = r2->in.Network; r2->out.result = _clusapi_CloseNetwork(p, r2); break; } case 83: { /* clusapi_GetNetworkState */ struct clusapi_GetNetworkState *r2 = (struct clusapi_GetNetworkState *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNetworkState, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.State = talloc_zero(r2, enum clusapi_ClusterNetworkState); if (r2->out.State == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetNetworkState(p, r2); break; } case 84: { /* clusapi_SetNetworkName */ struct clusapi_SetNetworkName *r2 = (struct clusapi_SetNetworkName *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetNetworkName, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetNetworkName(p, r2); break; } case 85: { /* clusapi_CreateNetworkEnum */ struct clusapi_CreateNetworkEnum *r2 = (struct clusapi_CreateNetworkEnum *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNetworkEnum, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateNetworkEnum(p, r2); break; } case 86: { /* clusapi_GetNetworkId */ struct clusapi_GetNetworkId *r2 = (struct clusapi_GetNetworkId *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNetworkId, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.pGuid = talloc_zero(r2, const char *); if (r2->out.pGuid == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetNetworkId(p, r2); break; } case 87: { /* clusapi_SetNetworkPriorityOrder */ struct clusapi_SetNetworkPriorityOrder *r2 = (struct clusapi_SetNetworkPriorityOrder *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetNetworkPriorityOrder, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetNetworkPriorityOrder(p, r2); break; } case 88: { /* clusapi_NodeNetworkControl */ struct clusapi_NodeNetworkControl *r2 = (struct clusapi_NodeNetworkControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeNetworkControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NodeNetworkControl(p, r2); break; } case 89: { /* clusapi_NetworkControl */ struct clusapi_NetworkControl *r2 = (struct clusapi_NetworkControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NetworkControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NetworkControl(p, r2); break; } case 90: { /* clusapi_AddNotifyNetwork */ struct clusapi_AddNotifyNetwork *r2 = (struct clusapi_AddNotifyNetwork *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyNetwork, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.dwStateSequence = talloc_zero(r2, uint32_t); if (r2->out.dwStateSequence == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddNotifyNetwork(p, r2); break; } case 91: { /* clusapi_ReAddNotifyNetwork */ struct clusapi_ReAddNotifyNetwork *r2 = (struct clusapi_ReAddNotifyNetwork *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ReAddNotifyNetwork, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ReAddNotifyNetwork(p, r2); break; } case 92: { /* clusapi_OpenNetInterface */ struct clusapi_OpenNetInterface *r2 = (struct clusapi_OpenNetInterface *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNetInterface, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hNetInterface = talloc_zero(r2, struct policy_handle); if (r2->out.hNetInterface == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenNetInterface(p, r2); break; } case 93: { /* clusapi_CloseNetInterface */ struct clusapi_CloseNetInterface *r2 = (struct clusapi_CloseNetInterface *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseNetInterface, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.NetInterface = r2->in.NetInterface; r2->out.result = _clusapi_CloseNetInterface(p, r2); break; } case 94: { /* clusapi_GetNetInterfaceState */ struct clusapi_GetNetInterfaceState *r2 = (struct clusapi_GetNetInterfaceState *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNetInterfaceState, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.State = talloc_zero(r2, enum clusapi_ClusterNetInterfaceState); if (r2->out.State == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetNetInterfaceState(p, r2); break; } case 95: { /* clusapi_GetNetInterface */ struct clusapi_GetNetInterface *r2 = (struct clusapi_GetNetInterface *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNetInterface, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lppszInterfaceName = talloc_zero(r2, const char *); if (r2->out.lppszInterfaceName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetNetInterface(p, r2); break; } case 96: { /* clusapi_GetNetInterfaceId */ struct clusapi_GetNetInterfaceId *r2 = (struct clusapi_GetNetInterfaceId *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNetInterfaceId, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.pGuid = talloc_zero(r2, const char *); if (r2->out.pGuid == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetNetInterfaceId(p, r2); break; } case 97: { /* clusapi_NodeNetInterfaceControl */ struct clusapi_NodeNetInterfaceControl *r2 = (struct clusapi_NodeNetInterfaceControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeNetInterfaceControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NodeNetInterfaceControl(p, r2); break; } case 98: { /* clusapi_NetInterfaceControl */ struct clusapi_NetInterfaceControl *r2 = (struct clusapi_NetInterfaceControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NetInterfaceControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NetInterfaceControl(p, r2); break; } case 99: { /* clusapi_AddNotifyNetInterface */ struct clusapi_AddNotifyNetInterface *r2 = (struct clusapi_AddNotifyNetInterface *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyNetInterface, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.dwStateSequence = talloc_zero(r2, uint32_t); if (r2->out.dwStateSequence == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddNotifyNetInterface(p, r2); break; } case 100: { /* clusapi_ReAddNotifyNetInterface */ struct clusapi_ReAddNotifyNetInterface *r2 = (struct clusapi_ReAddNotifyNetInterface *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ReAddNotifyNetInterface, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ReAddNotifyNetInterface(p, r2); break; } case 101: { /* clusapi_CreateNodeEnum */ struct clusapi_CreateNodeEnum *r2 = (struct clusapi_CreateNodeEnum *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNodeEnum, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateNodeEnum(p, r2); break; } case 102: { /* clusapi_GetClusterVersion2 */ struct clusapi_GetClusterVersion2 *r2 = (struct clusapi_GetClusterVersion2 *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetClusterVersion2, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpwMajorVersion = talloc_zero(r2, uint16_t); if (r2->out.lpwMajorVersion == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpwMinorVersion = talloc_zero(r2, uint16_t); if (r2->out.lpwMinorVersion == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpwBuildNumber = talloc_zero(r2, uint16_t); if (r2->out.lpwBuildNumber == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpszVendorId = talloc_zero(r2, const char *); if (r2->out.lpszVendorId == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpszCSDVersion = talloc_zero(r2, const char *); if (r2->out.lpszCSDVersion == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.ppClusterOpVerInfo = talloc_zero(r2, struct CLUSTER_OPERATIONAL_VERSION_INFO *); if (r2->out.ppClusterOpVerInfo == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetClusterVersion2(p, r2); break; } case 103: { /* clusapi_CreateResTypeEnum */ struct clusapi_CreateResTypeEnum *r2 = (struct clusapi_CreateResTypeEnum *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateResTypeEnum, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateResTypeEnum(p, r2); break; } case 104: { /* clusapi_BackupClusterDatabase */ struct clusapi_BackupClusterDatabase *r2 = (struct clusapi_BackupClusterDatabase *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_BackupClusterDatabase, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_BackupClusterDatabase(p, r2); break; } case 105: { /* clusapi_NodeClusterControl */ struct clusapi_NodeClusterControl *r2 = (struct clusapi_NodeClusterControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeClusterControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NodeClusterControl(p, r2); break; } case 106: { /* clusapi_ClusterControl */ struct clusapi_ClusterControl *r2 = (struct clusapi_ClusterControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ClusterControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ClusterControl(p, r2); break; } case 107: { /* clusapi_UnblockGetNotifyCall */ struct clusapi_UnblockGetNotifyCall *r2 = (struct clusapi_UnblockGetNotifyCall *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_UnblockGetNotifyCall, NDR_IN, r2); } r2->out.result = _clusapi_UnblockGetNotifyCall(p, r2); break; } case 108: { /* clusapi_SetServiceAccountPassword */ struct clusapi_SetServiceAccountPassword *r2 = (struct clusapi_SetServiceAccountPassword *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetServiceAccountPassword, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnStatusBufferPtr = talloc_zero_array(r2, struct IDL_CLUSTER_SET_PASSWORD_STATUS, r2->in.ReturnStatusBufferSize); if (r2->out.ReturnStatusBufferPtr == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.SizeReturned = talloc_zero(r2, uint32_t); if (r2->out.SizeReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.ExpectedBufferSize = talloc_zero(r2, uint32_t); if (r2->out.ExpectedBufferSize == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetServiceAccountPassword(p, r2); break; } case 109: { /* clusapi_SetResourceDependencyExpression */ struct clusapi_SetResourceDependencyExpression *r2 = (struct clusapi_SetResourceDependencyExpression *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetResourceDependencyExpression, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetResourceDependencyExpression(p, r2); break; } case 110: { /* clusapi_GetResourceDependencyExpression */ struct clusapi_GetResourceDependencyExpression *r2 = (struct clusapi_GetResourceDependencyExpression *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetResourceDependencyExpression, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpszDependencyExpression = talloc_zero(r2, const char *); if (r2->out.lpszDependencyExpression == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetResourceDependencyExpression(p, r2); break; } case 111: { /* Opnum111NotUsedOnWire */ struct Opnum111NotUsedOnWire *r2 = (struct Opnum111NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum111NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum111NotUsedOnWire(p, r2); break; } case 112: { /* clusapi_GetResourceNetworkName */ struct clusapi_GetResourceNetworkName *r2 = (struct clusapi_GetResourceNetworkName *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetResourceNetworkName, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpszName = talloc_zero(r2, const char *); if (r2->out.lpszName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetResourceNetworkName(p, r2); break; } case 113: { /* clusapi_ExecuteBatch */ struct clusapi_ExecuteBatch *r2 = (struct clusapi_ExecuteBatch *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ExecuteBatch, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.pdwFailedCommand = talloc_zero(r2, int32_t); if (r2->out.pdwFailedCommand == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ExecuteBatch(p, r2); break; } case 114: { /* clusapi_CreateBatchPort */ struct clusapi_CreateBatchPort *r2 = (struct clusapi_CreateBatchPort *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateBatchPort, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.phBatchPort = talloc_zero(r2, struct policy_handle); if (r2->out.phBatchPort == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateBatchPort(p, r2); break; } case 115: { /* clusapi_GetBatchNotification */ struct clusapi_GetBatchNotification *r2 = (struct clusapi_GetBatchNotification *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetBatchNotification, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.cbData = talloc_zero(r2, uint32_t); if (r2->out.cbData == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpData = talloc_zero(r2, uint8_t *); if (r2->out.lpData == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetBatchNotification(p, r2); break; } case 116: { /* clusapi_CloseBatchPort */ struct clusapi_CloseBatchPort *r2 = (struct clusapi_CloseBatchPort *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseBatchPort, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.phBatchPort = r2->in.phBatchPort; r2->out.result = _clusapi_CloseBatchPort(p, r2); break; } case 117: { /* clusapi_OpenClusterEx */ struct clusapi_OpenClusterEx *r2 = (struct clusapi_OpenClusterEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenClusterEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpdwGrantedAccess = talloc_zero(r2, uint32_t); if (r2->out.lpdwGrantedAccess == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hCluster = talloc_zero(r2, struct policy_handle); if (r2->out.hCluster == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenClusterEx(p, r2); break; } case 118: { /* clusapi_OpenNodeEx */ struct clusapi_OpenNodeEx *r2 = (struct clusapi_OpenNodeEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNodeEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpdwGrantedAccess = talloc_zero(r2, uint32_t); if (r2->out.lpdwGrantedAccess == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hNode = talloc_zero(r2, struct policy_handle); if (r2->out.hNode == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenNodeEx(p, r2); break; } case 119: { /* clusapi_OpenGroupEx */ struct clusapi_OpenGroupEx *r2 = (struct clusapi_OpenGroupEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenGroupEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpdwGrantedAccess = talloc_zero(r2, uint32_t); if (r2->out.lpdwGrantedAccess == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hGroup = talloc_zero(r2, struct policy_handle); if (r2->out.hGroup == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenGroupEx(p, r2); break; } case 120: { /* clusapi_OpenResourceEx */ struct clusapi_OpenResourceEx *r2 = (struct clusapi_OpenResourceEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenResourceEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpdwGrantedAccess = talloc_zero(r2, uint32_t); if (r2->out.lpdwGrantedAccess == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hResource = talloc_zero(r2, struct policy_handle); if (r2->out.hResource == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenResourceEx(p, r2); break; } case 121: { /* clusapi_OpenNetworkEx */ struct clusapi_OpenNetworkEx *r2 = (struct clusapi_OpenNetworkEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNetworkEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpdwGrantedAccess = talloc_zero(r2, uint32_t); if (r2->out.lpdwGrantedAccess == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hNetwork = talloc_zero(r2, struct policy_handle); if (r2->out.hNetwork == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenNetworkEx(p, r2); break; } case 122: { /* clusapi_OpenNetInterfaceEx */ struct clusapi_OpenNetInterfaceEx *r2 = (struct clusapi_OpenNetInterfaceEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNetInterfaceEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpdwGrantedAccess = talloc_zero(r2, uint32_t); if (r2->out.lpdwGrantedAccess == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hNetInterface = talloc_zero(r2, struct policy_handle); if (r2->out.hNetInterface == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenNetInterfaceEx(p, r2); break; } case 123: { /* clusapi_ChangeCsvState */ struct clusapi_ChangeCsvState *r2 = (struct clusapi_ChangeCsvState *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ChangeCsvState, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ChangeCsvState(p, r2); break; } case 124: { /* clusapi_CreateNodeEnumEx */ struct clusapi_CreateNodeEnumEx *r2 = (struct clusapi_CreateNodeEnumEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNodeEnumEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnIdEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnIdEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.ReturnNameEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnNameEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateNodeEnumEx(p, r2); break; } case 125: { /* clusapi_CreateEnumEx */ struct clusapi_CreateEnumEx *r2 = (struct clusapi_CreateEnumEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateEnumEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnIdEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnIdEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.ReturnNameEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnNameEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateEnumEx(p, r2); break; } case 126: { /* clusapi_PauseNodeEx */ struct clusapi_PauseNodeEx *r2 = (struct clusapi_PauseNodeEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_PauseNodeEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_PauseNodeEx(p, r2); break; } case 127: { /* clusapi_PauseNodeWithDrainTarget */ struct clusapi_PauseNodeWithDrainTarget *r2 = (struct clusapi_PauseNodeWithDrainTarget *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_PauseNodeWithDrainTarget, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_PauseNodeWithDrainTarget(p, r2); break; } case 128: { /* clusapi_ResumeNodeEx */ struct clusapi_ResumeNodeEx *r2 = (struct clusapi_ResumeNodeEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ResumeNodeEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ResumeNodeEx(p, r2); break; } case 129: { /* clusapi_CreateGroupEx */ struct clusapi_CreateGroupEx *r2 = (struct clusapi_CreateGroupEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroupEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hGroup = talloc_zero(r2, struct policy_handle); if (r2->out.hGroup == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_CreateGroupEx(p, r2); break; } case 130: { /* clusapi_OnlineGroupEx */ struct clusapi_OnlineGroupEx *r2 = (struct clusapi_OnlineGroupEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OnlineGroupEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_OnlineGroupEx(p, r2); break; } case 131: { /* clusapi_OfflineGroupEx */ struct clusapi_OfflineGroupEx *r2 = (struct clusapi_OfflineGroupEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OfflineGroupEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_OfflineGroupEx(p, r2); break; } case 132: { /* clusapi_MoveGroupEx */ struct clusapi_MoveGroupEx *r2 = (struct clusapi_MoveGroupEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_MoveGroupEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_MoveGroupEx(p, r2); break; } case 133: { /* clusapi_MoveGroupToNodeEx */ struct clusapi_MoveGroupToNodeEx *r2 = (struct clusapi_MoveGroupToNodeEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_MoveGroupToNodeEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_MoveGroupToNodeEx(p, r2); break; } case 134: { /* clusapi_CancelClusterGroupOperation */ struct clusapi_CancelClusterGroupOperation *r2 = (struct clusapi_CancelClusterGroupOperation *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CancelClusterGroupOperation, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CancelClusterGroupOperation(p, r2); break; } case 135: { /* clusapi_OnlineResourceEx */ struct clusapi_OnlineResourceEx *r2 = (struct clusapi_OnlineResourceEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OnlineResourceEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_OnlineResourceEx(p, r2); break; } case 136: { /* clusapi_OfflineResourceEx */ struct clusapi_OfflineResourceEx *r2 = (struct clusapi_OfflineResourceEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OfflineResourceEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_OfflineResourceEx(p, r2); break; } case 137: { /* clusapi_CreateNotifyV2 */ struct clusapi_CreateNotifyV2 *r2 = (struct clusapi_CreateNotifyV2 *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNotifyV2, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_error = talloc_zero(r2, WERROR); if (r2->out.rpc_error == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hNotify = talloc_zero(r2, struct policy_handle); if (r2->out.hNotify == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_CreateNotifyV2(p, r2); break; } case 138: { /* clusapi_AddNotifyV2 */ struct clusapi_AddNotifyV2 *r2 = (struct clusapi_AddNotifyV2 *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyV2, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddNotifyV2(p, r2); break; } case 139: { /* clusapi_GetNotifyV2 */ struct clusapi_GetNotifyV2 *r2 = (struct clusapi_GetNotifyV2 *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNotifyV2, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Notifications = talloc_zero(r2, struct NOTIFICATION_RPC *); if (r2->out.Notifications == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.dwNumNotifications = talloc_zero(r2, uint32_t); if (r2->out.dwNumNotifications == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetNotifyV2(p, r2); break; } case 140: { /* clusapi_QueryAllValues */ struct clusapi_QueryAllValues *r2 = (struct clusapi_QueryAllValues *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_QueryAllValues, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.pcbData = talloc_zero(r2, uint32_t); if (r2->out.pcbData == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.ppData = talloc_zero_array(r2, uint8_t *, 1); if (r2->out.ppData == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_QueryAllValues(p, r2); break; } case 141: { /* clusapi_StmFindDisk */ struct clusapi_StmFindDisk *r2 = (struct clusapi_StmFindDisk *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_StmFindDisk, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.pDiskId = r2->in.pDiskId; r2->out.ppszDeviceName = talloc_zero(r2, const char *); if (r2->out.ppszDeviceName == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_StmFindDisk(p, r2); break; } case 142: { /* clusapi_ClusterMrr */ struct clusapi_ClusterMrr *r2 = (struct clusapi_ClusterMrr *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ClusterMrr, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ppInfo = talloc_zero_array(r2, struct CLUSTER_MRR_RESPONSE *, 1); if (r2->out.ppInfo == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ClusterMrr(p, r2); break; } case 143: { /* clusapi_CreateGroupEnum */ struct clusapi_CreateGroupEnum *r2 = (struct clusapi_CreateGroupEnum *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroupEnum, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ppResultList = talloc_zero(r2, struct GROUP_ENUM_LIST *); if (r2->out.ppResultList == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateGroupEnum(p, r2); break; } case 144: { /* clusapi_CreateResourceEnum */ struct clusapi_CreateResourceEnum *r2 = (struct clusapi_CreateResourceEnum *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateResourceEnum, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ppResultList = talloc_zero(r2, struct RESOURCE_ENUM_LIST *); if (r2->out.ppResultList == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateResourceEnum(p, r2); break; } case 145: { /* clusapi_ExecuteReadBatch */ struct clusapi_ExecuteReadBatch *r2 = (struct clusapi_ExecuteReadBatch *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ExecuteReadBatch, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.cbOutData = talloc_zero(r2, uint32_t); if (r2->out.cbOutData == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpOutData = talloc_zero(r2, uint8_t *); if (r2->out.lpOutData == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ExecuteReadBatch(p, r2); break; } case 146: { /* clusapi_RestartResource */ struct clusapi_RestartResource *r2 = (struct clusapi_RestartResource *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RestartResource, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_RestartResource(p, r2); break; } case 147: { /* clusapi_GetNotifyAsync */ struct clusapi_GetNotifyAsync *r2 = (struct clusapi_GetNotifyAsync *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNotifyAsync, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Notifications = talloc_zero(r2, struct NOTIFICATION_DATA_ASYNC_RPC *); if (r2->out.Notifications == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.dwNumNotifications = talloc_zero(r2, uint32_t); if (r2->out.dwNumNotifications == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GetNotifyAsync(p, r2); break; } case 148: { /* Opnum148NotUsedOnWire */ struct Opnum148NotUsedOnWire *r2 = (struct Opnum148NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum148NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum148NotUsedOnWire(p, r2); break; } case 149: { /* Opnum149otUsedOnWire */ struct Opnum149otUsedOnWire *r2 = (struct Opnum149otUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum149otUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum149otUsedOnWire(p, r2); break; } case 150: { /* Opnum150NotUsedOnWire */ struct Opnum150NotUsedOnWire *r2 = (struct Opnum150NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum150NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum150NotUsedOnWire(p, r2); break; } case 151: { /* Opnum151NotUsedOnWire */ struct Opnum151NotUsedOnWire *r2 = (struct Opnum151NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum151NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum151NotUsedOnWire(p, r2); break; } case 152: { /* Opnum152NotUsedOnWire */ struct Opnum152NotUsedOnWire *r2 = (struct Opnum152NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum152NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum152NotUsedOnWire(p, r2); break; } case 153: { /* Opnum153NotUsedOnWire */ struct Opnum153NotUsedOnWire *r2 = (struct Opnum153NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum153NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum153NotUsedOnWire(p, r2); break; } case 154: { /* Opnum154NotUsedOnWire */ struct Opnum154NotUsedOnWire *r2 = (struct Opnum154NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum154NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum154NotUsedOnWire(p, r2); break; } case 155: { /* clusapi_AddNotifyResourceTypeV2 */ struct clusapi_AddNotifyResourceTypeV2 *r2 = (struct clusapi_AddNotifyResourceTypeV2 *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyResourceTypeV2, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddNotifyResourceTypeV2(p, r2); break; } case 156: { /* Opnum156NotUsedOnWire */ struct Opnum156NotUsedOnWire *r2 = (struct Opnum156NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum156NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum156NotUsedOnWire(p, r2); break; } case 157: { /* clusapi_ExecuteReadBatchEx */ struct clusapi_ExecuteReadBatchEx *r2 = (struct clusapi_ExecuteReadBatchEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ExecuteReadBatchEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.cbOutData = talloc_zero(r2, uint32_t); if (r2->out.cbOutData == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpOutData = talloc_zero(r2, uint8_t *); if (r2->out.lpOutData == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ExecuteReadBatchEx(p, r2); break; } case 158: { /* Opnum158NotUsedOnWire */ struct Opnum158NotUsedOnWire *r2 = (struct Opnum158NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum158NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum158NotUsedOnWire(p, r2); break; } case 159: { /* Opnum159NotUsedOnWire */ struct Opnum159NotUsedOnWire *r2 = (struct Opnum159NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum159NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum159NotUsedOnWire(p, r2); break; } case 160: { /* Opnum160NotUsedOnWire */ struct Opnum160NotUsedOnWire *r2 = (struct Opnum160NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum160NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum160NotUsedOnWire(p, r2); break; } case 161: { /* Opnum161NotUsedOnWire */ struct Opnum161NotUsedOnWire *r2 = (struct Opnum161NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum161NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum161NotUsedOnWire(p, r2); break; } case 162: { /* Opnum162NotUsedOnWire */ struct Opnum162NotUsedOnWire *r2 = (struct Opnum162NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum162NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum162NotUsedOnWire(p, r2); break; } case 163: { /* clusapi_CreateGroupSet */ struct clusapi_CreateGroupSet *r2 = (struct clusapi_CreateGroupSet *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroupSet, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hGroupSet = talloc_zero(r2, struct policy_handle); if (r2->out.hGroupSet == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_CreateGroupSet(p, r2); break; } case 164: { /* clusapi_OpenGroupSet */ struct clusapi_OpenGroupSet *r2 = (struct clusapi_OpenGroupSet *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenGroupSet, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.Status = talloc_zero(r2, WERROR); if (r2->out.Status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.hGroupSet = talloc_zero(r2, struct policy_handle); if (r2->out.hGroupSet == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } _clusapi_OpenGroupSet(p, r2); break; } case 165: { /* clusapi_CloseGroupSet */ struct clusapi_CloseGroupSet *r2 = (struct clusapi_CloseGroupSet *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseGroupSet, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.GroupSet = r2->in.GroupSet; r2->out.result = _clusapi_CloseGroupSet(p, r2); break; } case 166: { /* clusapi_DeleteGroupSet */ struct clusapi_DeleteGroupSet *r2 = (struct clusapi_DeleteGroupSet *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteGroupSet, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_DeleteGroupSet(p, r2); break; } case 167: { /* clusapi_AddGroupToGroupSet */ struct clusapi_AddGroupToGroupSet *r2 = (struct clusapi_AddGroupToGroupSet *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddGroupToGroupSet, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddGroupToGroupSet(p, r2); break; } case 168: { /* clusapi_RemoveGroupFromGroupSet */ struct clusapi_RemoveGroupFromGroupSet *r2 = (struct clusapi_RemoveGroupFromGroupSet *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveGroupFromGroupSet, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_RemoveGroupFromGroupSet(p, r2); break; } case 169: { /* clusapi_MoveGroupToGroupSet */ struct clusapi_MoveGroupToGroupSet *r2 = (struct clusapi_MoveGroupToGroupSet *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_MoveGroupToGroupSet, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_MoveGroupToGroupSet(p, r2); break; } case 170: { /* Opnum170NotUsedOnWire */ struct Opnum170NotUsedOnWire *r2 = (struct Opnum170NotUsedOnWire *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(Opnum170NotUsedOnWire, NDR_IN, r2); } r2->out.result = _Opnum170NotUsedOnWire(p, r2); break; } case 171: { /* clusapi_AddGroupSetDependency */ struct clusapi_AddGroupSetDependency *r2 = (struct clusapi_AddGroupSetDependency *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddGroupSetDependency, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddGroupSetDependency(p, r2); break; } case 172: { /* clusapi_AddGroupToGroupSetDependency */ struct clusapi_AddGroupToGroupSetDependency *r2 = (struct clusapi_AddGroupToGroupSetDependency *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddGroupToGroupSetDependency, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddGroupToGroupSetDependency(p, r2); break; } case 173: { /* clusapi_NodeGroupSetControl */ struct clusapi_NodeGroupSetControl *r2 = (struct clusapi_NodeGroupSetControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeGroupSetControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_NodeGroupSetControl(p, r2); break; } case 174: { /* clusapi_GroupSetControl */ struct clusapi_GroupSetControl *r2 = (struct clusapi_GroupSetControl *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GroupSetControl, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.lpOutBuffer = talloc_zero_array(r2, uint8_t, r2->in.nOutBufferSize); if (r2->out.lpOutBuffer == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpBytesReturned = talloc_zero(r2, uint32_t); if (r2->out.lpBytesReturned == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.lpcbRequired = talloc_zero(r2, uint32_t); if (r2->out.lpcbRequired == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_GroupSetControl(p, r2); break; } case 175: { /* clusapi_SetGroupDependencyExpression */ struct clusapi_SetGroupDependencyExpression *r2 = (struct clusapi_SetGroupDependencyExpression *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetGroupDependencyExpression, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetGroupDependencyExpression(p, r2); break; } case 176: { /* clusapi_RemoveClusterGroupDependency */ struct clusapi_RemoveClusterGroupDependency *r2 = (struct clusapi_RemoveClusterGroupDependency *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveClusterGroupDependency, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_RemoveClusterGroupDependency(p, r2); break; } case 177: { /* clusapi_SetGroupSetDependencyExpression */ struct clusapi_SetGroupSetDependencyExpression *r2 = (struct clusapi_SetGroupSetDependencyExpression *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetGroupSetDependencyExpression, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_SetGroupSetDependencyExpression(p, r2); break; } case 178: { /* clusapi_RemoveGroupSetDependency */ struct clusapi_RemoveGroupSetDependency *r2 = (struct clusapi_RemoveGroupSetDependency *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveGroupSetDependency, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_RemoveGroupSetDependency(p, r2); break; } case 179: { /* clusapi_RemoveClusterGroupToGroupSetDependency */ struct clusapi_RemoveClusterGroupToGroupSetDependency *r2 = (struct clusapi_RemoveClusterGroupToGroupSetDependency *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveClusterGroupToGroupSetDependency, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_RemoveClusterGroupToGroupSetDependency(p, r2); break; } case 180: { /* clusapi_CreateGroupSetEnum */ struct clusapi_CreateGroupSetEnum *r2 = (struct clusapi_CreateGroupSetEnum *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroupSetEnum, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateGroupSetEnum(p, r2); break; } case 181: { /* clusapi_CreateNetInterfaceEnum */ struct clusapi_CreateNetInterfaceEnum *r2 = (struct clusapi_CreateNetInterfaceEnum *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNetInterfaceEnum, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.ReturnEnum = talloc_zero(r2, struct ENUM_LIST *); if (r2->out.ReturnEnum == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_CreateNetInterfaceEnum(p, r2); break; } case 182: { /* clusapi_ChangeCsvStateEx */ struct clusapi_ChangeCsvStateEx *r2 = (struct clusapi_ChangeCsvStateEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ChangeCsvStateEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_ChangeCsvStateEx(p, r2); break; } case 183: { /* clusapi_AddGroupToGroupSetEx */ struct clusapi_AddGroupToGroupSetEx *r2 = (struct clusapi_AddGroupToGroupSetEx *)r; if (DEBUGLEVEL >= 10) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddGroupToGroupSetEx, NDR_IN, r2); } NDR_ZERO_STRUCT(r2->out); r2->out.rpc_status = talloc_zero(r2, WERROR); if (r2->out.rpc_status == NULL) { status = NT_STATUS_NO_MEMORY; p->fault_state = DCERPC_FAULT_CANT_PERFORM; goto fail; } r2->out.result = _clusapi_AddGroupToGroupSetEx(p, r2); break; } default: dce_call->fault_code = DCERPC_FAULT_OP_RNG_ERROR; break; } fail: /* Unimpersonate */ if (impersonated) { unbecome_authenticated_pipe_user(); } p->dce_call = NULL; p->mem_ctx = NULL; /* Restore session info */ p->session_info = pipe_session_info; p->auth.auth_type = 0; p->auth.auth_level = 0; p->auth.auth_context_id = 0; /* Check pipes struct fault state */ if (p->fault_state != 0) { dce_call->fault_code = p->fault_state; } if (dce_call->fault_code != 0) { status = NT_STATUS_NET_WRITE_FAULT; } return status; } NTSTATUS clusapi__op_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r) { return clusapi__op_dispatch_internal(dce_call, mem_ctx, r, S3COMPAT_RPC_DISPATCH_EXTERNAL); } NTSTATUS clusapi__op_reply(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r) { uint16_t opnum = dce_call->pkt.u.request.opnum; switch (opnum) { case 0: { /* clusapi_OpenCluster */ struct clusapi_OpenCluster *r2 = (struct clusapi_OpenCluster *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenCluster replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenCluster, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenCluster\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 1: { /* clusapi_CloseCluster */ struct clusapi_CloseCluster *r2 = (struct clusapi_CloseCluster *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CloseCluster replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseCluster, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CloseCluster\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 2: { /* clusapi_SetClusterName */ struct clusapi_SetClusterName *r2 = (struct clusapi_SetClusterName *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetClusterName replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetClusterName, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetClusterName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 3: { /* clusapi_GetClusterName */ struct clusapi_GetClusterName *r2 = (struct clusapi_GetClusterName *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetClusterName replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetClusterName, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetClusterName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 4: { /* clusapi_GetClusterVersion */ struct clusapi_GetClusterVersion *r2 = (struct clusapi_GetClusterVersion *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetClusterVersion replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetClusterVersion, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetClusterVersion\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 5: { /* clusapi_GetQuorumResource */ struct clusapi_GetQuorumResource *r2 = (struct clusapi_GetQuorumResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetQuorumResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetQuorumResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetQuorumResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 6: { /* clusapi_SetQuorumResource */ struct clusapi_SetQuorumResource *r2 = (struct clusapi_SetQuorumResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetQuorumResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetQuorumResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetQuorumResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 7: { /* clusapi_CreateEnum */ struct clusapi_CreateEnum *r2 = (struct clusapi_CreateEnum *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateEnum replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateEnum, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateEnum\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 8: { /* clusapi_OpenResource */ struct clusapi_OpenResource *r2 = (struct clusapi_OpenResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 9: { /* clusapi_CreateResource */ struct clusapi_CreateResource *r2 = (struct clusapi_CreateResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 10: { /* clusapi_DeleteResource */ struct clusapi_DeleteResource *r2 = (struct clusapi_DeleteResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_DeleteResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_DeleteResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 11: { /* clusapi_CloseResource */ struct clusapi_CloseResource *r2 = (struct clusapi_CloseResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CloseResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CloseResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 12: { /* clusapi_GetResourceState */ struct clusapi_GetResourceState *r2 = (struct clusapi_GetResourceState *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetResourceState replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetResourceState, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetResourceState\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 13: { /* clusapi_SetResourceName */ struct clusapi_SetResourceName *r2 = (struct clusapi_SetResourceName *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetResourceName replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetResourceName, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetResourceName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 14: { /* clusapi_GetResourceId */ struct clusapi_GetResourceId *r2 = (struct clusapi_GetResourceId *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetResourceId replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetResourceId, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetResourceId\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 15: { /* clusapi_GetResourceType */ struct clusapi_GetResourceType *r2 = (struct clusapi_GetResourceType *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetResourceType replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetResourceType, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetResourceType\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 16: { /* clusapi_FailResource */ struct clusapi_FailResource *r2 = (struct clusapi_FailResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_FailResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_FailResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_FailResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 17: { /* clusapi_OnlineResource */ struct clusapi_OnlineResource *r2 = (struct clusapi_OnlineResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OnlineResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OnlineResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OnlineResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 18: { /* clusapi_OfflineResource */ struct clusapi_OfflineResource *r2 = (struct clusapi_OfflineResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OfflineResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OfflineResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OfflineResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 19: { /* clusapi_AddResourceDependency */ struct clusapi_AddResourceDependency *r2 = (struct clusapi_AddResourceDependency *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddResourceDependency replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddResourceDependency, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddResourceDependency\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 20: { /* clusapi_RemoveResourceDependency */ struct clusapi_RemoveResourceDependency *r2 = (struct clusapi_RemoveResourceDependency *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_RemoveResourceDependency replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveResourceDependency, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_RemoveResourceDependency\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 21: { /* clusapi_CanResourceBeDependent */ struct clusapi_CanResourceBeDependent *r2 = (struct clusapi_CanResourceBeDependent *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CanResourceBeDependent replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CanResourceBeDependent, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CanResourceBeDependent\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 22: { /* clusapi_CreateResEnum */ struct clusapi_CreateResEnum *r2 = (struct clusapi_CreateResEnum *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateResEnum replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateResEnum, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateResEnum\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 23: { /* clusapi_AddResourceNode */ struct clusapi_AddResourceNode *r2 = (struct clusapi_AddResourceNode *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddResourceNode replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddResourceNode, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddResourceNode\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 24: { /* clusapi_RemoveResourceNode */ struct clusapi_RemoveResourceNode *r2 = (struct clusapi_RemoveResourceNode *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_RemoveResourceNode replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveResourceNode, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_RemoveResourceNode\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 25: { /* clusapi_ChangeResourceGroup */ struct clusapi_ChangeResourceGroup *r2 = (struct clusapi_ChangeResourceGroup *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ChangeResourceGroup replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ChangeResourceGroup, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ChangeResourceGroup\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 26: { /* clusapi_CreateResourceType */ struct clusapi_CreateResourceType *r2 = (struct clusapi_CreateResourceType *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateResourceType replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateResourceType, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateResourceType\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 27: { /* clusapi_DeleteResourceType */ struct clusapi_DeleteResourceType *r2 = (struct clusapi_DeleteResourceType *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_DeleteResourceType replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteResourceType, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_DeleteResourceType\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 28: { /* clusapi_GetRootKey */ struct clusapi_GetRootKey *r2 = (struct clusapi_GetRootKey *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetRootKey replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetRootKey, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetRootKey\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 29: { /* clusapi_CreateKey */ struct clusapi_CreateKey *r2 = (struct clusapi_CreateKey *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateKey replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateKey, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateKey\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 30: { /* clusapi_OpenKey */ struct clusapi_OpenKey *r2 = (struct clusapi_OpenKey *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenKey replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenKey, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenKey\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 31: { /* clusapi_EnumKey */ struct clusapi_EnumKey *r2 = (struct clusapi_EnumKey *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_EnumKey replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_EnumKey, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_EnumKey\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 32: { /* clusapi_SetValue */ struct clusapi_SetValue *r2 = (struct clusapi_SetValue *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetValue replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetValue, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetValue\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 33: { /* clusapi_DeleteValue */ struct clusapi_DeleteValue *r2 = (struct clusapi_DeleteValue *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_DeleteValue replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteValue, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_DeleteValue\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 34: { /* clusapi_QueryValue */ struct clusapi_QueryValue *r2 = (struct clusapi_QueryValue *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_QueryValue replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_QueryValue, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_QueryValue\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 35: { /* clusapi_DeleteKey */ struct clusapi_DeleteKey *r2 = (struct clusapi_DeleteKey *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_DeleteKey replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteKey, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_DeleteKey\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 36: { /* clusapi_EnumValue */ struct clusapi_EnumValue *r2 = (struct clusapi_EnumValue *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_EnumValue replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_EnumValue, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_EnumValue\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 37: { /* clusapi_CloseKey */ struct clusapi_CloseKey *r2 = (struct clusapi_CloseKey *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CloseKey replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseKey, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CloseKey\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 38: { /* clusapi_QueryInfoKey */ struct clusapi_QueryInfoKey *r2 = (struct clusapi_QueryInfoKey *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_QueryInfoKey replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_QueryInfoKey, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_QueryInfoKey\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 39: { /* clusapi_SetKeySecurity */ struct clusapi_SetKeySecurity *r2 = (struct clusapi_SetKeySecurity *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetKeySecurity replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetKeySecurity, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetKeySecurity\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 40: { /* clusapi_GetKeySecurity */ struct clusapi_GetKeySecurity *r2 = (struct clusapi_GetKeySecurity *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetKeySecurity replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetKeySecurity, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetKeySecurity\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 41: { /* clusapi_OpenGroup */ struct clusapi_OpenGroup *r2 = (struct clusapi_OpenGroup *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenGroup replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenGroup, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenGroup\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 42: { /* clusapi_CreateGroup */ struct clusapi_CreateGroup *r2 = (struct clusapi_CreateGroup *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateGroup replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroup, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateGroup\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 43: { /* clusapi_DeleteGroup */ struct clusapi_DeleteGroup *r2 = (struct clusapi_DeleteGroup *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_DeleteGroup replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteGroup, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_DeleteGroup\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 44: { /* clusapi_CloseGroup */ struct clusapi_CloseGroup *r2 = (struct clusapi_CloseGroup *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CloseGroup replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseGroup, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CloseGroup\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 45: { /* clusapi_GetGroupState */ struct clusapi_GetGroupState *r2 = (struct clusapi_GetGroupState *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetGroupState replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetGroupState, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetGroupState\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 46: { /* clusapi_SetGroupName */ struct clusapi_SetGroupName *r2 = (struct clusapi_SetGroupName *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetGroupName replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetGroupName, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetGroupName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 47: { /* clusapi_GetGroupId */ struct clusapi_GetGroupId *r2 = (struct clusapi_GetGroupId *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetGroupId replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetGroupId, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetGroupId\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 48: { /* clusapi_GetNodeId */ struct clusapi_GetNodeId *r2 = (struct clusapi_GetNodeId *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetNodeId replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNodeId, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetNodeId\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 49: { /* clusapi_OnlineGroup */ struct clusapi_OnlineGroup *r2 = (struct clusapi_OnlineGroup *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OnlineGroup replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OnlineGroup, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OnlineGroup\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 50: { /* clusapi_OfflineGroup */ struct clusapi_OfflineGroup *r2 = (struct clusapi_OfflineGroup *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OfflineGroup replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OfflineGroup, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OfflineGroup\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 51: { /* clusapi_MoveGroup */ struct clusapi_MoveGroup *r2 = (struct clusapi_MoveGroup *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_MoveGroup replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_MoveGroup, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_MoveGroup\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 52: { /* clusapi_MoveGroupToNode */ struct clusapi_MoveGroupToNode *r2 = (struct clusapi_MoveGroupToNode *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_MoveGroupToNode replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_MoveGroupToNode, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_MoveGroupToNode\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 53: { /* clusapi_CreateGroupResourceEnum */ struct clusapi_CreateGroupResourceEnum *r2 = (struct clusapi_CreateGroupResourceEnum *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateGroupResourceEnum replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroupResourceEnum, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateGroupResourceEnum\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 54: { /* clusapi_SetGroupNodeList */ struct clusapi_SetGroupNodeList *r2 = (struct clusapi_SetGroupNodeList *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetGroupNodeList replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetGroupNodeList, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetGroupNodeList\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 55: { /* clusapi_CreateNotify */ struct clusapi_CreateNotify *r2 = (struct clusapi_CreateNotify *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateNotify replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNotify, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateNotify\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 56: { /* clusapi_CloseNotify */ struct clusapi_CloseNotify *r2 = (struct clusapi_CloseNotify *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CloseNotify replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseNotify, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CloseNotify\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 57: { /* clusapi_AddNotifyCluster */ struct clusapi_AddNotifyCluster *r2 = (struct clusapi_AddNotifyCluster *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddNotifyCluster replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyCluster, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddNotifyCluster\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 58: { /* clusapi_AddNotifyNode */ struct clusapi_AddNotifyNode *r2 = (struct clusapi_AddNotifyNode *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddNotifyNode replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyNode, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddNotifyNode\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 59: { /* clusapi_AddNotifyGroup */ struct clusapi_AddNotifyGroup *r2 = (struct clusapi_AddNotifyGroup *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddNotifyGroup replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyGroup, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddNotifyGroup\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 60: { /* clusapi_AddNotifyResource */ struct clusapi_AddNotifyResource *r2 = (struct clusapi_AddNotifyResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddNotifyResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddNotifyResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 61: { /* clusapi_AddNotifyKey */ struct clusapi_AddNotifyKey *r2 = (struct clusapi_AddNotifyKey *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddNotifyKey replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyKey, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddNotifyKey\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 62: { /* clusapi_ReAddNotifyNode */ struct clusapi_ReAddNotifyNode *r2 = (struct clusapi_ReAddNotifyNode *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ReAddNotifyNode replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ReAddNotifyNode, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ReAddNotifyNode\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 63: { /* clusapi_ReAddNotifyGroup */ struct clusapi_ReAddNotifyGroup *r2 = (struct clusapi_ReAddNotifyGroup *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ReAddNotifyGroup replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ReAddNotifyGroup, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ReAddNotifyGroup\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 64: { /* clusapi_ReAddNotifyResource */ struct clusapi_ReAddNotifyResource *r2 = (struct clusapi_ReAddNotifyResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ReAddNotifyResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ReAddNotifyResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ReAddNotifyResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 65: { /* clusapi_GetNotify */ struct clusapi_GetNotify *r2 = (struct clusapi_GetNotify *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetNotify replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNotify, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetNotify\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 66: { /* clusapi_OpenNode */ struct clusapi_OpenNode *r2 = (struct clusapi_OpenNode *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenNode replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNode, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenNode\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 67: { /* clusapi_CloseNode */ struct clusapi_CloseNode *r2 = (struct clusapi_CloseNode *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CloseNode replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseNode, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CloseNode\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 68: { /* clusapi_GetNodeState */ struct clusapi_GetNodeState *r2 = (struct clusapi_GetNodeState *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetNodeState replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNodeState, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetNodeState\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 69: { /* clusapi_PauseNode */ struct clusapi_PauseNode *r2 = (struct clusapi_PauseNode *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_PauseNode replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_PauseNode, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_PauseNode\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 70: { /* clusapi_ResumeNode */ struct clusapi_ResumeNode *r2 = (struct clusapi_ResumeNode *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ResumeNode replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ResumeNode, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ResumeNode\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 71: { /* clusapi_EvictNode */ struct clusapi_EvictNode *r2 = (struct clusapi_EvictNode *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_EvictNode replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_EvictNode, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_EvictNode\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 72: { /* clusapi_NodeResourceControl */ struct clusapi_NodeResourceControl *r2 = (struct clusapi_NodeResourceControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NodeResourceControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeResourceControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NodeResourceControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 73: { /* clusapi_ResourceControl */ struct clusapi_ResourceControl *r2 = (struct clusapi_ResourceControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ResourceControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ResourceControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ResourceControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 74: { /* clusapi_NodeResourceTypeControl */ struct clusapi_NodeResourceTypeControl *r2 = (struct clusapi_NodeResourceTypeControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NodeResourceTypeControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeResourceTypeControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NodeResourceTypeControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 75: { /* clusapi_ResourceTypeControl */ struct clusapi_ResourceTypeControl *r2 = (struct clusapi_ResourceTypeControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ResourceTypeControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ResourceTypeControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ResourceTypeControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 76: { /* clusapi_NodeGroupControl */ struct clusapi_NodeGroupControl *r2 = (struct clusapi_NodeGroupControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NodeGroupControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeGroupControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NodeGroupControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 77: { /* clusapi_GroupControl */ struct clusapi_GroupControl *r2 = (struct clusapi_GroupControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GroupControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GroupControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GroupControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 78: { /* clusapi_NodeNodeControl */ struct clusapi_NodeNodeControl *r2 = (struct clusapi_NodeNodeControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NodeNodeControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeNodeControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NodeNodeControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 79: { /* clusapi_NodeControl */ struct clusapi_NodeControl *r2 = (struct clusapi_NodeControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NodeControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NodeControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 80: { /* Opnum80NotUsedOnWire */ struct Opnum80NotUsedOnWire *r2 = (struct Opnum80NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum80NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum80NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum80NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 81: { /* clusapi_OpenNetwork */ struct clusapi_OpenNetwork *r2 = (struct clusapi_OpenNetwork *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenNetwork replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNetwork, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenNetwork\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 82: { /* clusapi_CloseNetwork */ struct clusapi_CloseNetwork *r2 = (struct clusapi_CloseNetwork *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CloseNetwork replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseNetwork, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CloseNetwork\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 83: { /* clusapi_GetNetworkState */ struct clusapi_GetNetworkState *r2 = (struct clusapi_GetNetworkState *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetNetworkState replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNetworkState, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetNetworkState\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 84: { /* clusapi_SetNetworkName */ struct clusapi_SetNetworkName *r2 = (struct clusapi_SetNetworkName *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetNetworkName replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetNetworkName, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetNetworkName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 85: { /* clusapi_CreateNetworkEnum */ struct clusapi_CreateNetworkEnum *r2 = (struct clusapi_CreateNetworkEnum *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateNetworkEnum replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNetworkEnum, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateNetworkEnum\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 86: { /* clusapi_GetNetworkId */ struct clusapi_GetNetworkId *r2 = (struct clusapi_GetNetworkId *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetNetworkId replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNetworkId, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetNetworkId\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 87: { /* clusapi_SetNetworkPriorityOrder */ struct clusapi_SetNetworkPriorityOrder *r2 = (struct clusapi_SetNetworkPriorityOrder *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetNetworkPriorityOrder replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetNetworkPriorityOrder, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetNetworkPriorityOrder\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 88: { /* clusapi_NodeNetworkControl */ struct clusapi_NodeNetworkControl *r2 = (struct clusapi_NodeNetworkControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NodeNetworkControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeNetworkControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NodeNetworkControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 89: { /* clusapi_NetworkControl */ struct clusapi_NetworkControl *r2 = (struct clusapi_NetworkControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NetworkControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NetworkControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NetworkControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 90: { /* clusapi_AddNotifyNetwork */ struct clusapi_AddNotifyNetwork *r2 = (struct clusapi_AddNotifyNetwork *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddNotifyNetwork replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyNetwork, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddNotifyNetwork\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 91: { /* clusapi_ReAddNotifyNetwork */ struct clusapi_ReAddNotifyNetwork *r2 = (struct clusapi_ReAddNotifyNetwork *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ReAddNotifyNetwork replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ReAddNotifyNetwork, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ReAddNotifyNetwork\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 92: { /* clusapi_OpenNetInterface */ struct clusapi_OpenNetInterface *r2 = (struct clusapi_OpenNetInterface *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenNetInterface replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNetInterface, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenNetInterface\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 93: { /* clusapi_CloseNetInterface */ struct clusapi_CloseNetInterface *r2 = (struct clusapi_CloseNetInterface *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CloseNetInterface replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseNetInterface, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CloseNetInterface\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 94: { /* clusapi_GetNetInterfaceState */ struct clusapi_GetNetInterfaceState *r2 = (struct clusapi_GetNetInterfaceState *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetNetInterfaceState replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNetInterfaceState, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetNetInterfaceState\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 95: { /* clusapi_GetNetInterface */ struct clusapi_GetNetInterface *r2 = (struct clusapi_GetNetInterface *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetNetInterface replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNetInterface, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetNetInterface\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 96: { /* clusapi_GetNetInterfaceId */ struct clusapi_GetNetInterfaceId *r2 = (struct clusapi_GetNetInterfaceId *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetNetInterfaceId replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNetInterfaceId, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetNetInterfaceId\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 97: { /* clusapi_NodeNetInterfaceControl */ struct clusapi_NodeNetInterfaceControl *r2 = (struct clusapi_NodeNetInterfaceControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NodeNetInterfaceControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeNetInterfaceControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NodeNetInterfaceControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 98: { /* clusapi_NetInterfaceControl */ struct clusapi_NetInterfaceControl *r2 = (struct clusapi_NetInterfaceControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NetInterfaceControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NetInterfaceControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NetInterfaceControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 99: { /* clusapi_AddNotifyNetInterface */ struct clusapi_AddNotifyNetInterface *r2 = (struct clusapi_AddNotifyNetInterface *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddNotifyNetInterface replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyNetInterface, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddNotifyNetInterface\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 100: { /* clusapi_ReAddNotifyNetInterface */ struct clusapi_ReAddNotifyNetInterface *r2 = (struct clusapi_ReAddNotifyNetInterface *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ReAddNotifyNetInterface replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ReAddNotifyNetInterface, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ReAddNotifyNetInterface\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 101: { /* clusapi_CreateNodeEnum */ struct clusapi_CreateNodeEnum *r2 = (struct clusapi_CreateNodeEnum *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateNodeEnum replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNodeEnum, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateNodeEnum\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 102: { /* clusapi_GetClusterVersion2 */ struct clusapi_GetClusterVersion2 *r2 = (struct clusapi_GetClusterVersion2 *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetClusterVersion2 replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetClusterVersion2, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetClusterVersion2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 103: { /* clusapi_CreateResTypeEnum */ struct clusapi_CreateResTypeEnum *r2 = (struct clusapi_CreateResTypeEnum *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateResTypeEnum replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateResTypeEnum, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateResTypeEnum\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 104: { /* clusapi_BackupClusterDatabase */ struct clusapi_BackupClusterDatabase *r2 = (struct clusapi_BackupClusterDatabase *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_BackupClusterDatabase replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_BackupClusterDatabase, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_BackupClusterDatabase\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 105: { /* clusapi_NodeClusterControl */ struct clusapi_NodeClusterControl *r2 = (struct clusapi_NodeClusterControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NodeClusterControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeClusterControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NodeClusterControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 106: { /* clusapi_ClusterControl */ struct clusapi_ClusterControl *r2 = (struct clusapi_ClusterControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ClusterControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ClusterControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ClusterControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 107: { /* clusapi_UnblockGetNotifyCall */ struct clusapi_UnblockGetNotifyCall *r2 = (struct clusapi_UnblockGetNotifyCall *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_UnblockGetNotifyCall replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_UnblockGetNotifyCall, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_UnblockGetNotifyCall\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 108: { /* clusapi_SetServiceAccountPassword */ struct clusapi_SetServiceAccountPassword *r2 = (struct clusapi_SetServiceAccountPassword *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetServiceAccountPassword replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetServiceAccountPassword, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetServiceAccountPassword\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 109: { /* clusapi_SetResourceDependencyExpression */ struct clusapi_SetResourceDependencyExpression *r2 = (struct clusapi_SetResourceDependencyExpression *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetResourceDependencyExpression replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetResourceDependencyExpression, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetResourceDependencyExpression\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 110: { /* clusapi_GetResourceDependencyExpression */ struct clusapi_GetResourceDependencyExpression *r2 = (struct clusapi_GetResourceDependencyExpression *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetResourceDependencyExpression replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetResourceDependencyExpression, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetResourceDependencyExpression\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 111: { /* Opnum111NotUsedOnWire */ struct Opnum111NotUsedOnWire *r2 = (struct Opnum111NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum111NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum111NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum111NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 112: { /* clusapi_GetResourceNetworkName */ struct clusapi_GetResourceNetworkName *r2 = (struct clusapi_GetResourceNetworkName *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetResourceNetworkName replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetResourceNetworkName, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetResourceNetworkName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 113: { /* clusapi_ExecuteBatch */ struct clusapi_ExecuteBatch *r2 = (struct clusapi_ExecuteBatch *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ExecuteBatch replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ExecuteBatch, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ExecuteBatch\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 114: { /* clusapi_CreateBatchPort */ struct clusapi_CreateBatchPort *r2 = (struct clusapi_CreateBatchPort *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateBatchPort replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateBatchPort, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateBatchPort\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 115: { /* clusapi_GetBatchNotification */ struct clusapi_GetBatchNotification *r2 = (struct clusapi_GetBatchNotification *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetBatchNotification replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetBatchNotification, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetBatchNotification\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 116: { /* clusapi_CloseBatchPort */ struct clusapi_CloseBatchPort *r2 = (struct clusapi_CloseBatchPort *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CloseBatchPort replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseBatchPort, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CloseBatchPort\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 117: { /* clusapi_OpenClusterEx */ struct clusapi_OpenClusterEx *r2 = (struct clusapi_OpenClusterEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenClusterEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenClusterEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenClusterEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 118: { /* clusapi_OpenNodeEx */ struct clusapi_OpenNodeEx *r2 = (struct clusapi_OpenNodeEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenNodeEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNodeEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenNodeEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 119: { /* clusapi_OpenGroupEx */ struct clusapi_OpenGroupEx *r2 = (struct clusapi_OpenGroupEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenGroupEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenGroupEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenGroupEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 120: { /* clusapi_OpenResourceEx */ struct clusapi_OpenResourceEx *r2 = (struct clusapi_OpenResourceEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenResourceEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenResourceEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenResourceEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 121: { /* clusapi_OpenNetworkEx */ struct clusapi_OpenNetworkEx *r2 = (struct clusapi_OpenNetworkEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenNetworkEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNetworkEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenNetworkEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 122: { /* clusapi_OpenNetInterfaceEx */ struct clusapi_OpenNetInterfaceEx *r2 = (struct clusapi_OpenNetInterfaceEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenNetInterfaceEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenNetInterfaceEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenNetInterfaceEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 123: { /* clusapi_ChangeCsvState */ struct clusapi_ChangeCsvState *r2 = (struct clusapi_ChangeCsvState *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ChangeCsvState replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ChangeCsvState, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ChangeCsvState\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 124: { /* clusapi_CreateNodeEnumEx */ struct clusapi_CreateNodeEnumEx *r2 = (struct clusapi_CreateNodeEnumEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateNodeEnumEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNodeEnumEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateNodeEnumEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 125: { /* clusapi_CreateEnumEx */ struct clusapi_CreateEnumEx *r2 = (struct clusapi_CreateEnumEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateEnumEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateEnumEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateEnumEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 126: { /* clusapi_PauseNodeEx */ struct clusapi_PauseNodeEx *r2 = (struct clusapi_PauseNodeEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_PauseNodeEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_PauseNodeEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_PauseNodeEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 127: { /* clusapi_PauseNodeWithDrainTarget */ struct clusapi_PauseNodeWithDrainTarget *r2 = (struct clusapi_PauseNodeWithDrainTarget *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_PauseNodeWithDrainTarget replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_PauseNodeWithDrainTarget, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_PauseNodeWithDrainTarget\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 128: { /* clusapi_ResumeNodeEx */ struct clusapi_ResumeNodeEx *r2 = (struct clusapi_ResumeNodeEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ResumeNodeEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ResumeNodeEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ResumeNodeEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 129: { /* clusapi_CreateGroupEx */ struct clusapi_CreateGroupEx *r2 = (struct clusapi_CreateGroupEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateGroupEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroupEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateGroupEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 130: { /* clusapi_OnlineGroupEx */ struct clusapi_OnlineGroupEx *r2 = (struct clusapi_OnlineGroupEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OnlineGroupEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OnlineGroupEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OnlineGroupEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 131: { /* clusapi_OfflineGroupEx */ struct clusapi_OfflineGroupEx *r2 = (struct clusapi_OfflineGroupEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OfflineGroupEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OfflineGroupEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OfflineGroupEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 132: { /* clusapi_MoveGroupEx */ struct clusapi_MoveGroupEx *r2 = (struct clusapi_MoveGroupEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_MoveGroupEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_MoveGroupEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_MoveGroupEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 133: { /* clusapi_MoveGroupToNodeEx */ struct clusapi_MoveGroupToNodeEx *r2 = (struct clusapi_MoveGroupToNodeEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_MoveGroupToNodeEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_MoveGroupToNodeEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_MoveGroupToNodeEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 134: { /* clusapi_CancelClusterGroupOperation */ struct clusapi_CancelClusterGroupOperation *r2 = (struct clusapi_CancelClusterGroupOperation *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CancelClusterGroupOperation replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CancelClusterGroupOperation, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CancelClusterGroupOperation\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 135: { /* clusapi_OnlineResourceEx */ struct clusapi_OnlineResourceEx *r2 = (struct clusapi_OnlineResourceEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OnlineResourceEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OnlineResourceEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OnlineResourceEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 136: { /* clusapi_OfflineResourceEx */ struct clusapi_OfflineResourceEx *r2 = (struct clusapi_OfflineResourceEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OfflineResourceEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OfflineResourceEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OfflineResourceEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 137: { /* clusapi_CreateNotifyV2 */ struct clusapi_CreateNotifyV2 *r2 = (struct clusapi_CreateNotifyV2 *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateNotifyV2 replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNotifyV2, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateNotifyV2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 138: { /* clusapi_AddNotifyV2 */ struct clusapi_AddNotifyV2 *r2 = (struct clusapi_AddNotifyV2 *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddNotifyV2 replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyV2, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddNotifyV2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 139: { /* clusapi_GetNotifyV2 */ struct clusapi_GetNotifyV2 *r2 = (struct clusapi_GetNotifyV2 *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetNotifyV2 replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNotifyV2, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetNotifyV2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 140: { /* clusapi_QueryAllValues */ struct clusapi_QueryAllValues *r2 = (struct clusapi_QueryAllValues *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_QueryAllValues replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_QueryAllValues, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_QueryAllValues\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 141: { /* clusapi_StmFindDisk */ struct clusapi_StmFindDisk *r2 = (struct clusapi_StmFindDisk *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_StmFindDisk replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_StmFindDisk, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_StmFindDisk\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 142: { /* clusapi_ClusterMrr */ struct clusapi_ClusterMrr *r2 = (struct clusapi_ClusterMrr *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ClusterMrr replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ClusterMrr, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ClusterMrr\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 143: { /* clusapi_CreateGroupEnum */ struct clusapi_CreateGroupEnum *r2 = (struct clusapi_CreateGroupEnum *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateGroupEnum replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroupEnum, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateGroupEnum\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 144: { /* clusapi_CreateResourceEnum */ struct clusapi_CreateResourceEnum *r2 = (struct clusapi_CreateResourceEnum *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateResourceEnum replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateResourceEnum, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateResourceEnum\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 145: { /* clusapi_ExecuteReadBatch */ struct clusapi_ExecuteReadBatch *r2 = (struct clusapi_ExecuteReadBatch *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ExecuteReadBatch replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ExecuteReadBatch, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ExecuteReadBatch\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 146: { /* clusapi_RestartResource */ struct clusapi_RestartResource *r2 = (struct clusapi_RestartResource *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_RestartResource replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RestartResource, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_RestartResource\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 147: { /* clusapi_GetNotifyAsync */ struct clusapi_GetNotifyAsync *r2 = (struct clusapi_GetNotifyAsync *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GetNotifyAsync replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GetNotifyAsync, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GetNotifyAsync\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 148: { /* Opnum148NotUsedOnWire */ struct Opnum148NotUsedOnWire *r2 = (struct Opnum148NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum148NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum148NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum148NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 149: { /* Opnum149otUsedOnWire */ struct Opnum149otUsedOnWire *r2 = (struct Opnum149otUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum149otUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum149otUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum149otUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 150: { /* Opnum150NotUsedOnWire */ struct Opnum150NotUsedOnWire *r2 = (struct Opnum150NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum150NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum150NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum150NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 151: { /* Opnum151NotUsedOnWire */ struct Opnum151NotUsedOnWire *r2 = (struct Opnum151NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum151NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum151NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum151NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 152: { /* Opnum152NotUsedOnWire */ struct Opnum152NotUsedOnWire *r2 = (struct Opnum152NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum152NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum152NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum152NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 153: { /* Opnum153NotUsedOnWire */ struct Opnum153NotUsedOnWire *r2 = (struct Opnum153NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum153NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum153NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum153NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 154: { /* Opnum154NotUsedOnWire */ struct Opnum154NotUsedOnWire *r2 = (struct Opnum154NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum154NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum154NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum154NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 155: { /* clusapi_AddNotifyResourceTypeV2 */ struct clusapi_AddNotifyResourceTypeV2 *r2 = (struct clusapi_AddNotifyResourceTypeV2 *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddNotifyResourceTypeV2 replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddNotifyResourceTypeV2, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddNotifyResourceTypeV2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 156: { /* Opnum156NotUsedOnWire */ struct Opnum156NotUsedOnWire *r2 = (struct Opnum156NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum156NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum156NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum156NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 157: { /* clusapi_ExecuteReadBatchEx */ struct clusapi_ExecuteReadBatchEx *r2 = (struct clusapi_ExecuteReadBatchEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ExecuteReadBatchEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ExecuteReadBatchEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ExecuteReadBatchEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 158: { /* Opnum158NotUsedOnWire */ struct Opnum158NotUsedOnWire *r2 = (struct Opnum158NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum158NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum158NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum158NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 159: { /* Opnum159NotUsedOnWire */ struct Opnum159NotUsedOnWire *r2 = (struct Opnum159NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum159NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum159NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum159NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 160: { /* Opnum160NotUsedOnWire */ struct Opnum160NotUsedOnWire *r2 = (struct Opnum160NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum160NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum160NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum160NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 161: { /* Opnum161NotUsedOnWire */ struct Opnum161NotUsedOnWire *r2 = (struct Opnum161NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum161NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum161NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum161NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 162: { /* Opnum162NotUsedOnWire */ struct Opnum162NotUsedOnWire *r2 = (struct Opnum162NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum162NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum162NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum162NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 163: { /* clusapi_CreateGroupSet */ struct clusapi_CreateGroupSet *r2 = (struct clusapi_CreateGroupSet *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateGroupSet replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroupSet, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateGroupSet\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 164: { /* clusapi_OpenGroupSet */ struct clusapi_OpenGroupSet *r2 = (struct clusapi_OpenGroupSet *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_OpenGroupSet replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_OpenGroupSet, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_OpenGroupSet\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 165: { /* clusapi_CloseGroupSet */ struct clusapi_CloseGroupSet *r2 = (struct clusapi_CloseGroupSet *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CloseGroupSet replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CloseGroupSet, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CloseGroupSet\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 166: { /* clusapi_DeleteGroupSet */ struct clusapi_DeleteGroupSet *r2 = (struct clusapi_DeleteGroupSet *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_DeleteGroupSet replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_DeleteGroupSet, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_DeleteGroupSet\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 167: { /* clusapi_AddGroupToGroupSet */ struct clusapi_AddGroupToGroupSet *r2 = (struct clusapi_AddGroupToGroupSet *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddGroupToGroupSet replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddGroupToGroupSet, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddGroupToGroupSet\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 168: { /* clusapi_RemoveGroupFromGroupSet */ struct clusapi_RemoveGroupFromGroupSet *r2 = (struct clusapi_RemoveGroupFromGroupSet *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_RemoveGroupFromGroupSet replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveGroupFromGroupSet, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_RemoveGroupFromGroupSet\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 169: { /* clusapi_MoveGroupToGroupSet */ struct clusapi_MoveGroupToGroupSet *r2 = (struct clusapi_MoveGroupToGroupSet *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_MoveGroupToGroupSet replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_MoveGroupToGroupSet, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_MoveGroupToGroupSet\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 170: { /* Opnum170NotUsedOnWire */ struct Opnum170NotUsedOnWire *r2 = (struct Opnum170NotUsedOnWire *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function Opnum170NotUsedOnWire replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(Opnum170NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in Opnum170NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 171: { /* clusapi_AddGroupSetDependency */ struct clusapi_AddGroupSetDependency *r2 = (struct clusapi_AddGroupSetDependency *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddGroupSetDependency replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddGroupSetDependency, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddGroupSetDependency\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 172: { /* clusapi_AddGroupToGroupSetDependency */ struct clusapi_AddGroupToGroupSetDependency *r2 = (struct clusapi_AddGroupToGroupSetDependency *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddGroupToGroupSetDependency replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddGroupToGroupSetDependency, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddGroupToGroupSetDependency\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 173: { /* clusapi_NodeGroupSetControl */ struct clusapi_NodeGroupSetControl *r2 = (struct clusapi_NodeGroupSetControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_NodeGroupSetControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_NodeGroupSetControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_NodeGroupSetControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 174: { /* clusapi_GroupSetControl */ struct clusapi_GroupSetControl *r2 = (struct clusapi_GroupSetControl *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_GroupSetControl replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_GroupSetControl, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_GroupSetControl\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 175: { /* clusapi_SetGroupDependencyExpression */ struct clusapi_SetGroupDependencyExpression *r2 = (struct clusapi_SetGroupDependencyExpression *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetGroupDependencyExpression replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetGroupDependencyExpression, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetGroupDependencyExpression\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 176: { /* clusapi_RemoveClusterGroupDependency */ struct clusapi_RemoveClusterGroupDependency *r2 = (struct clusapi_RemoveClusterGroupDependency *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_RemoveClusterGroupDependency replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveClusterGroupDependency, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_RemoveClusterGroupDependency\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 177: { /* clusapi_SetGroupSetDependencyExpression */ struct clusapi_SetGroupSetDependencyExpression *r2 = (struct clusapi_SetGroupSetDependencyExpression *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_SetGroupSetDependencyExpression replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_SetGroupSetDependencyExpression, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_SetGroupSetDependencyExpression\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 178: { /* clusapi_RemoveGroupSetDependency */ struct clusapi_RemoveGroupSetDependency *r2 = (struct clusapi_RemoveGroupSetDependency *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_RemoveGroupSetDependency replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveGroupSetDependency, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_RemoveGroupSetDependency\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 179: { /* clusapi_RemoveClusterGroupToGroupSetDependency */ struct clusapi_RemoveClusterGroupToGroupSetDependency *r2 = (struct clusapi_RemoveClusterGroupToGroupSetDependency *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_RemoveClusterGroupToGroupSetDependency replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_RemoveClusterGroupToGroupSetDependency, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_RemoveClusterGroupToGroupSetDependency\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 180: { /* clusapi_CreateGroupSetEnum */ struct clusapi_CreateGroupSetEnum *r2 = (struct clusapi_CreateGroupSetEnum *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateGroupSetEnum replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateGroupSetEnum, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateGroupSetEnum\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 181: { /* clusapi_CreateNetInterfaceEnum */ struct clusapi_CreateNetInterfaceEnum *r2 = (struct clusapi_CreateNetInterfaceEnum *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_CreateNetInterfaceEnum replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_CreateNetInterfaceEnum, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_CreateNetInterfaceEnum\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 182: { /* clusapi_ChangeCsvStateEx */ struct clusapi_ChangeCsvStateEx *r2 = (struct clusapi_ChangeCsvStateEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_ChangeCsvStateEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_ChangeCsvStateEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_ChangeCsvStateEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } case 183: { /* clusapi_AddGroupToGroupSetEx */ struct clusapi_AddGroupToGroupSetEx *r2 = (struct clusapi_AddGroupToGroupSetEx *)r; if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) { DEBUG(5,("function clusapi_AddGroupToGroupSetEx replied async\n")); } if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) { NDR_PRINT_FUNCTION_DEBUG(clusapi_AddGroupToGroupSetEx, NDR_OUT | NDR_SET_VALUES, r2); } if (dce_call->fault_code != 0) { DBG_WARNING("dcerpc_fault %s in clusapi_AddGroupToGroupSetEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)); } break; } default: dce_call->fault_code = DCERPC_FAULT_OP_RNG_ERROR; break; } if (dce_call->fault_code != 0) { return NT_STATUS_NET_WRITE_FAULT; } return NT_STATUS_OK; } NTSTATUS clusapi__op_ndr_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_push *push, const void *r) { enum ndr_err_code ndr_err; uint16_t opnum = dce_call->pkt.u.request.opnum; ndr_err = ndr_table_clusapi.calls[opnum].ndr_push(push, NDR_OUT, r); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { dce_call->fault_code = DCERPC_FAULT_NDR; return NT_STATUS_NET_WRITE_FAULT; } return NT_STATUS_OK; } NTSTATUS clusapi__op_local(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r) { return clusapi__op_dispatch_internal(dce_call, mem_ctx, r, S3COMPAT_RPC_DISPATCH_INTERNAL); } static const struct dcesrv_interface dcesrv_clusapi_interface = { .name = "clusapi", .syntax_id = {{0xb97db8b2,0x4c63,0x11cf,{0xbf,0xf6},{0x08,0x00,0x2b,0xe2,0x3f,0x2f}},3.0}, .bind = clusapi__op_bind, .unbind = clusapi__op_unbind, .ndr_pull = clusapi__op_ndr_pull, .dispatch = clusapi__op_dispatch, .reply = clusapi__op_reply, .ndr_push = clusapi__op_ndr_push, .local = clusapi__op_local, #ifdef DCESRV_INTERFACE_CLUSAPI_FLAGS .flags = DCESRV_INTERFACE_CLUSAPI_FLAGS #else .flags = 0 #endif }; static NTSTATUS clusapi__check_register_in_endpoint(const char *name, struct dcerpc_binding *binding) { enum dcerpc_transport_t transport = dcerpc_binding_get_transport(binding); /* If service is embedded, register only for ncacn_np * see 8466b3c85e4b835e57e41776853093f4a0edc8b8 */ if (rpc_service_mode(name) == RPC_SERVICE_MODE_EMBEDDED && (transport != NCACN_NP && transport != NCALRPC)) { DBG_INFO("Interface 'clusapi' not registered in endpoint '%s' as service is embedded\n", name); return NT_STATUS_NOT_SUPPORTED; } return NT_STATUS_OK; } static NTSTATUS clusapi__op_init_server(struct dcesrv_context *dce_ctx, const struct dcesrv_endpoint_server *ep_server) { uint32_t i; NTSTATUS ret; struct dcerpc_binding *binding; #ifdef DCESRV_INTERFACE_CLUSAPI_NCACN_NP_SECONDARY_ENDPOINT const char *ncacn_np_secondary_endpoint = DCESRV_INTERFACE_CLUSAPI_NCACN_NP_SECONDARY_ENDPOINT; #else const char *ncacn_np_secondary_endpoint = NULL; #endif for (i=0;icount;i++) { const char *name = ndr_table_clusapi.endpoints->names[i]; ret = dcerpc_parse_binding(dce_ctx, name, &binding); if (NT_STATUS_IS_ERR(ret)) { DBG_ERR("Failed to parse binding string '%s'\n", name); return ret; } ret = clusapi__check_register_in_endpoint("clusapi", binding); if (NT_STATUS_IS_ERR(ret)) { talloc_free(binding); continue; } talloc_free(binding); ret = dcesrv_interface_register(dce_ctx, name, ncacn_np_secondary_endpoint, &dcesrv_clusapi_interface, NULL); if (!NT_STATUS_IS_OK(ret)) { DBG_ERR("Failed to register endpoint '%s'\n",name); return ret; } } return NT_STATUS_OK; } static NTSTATUS clusapi__op_shutdown_server(struct dcesrv_context *dce_ctx, const struct dcesrv_endpoint_server *ep_server) { return NT_STATUS_OK; } static bool clusapi__op_interface_by_uuid(struct dcesrv_interface *iface, const struct GUID *uuid, uint32_t if_version) { if (dcesrv_clusapi_interface.syntax_id.if_version == if_version && GUID_equal(&dcesrv_clusapi_interface.syntax_id.uuid, uuid)) { memcpy(iface,&dcesrv_clusapi_interface, sizeof(*iface)); return true; } return false; } static bool clusapi__op_interface_by_name(struct dcesrv_interface *iface, const char *name) { if (strcmp(dcesrv_clusapi_interface.name, name)==0) { memcpy(iface, &dcesrv_clusapi_interface, sizeof(*iface)); return true; } return false; } static const struct dcesrv_endpoint_server clusapi_ep_server = { /* fill in our name */ .name = "clusapi", /* Initialization flag */ .initialized = false, /* fill in all the operations */ #ifdef DCESRV_INTERFACE_CLUSAPI_INIT_SERVER .init_server = DCESRV_INTERFACE_CLUSAPI_INIT_SERVER, #else .init_server = clusapi__op_init_server, #endif #ifdef DCESRV_INTERFACE_CLUSAPI_SHUTDOWN_SERVER .shutdown_server = DCESRV_INTERFACE_CLUSAPI_SHUTDOWN_SERVER, #else .shutdown_server = clusapi__op_shutdown_server, #endif .interface_by_uuid = clusapi__op_interface_by_uuid, .interface_by_name = clusapi__op_interface_by_name }; const struct dcesrv_endpoint_server *clusapi_get_ep_server(void) { return &clusapi_ep_server; }