LCOV - code coverage report
Current view: top level - bin/default/librpc/gen_ndr - ndr_lsa_s.c (source / functions) Hit Total Coverage
Test: coverage report for master 2f515e9b Lines: 692 2356 29.4 %
Date: 2024-04-21 15:09:00 Functions: 8 11 72.7 %

          Line data    Source code
       1             : /* server functions auto-generated by pidl */
       2             : #include "bin/default/librpc/gen_ndr/ndr_lsa.h"
       3             : #include <util/debug.h>
       4             : 
       5             : NTSTATUS dcerpc_server_lsarpc_init(TALLOC_CTX *);
       6             : 
       7             : /* lsarpc - dcerpc server boilerplate generated by pidl */
       8             : 
       9             : 
      10        4058 : static NTSTATUS lsarpc__op_bind(struct dcesrv_connection_context *context, const struct dcesrv_interface *iface)
      11             : {
      12             : #ifdef DCESRV_INTERFACE_LSARPC_BIND
      13        4058 :         return DCESRV_INTERFACE_LSARPC_BIND(context,iface);
      14             : #else
      15             :         return NT_STATUS_OK;
      16             : #endif
      17             : }
      18             : 
      19        4782 : static void lsarpc__op_unbind(struct dcesrv_connection_context *context, const struct dcesrv_interface *iface)
      20             : {
      21             : #ifdef DCESRV_INTERFACE_LSARPC_UNBIND
      22             :         DCESRV_INTERFACE_LSARPC_UNBIND(context, iface);
      23             : #else
      24        4782 :         return;
      25             : #endif
      26             : }
      27             : 
      28       26734 : static NTSTATUS lsarpc__op_ndr_pull(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_pull *pull, void **r)
      29             : {
      30         485 :         enum ndr_err_code ndr_err;
      31       26734 :         uint16_t opnum = dce_call->pkt.u.request.opnum;
      32             : 
      33       26734 :         dce_call->fault_code = 0;
      34             : 
      35       26734 :         if (opnum >= ndr_table_lsarpc.num_calls) {
      36           0 :                 dce_call->fault_code = DCERPC_FAULT_OP_RNG_ERROR;
      37           0 :                 return NT_STATUS_NET_WRITE_FAULT;
      38             :         }
      39             : 
      40       53468 :         *r = talloc_named(mem_ctx,
      41       26734 :                           ndr_table_lsarpc.calls[opnum].struct_size,
      42             :                           "struct %s",
      43       26734 :                           ndr_table_lsarpc.calls[opnum].name);
      44       26734 :         NT_STATUS_HAVE_NO_MEMORY(*r);
      45             : 
      46             :         /* unravel the NDR for the packet */
      47       26734 :         ndr_err = ndr_table_lsarpc.calls[opnum].ndr_pull(pull, NDR_IN, *r);
      48       26734 :         if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
      49           0 :                 dce_call->fault_code = DCERPC_FAULT_NDR;
      50           0 :                 return NT_STATUS_NET_WRITE_FAULT;
      51             :         }
      52             : 
      53       26734 :         return NT_STATUS_OK;
      54             : }
      55             : 
      56       26734 : static NTSTATUS lsarpc__op_dispatch(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
      57             : {
      58       26734 :         uint16_t opnum = dce_call->pkt.u.request.opnum;
      59             : 
      60       26734 :         switch (opnum) {
      61        1032 :         case 0: {
      62        1032 :                 struct lsa_Close *r2 = (struct lsa_Close *)r;
      63        1032 :                 if (DEBUGLEVEL >= 10) {
      64           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Close, NDR_IN, r2);
      65             :                 }
      66        1032 :                 r2->out.result = dcesrv_lsa_Close(dce_call, mem_ctx, r2);
      67        1032 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
      68           0 :                         DEBUG(5,("function lsa_Close will reply async\n"));
      69             :                 }
      70         996 :                 break;
      71             :         }
      72          33 :         case 1: {
      73          33 :                 struct lsa_Delete *r2 = (struct lsa_Delete *)r;
      74          33 :                 if (DEBUGLEVEL >= 10) {
      75           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Delete, NDR_IN, r2);
      76             :                 }
      77          33 :                 r2->out.result = dcesrv_lsa_Delete(dce_call, mem_ctx, r2);
      78          33 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
      79           0 :                         DEBUG(5,("function lsa_Delete will reply async\n"));
      80             :                 }
      81          33 :                 break;
      82             :         }
      83           3 :         case 2: {
      84           3 :                 struct lsa_EnumPrivs *r2 = (struct lsa_EnumPrivs *)r;
      85           3 :                 if (DEBUGLEVEL >= 10) {
      86           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumPrivs, NDR_IN, r2);
      87             :                 }
      88           3 :                 r2->out.result = dcesrv_lsa_EnumPrivs(dce_call, mem_ctx, r2);
      89           3 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
      90           0 :                         DEBUG(5,("function lsa_EnumPrivs will reply async\n"));
      91             :                 }
      92           3 :                 break;
      93             :         }
      94          48 :         case 3: {
      95          48 :                 struct lsa_QuerySecurity *r2 = (struct lsa_QuerySecurity *)r;
      96          48 :                 if (DEBUGLEVEL >= 10) {
      97           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QuerySecurity, NDR_IN, r2);
      98             :                 }
      99          48 :                 r2->out.result = dcesrv_lsa_QuerySecurity(dce_call, mem_ctx, r2);
     100          48 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     101           0 :                         DEBUG(5,("function lsa_QuerySecurity will reply async\n"));
     102             :                 }
     103          36 :                 break;
     104             :         }
     105           0 :         case 4: {
     106           0 :                 struct lsa_SetSecObj *r2 = (struct lsa_SetSecObj *)r;
     107           0 :                 if (DEBUGLEVEL >= 10) {
     108           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetSecObj, NDR_IN, r2);
     109             :                 }
     110           0 :                 r2->out.result = dcesrv_lsa_SetSecObj(dce_call, mem_ctx, r2);
     111           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     112           0 :                         DEBUG(5,("function lsa_SetSecObj will reply async\n"));
     113             :                 }
     114           0 :                 break;
     115             :         }
     116           0 :         case 5: {
     117           0 :                 struct lsa_ChangePassword *r2 = (struct lsa_ChangePassword *)r;
     118           0 :                 if (DEBUGLEVEL >= 10) {
     119           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_ChangePassword, NDR_IN, r2);
     120             :                 }
     121           0 :                 r2->out.result = dcesrv_lsa_ChangePassword(dce_call, mem_ctx, r2);
     122           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     123           0 :                         DEBUG(5,("function lsa_ChangePassword will reply async\n"));
     124             :                 }
     125           0 :                 break;
     126             :         }
     127         777 :         case 6: {
     128         777 :                 struct lsa_OpenPolicy *r2 = (struct lsa_OpenPolicy *)r;
     129         777 :                 if (DEBUGLEVEL >= 10) {
     130           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenPolicy, NDR_IN, r2);
     131             :                 }
     132         777 :                 r2->out.result = dcesrv_lsa_OpenPolicy(dce_call, mem_ctx, r2);
     133         777 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     134           0 :                         DEBUG(5,("function lsa_OpenPolicy will reply async\n"));
     135             :                 }
     136         764 :                 break;
     137             :         }
     138         851 :         case 7: {
     139         851 :                 struct lsa_QueryInfoPolicy *r2 = (struct lsa_QueryInfoPolicy *)r;
     140         851 :                 if (DEBUGLEVEL >= 10) {
     141           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryInfoPolicy, NDR_IN, r2);
     142             :                 }
     143         851 :                 r2->out.result = dcesrv_lsa_QueryInfoPolicy(dce_call, mem_ctx, r2);
     144         851 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     145           0 :                         DEBUG(5,("function lsa_QueryInfoPolicy will reply async\n"));
     146             :                 }
     147         779 :                 break;
     148             :         }
     149           0 :         case 8: {
     150           0 :                 struct lsa_SetInfoPolicy *r2 = (struct lsa_SetInfoPolicy *)r;
     151           0 :                 if (DEBUGLEVEL >= 10) {
     152           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetInfoPolicy, NDR_IN, r2);
     153             :                 }
     154           0 :                 r2->out.result = dcesrv_lsa_SetInfoPolicy(dce_call, mem_ctx, r2);
     155           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     156           0 :                         DEBUG(5,("function lsa_SetInfoPolicy will reply async\n"));
     157             :                 }
     158           0 :                 break;
     159             :         }
     160           0 :         case 9: {
     161           0 :                 struct lsa_ClearAuditLog *r2 = (struct lsa_ClearAuditLog *)r;
     162           0 :                 if (DEBUGLEVEL >= 10) {
     163           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_ClearAuditLog, NDR_IN, r2);
     164             :                 }
     165           0 :                 r2->out.result = dcesrv_lsa_ClearAuditLog(dce_call, mem_ctx, r2);
     166           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     167           0 :                         DEBUG(5,("function lsa_ClearAuditLog will reply async\n"));
     168             :                 }
     169           0 :                 break;
     170             :         }
     171           3 :         case 10: {
     172           3 :                 struct lsa_CreateAccount *r2 = (struct lsa_CreateAccount *)r;
     173           3 :                 if (DEBUGLEVEL >= 10) {
     174           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateAccount, NDR_IN, r2);
     175             :                 }
     176           3 :                 r2->out.result = dcesrv_lsa_CreateAccount(dce_call, mem_ctx, r2);
     177           3 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     178           0 :                         DEBUG(5,("function lsa_CreateAccount will reply async\n"));
     179             :                 }
     180           3 :                 break;
     181             :         }
     182          18 :         case 11: {
     183          18 :                 struct lsa_EnumAccounts *r2 = (struct lsa_EnumAccounts *)r;
     184          18 :                 if (DEBUGLEVEL >= 10) {
     185           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumAccounts, NDR_IN, r2);
     186             :                 }
     187          18 :                 r2->out.result = dcesrv_lsa_EnumAccounts(dce_call, mem_ctx, r2);
     188          18 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     189           0 :                         DEBUG(5,("function lsa_EnumAccounts will reply async\n"));
     190             :                 }
     191          18 :                 break;
     192             :         }
     193          36 :         case 12: {
     194          36 :                 struct lsa_CreateTrustedDomain *r2 = (struct lsa_CreateTrustedDomain *)r;
     195          36 :                 if (DEBUGLEVEL >= 10) {
     196           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateTrustedDomain, NDR_IN, r2);
     197             :                 }
     198          36 :                 r2->out.result = dcesrv_lsa_CreateTrustedDomain(dce_call, mem_ctx, r2);
     199          36 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     200           0 :                         DEBUG(5,("function lsa_CreateTrustedDomain will reply async\n"));
     201             :                 }
     202          36 :                 break;
     203             :         }
     204          78 :         case 13: {
     205          78 :                 struct lsa_EnumTrustDom *r2 = (struct lsa_EnumTrustDom *)r;
     206          78 :                 if (DEBUGLEVEL >= 10) {
     207           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumTrustDom, NDR_IN, r2);
     208             :                 }
     209          78 :                 r2->out.result = dcesrv_lsa_EnumTrustDom(dce_call, mem_ctx, r2);
     210          78 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     211           0 :                         DEBUG(5,("function lsa_EnumTrustDom will reply async\n"));
     212             :                 }
     213          75 :                 break;
     214             :         }
     215         313 :         case 14: {
     216         313 :                 struct lsa_LookupNames *r2 = (struct lsa_LookupNames *)r;
     217         313 :                 if (DEBUGLEVEL >= 10) {
     218           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupNames, NDR_IN, r2);
     219             :                 }
     220         313 :                 r2->out.result = dcesrv_lsa_LookupNames(dce_call, mem_ctx, r2);
     221         313 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     222          12 :                         DEBUG(5,("function lsa_LookupNames will reply async\n"));
     223             :                 }
     224         313 :                 break;
     225             :         }
     226         623 :         case 15: {
     227         623 :                 struct lsa_LookupSids *r2 = (struct lsa_LookupSids *)r;
     228         623 :                 if (DEBUGLEVEL >= 10) {
     229           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupSids, NDR_IN, r2);
     230             :                 }
     231         623 :                 r2->out.result = dcesrv_lsa_LookupSids(dce_call, mem_ctx, r2);
     232         623 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     233           0 :                         DEBUG(5,("function lsa_LookupSids will reply async\n"));
     234             :                 }
     235         623 :                 break;
     236             :         }
     237        1676 :         case 16: {
     238        1676 :                 struct lsa_CreateSecret *r2 = (struct lsa_CreateSecret *)r;
     239        1676 :                 if (DEBUGLEVEL >= 10) {
     240           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateSecret, NDR_IN, r2);
     241             :                 }
     242        1676 :                 r2->out.result = dcesrv_lsa_CreateSecret(dce_call, mem_ctx, r2);
     243        1676 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     244           0 :                         DEBUG(5,("function lsa_CreateSecret will reply async\n"));
     245             :                 }
     246        1676 :                 break;
     247             :         }
     248          26 :         case 17: {
     249          26 :                 struct lsa_OpenAccount *r2 = (struct lsa_OpenAccount *)r;
     250          26 :                 if (DEBUGLEVEL >= 10) {
     251           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenAccount, NDR_IN, r2);
     252             :                 }
     253          26 :                 r2->out.result = dcesrv_lsa_OpenAccount(dce_call, mem_ctx, r2);
     254          26 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     255           0 :                         DEBUG(5,("function lsa_OpenAccount will reply async\n"));
     256             :                 }
     257          26 :                 break;
     258             :         }
     259          18 :         case 18: {
     260          18 :                 struct lsa_EnumPrivsAccount *r2 = (struct lsa_EnumPrivsAccount *)r;
     261          18 :                 if (DEBUGLEVEL >= 10) {
     262           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumPrivsAccount, NDR_IN, r2);
     263             :                 }
     264          18 :                 r2->out.result = dcesrv_lsa_EnumPrivsAccount(dce_call, mem_ctx, r2);
     265          18 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     266           0 :                         DEBUG(5,("function lsa_EnumPrivsAccount will reply async\n"));
     267             :                 }
     268          18 :                 break;
     269             :         }
     270          15 :         case 19: {
     271          15 :                 struct lsa_AddPrivilegesToAccount *r2 = (struct lsa_AddPrivilegesToAccount *)r;
     272          15 :                 if (DEBUGLEVEL >= 10) {
     273           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_AddPrivilegesToAccount, NDR_IN, r2);
     274             :                 }
     275          15 :                 r2->out.result = dcesrv_lsa_AddPrivilegesToAccount(dce_call, mem_ctx, r2);
     276          15 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     277           0 :                         DEBUG(5,("function lsa_AddPrivilegesToAccount will reply async\n"));
     278             :                 }
     279          15 :                 break;
     280             :         }
     281          15 :         case 20: {
     282          15 :                 struct lsa_RemovePrivilegesFromAccount *r2 = (struct lsa_RemovePrivilegesFromAccount *)r;
     283          15 :                 if (DEBUGLEVEL >= 10) {
     284           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_RemovePrivilegesFromAccount, NDR_IN, r2);
     285             :                 }
     286          15 :                 r2->out.result = dcesrv_lsa_RemovePrivilegesFromAccount(dce_call, mem_ctx, r2);
     287          15 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     288           0 :                         DEBUG(5,("function lsa_RemovePrivilegesFromAccount will reply async\n"));
     289             :                 }
     290          15 :                 break;
     291             :         }
     292           0 :         case 21: {
     293           0 :                 struct lsa_GetQuotasForAccount *r2 = (struct lsa_GetQuotasForAccount *)r;
     294           0 :                 if (DEBUGLEVEL >= 10) {
     295           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_GetQuotasForAccount, NDR_IN, r2);
     296             :                 }
     297           0 :                 r2->out.result = dcesrv_lsa_GetQuotasForAccount(dce_call, mem_ctx, r2);
     298           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     299           0 :                         DEBUG(5,("function lsa_GetQuotasForAccount will reply async\n"));
     300             :                 }
     301           0 :                 break;
     302             :         }
     303           0 :         case 22: {
     304           0 :                 struct lsa_SetQuotasForAccount *r2 = (struct lsa_SetQuotasForAccount *)r;
     305           0 :                 if (DEBUGLEVEL >= 10) {
     306           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetQuotasForAccount, NDR_IN, r2);
     307             :                 }
     308           0 :                 r2->out.result = dcesrv_lsa_SetQuotasForAccount(dce_call, mem_ctx, r2);
     309           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     310           0 :                         DEBUG(5,("function lsa_SetQuotasForAccount will reply async\n"));
     311             :                 }
     312           0 :                 break;
     313             :         }
     314          26 :         case 23: {
     315          26 :                 struct lsa_GetSystemAccessAccount *r2 = (struct lsa_GetSystemAccessAccount *)r;
     316          26 :                 if (DEBUGLEVEL >= 10) {
     317           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_GetSystemAccessAccount, NDR_IN, r2);
     318             :                 }
     319          26 :                 r2->out.result = dcesrv_lsa_GetSystemAccessAccount(dce_call, mem_ctx, r2);
     320          26 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     321           0 :                         DEBUG(5,("function lsa_GetSystemAccessAccount will reply async\n"));
     322             :                 }
     323          26 :                 break;
     324             :         }
     325           0 :         case 24: {
     326           0 :                 struct lsa_SetSystemAccessAccount *r2 = (struct lsa_SetSystemAccessAccount *)r;
     327           0 :                 if (DEBUGLEVEL >= 10) {
     328           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetSystemAccessAccount, NDR_IN, r2);
     329             :                 }
     330           0 :                 r2->out.result = dcesrv_lsa_SetSystemAccessAccount(dce_call, mem_ctx, r2);
     331           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     332           0 :                         DEBUG(5,("function lsa_SetSystemAccessAccount will reply async\n"));
     333             :                 }
     334           0 :                 break;
     335             :         }
     336         144 :         case 25: {
     337         144 :                 struct lsa_OpenTrustedDomain *r2 = (struct lsa_OpenTrustedDomain *)r;
     338         144 :                 if (DEBUGLEVEL >= 10) {
     339           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenTrustedDomain, NDR_IN, r2);
     340             :                 }
     341         144 :                 r2->out.result = dcesrv_lsa_OpenTrustedDomain(dce_call, mem_ctx, r2);
     342         144 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     343           0 :                         DEBUG(5,("function lsa_OpenTrustedDomain will reply async\n"));
     344             :                 }
     345         144 :                 break;
     346             :         }
     347        3891 :         case 26: {
     348        3891 :                 struct lsa_QueryTrustedDomainInfo *r2 = (struct lsa_QueryTrustedDomainInfo *)r;
     349        3891 :                 if (DEBUGLEVEL >= 10) {
     350           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryTrustedDomainInfo, NDR_IN, r2);
     351             :                 }
     352        3891 :                 r2->out.result = dcesrv_lsa_QueryTrustedDomainInfo(dce_call, mem_ctx, r2);
     353        3891 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     354           0 :                         DEBUG(5,("function lsa_QueryTrustedDomainInfo will reply async\n"));
     355             :                 }
     356        3891 :                 break;
     357             :         }
     358          22 :         case 27: {
     359          22 :                 struct lsa_SetInformationTrustedDomain *r2 = (struct lsa_SetInformationTrustedDomain *)r;
     360          22 :                 if (DEBUGLEVEL >= 10) {
     361           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetInformationTrustedDomain, NDR_IN, r2);
     362             :                 }
     363          22 :                 r2->out.result = dcesrv_lsa_SetInformationTrustedDomain(dce_call, mem_ctx, r2);
     364          22 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     365           0 :                         DEBUG(5,("function lsa_SetInformationTrustedDomain will reply async\n"));
     366             :                 }
     367          22 :                 break;
     368             :         }
     369          46 :         case 28: {
     370          46 :                 struct lsa_OpenSecret *r2 = (struct lsa_OpenSecret *)r;
     371          46 :                 if (DEBUGLEVEL >= 10) {
     372           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenSecret, NDR_IN, r2);
     373             :                 }
     374          46 :                 r2->out.result = dcesrv_lsa_OpenSecret(dce_call, mem_ctx, r2);
     375          46 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     376           0 :                         DEBUG(5,("function lsa_OpenSecret will reply async\n"));
     377             :                 }
     378          46 :                 break;
     379             :         }
     380        2376 :         case 29: {
     381        2376 :                 struct lsa_SetSecret *r2 = (struct lsa_SetSecret *)r;
     382        2376 :                 if (DEBUGLEVEL >= 10) {
     383           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetSecret, NDR_IN, r2);
     384             :                 }
     385        2376 :                 r2->out.result = dcesrv_lsa_SetSecret(dce_call, mem_ctx, r2);
     386        2376 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     387           0 :                         DEBUG(5,("function lsa_SetSecret will reply async\n"));
     388             :                 }
     389        2376 :                 break;
     390             :         }
     391        1212 :         case 30: {
     392        1212 :                 struct lsa_QuerySecret *r2 = (struct lsa_QuerySecret *)r;
     393        1212 :                 if (DEBUGLEVEL >= 10) {
     394           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QuerySecret, NDR_IN, r2);
     395             :                 }
     396        1212 :                 r2->out.result = dcesrv_lsa_QuerySecret(dce_call, mem_ctx, r2);
     397        1212 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     398           0 :                         DEBUG(5,("function lsa_QuerySecret will reply async\n"));
     399             :                 }
     400        1212 :                 break;
     401             :         }
     402          77 :         case 31: {
     403          77 :                 struct lsa_LookupPrivValue *r2 = (struct lsa_LookupPrivValue *)r;
     404          77 :                 if (DEBUGLEVEL >= 10) {
     405           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupPrivValue, NDR_IN, r2);
     406             :                 }
     407          77 :                 r2->out.result = dcesrv_lsa_LookupPrivValue(dce_call, mem_ctx, r2);
     408          77 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     409           0 :                         DEBUG(5,("function lsa_LookupPrivValue will reply async\n"));
     410             :                 }
     411          77 :                 break;
     412             :         }
     413          96 :         case 32: {
     414          96 :                 struct lsa_LookupPrivName *r2 = (struct lsa_LookupPrivName *)r;
     415          96 :                 if (DEBUGLEVEL >= 10) {
     416           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupPrivName, NDR_IN, r2);
     417             :                 }
     418          96 :                 r2->out.result = dcesrv_lsa_LookupPrivName(dce_call, mem_ctx, r2);
     419          96 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     420           0 :                         DEBUG(5,("function lsa_LookupPrivName will reply async\n"));
     421             :                 }
     422          96 :                 break;
     423             :         }
     424          75 :         case 33: {
     425          75 :                 struct lsa_LookupPrivDisplayName *r2 = (struct lsa_LookupPrivDisplayName *)r;
     426          75 :                 if (DEBUGLEVEL >= 10) {
     427           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupPrivDisplayName, NDR_IN, r2);
     428             :                 }
     429          75 :                 r2->out.result = dcesrv_lsa_LookupPrivDisplayName(dce_call, mem_ctx, r2);
     430          75 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     431           0 :                         DEBUG(5,("function lsa_LookupPrivDisplayName will reply async\n"));
     432             :                 }
     433          75 :                 break;
     434             :         }
     435        1676 :         case 34: {
     436        1676 :                 struct lsa_DeleteObject *r2 = (struct lsa_DeleteObject *)r;
     437        1676 :                 if (DEBUGLEVEL >= 10) {
     438           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_DeleteObject, NDR_IN, r2);
     439             :                 }
     440        1676 :                 r2->out.result = dcesrv_lsa_DeleteObject(dce_call, mem_ctx, r2);
     441        1676 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     442           0 :                         DEBUG(5,("function lsa_DeleteObject will reply async\n"));
     443             :                 }
     444        1676 :                 break;
     445             :         }
     446          75 :         case 35: {
     447          75 :                 struct lsa_EnumAccountsWithUserRight *r2 = (struct lsa_EnumAccountsWithUserRight *)r;
     448          75 :                 if (DEBUGLEVEL >= 10) {
     449           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumAccountsWithUserRight, NDR_IN, r2);
     450             :                 }
     451          75 :                 r2->out.result = dcesrv_lsa_EnumAccountsWithUserRight(dce_call, mem_ctx, r2);
     452          75 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     453           0 :                         DEBUG(5,("function lsa_EnumAccountsWithUserRight will reply async\n"));
     454             :                 }
     455          75 :                 break;
     456             :         }
     457          46 :         case 36: {
     458          46 :                 struct lsa_EnumAccountRights *r2 = (struct lsa_EnumAccountRights *)r;
     459          46 :                 if (DEBUGLEVEL >= 10) {
     460           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumAccountRights, NDR_IN, r2);
     461             :                 }
     462          46 :                 r2->out.result = dcesrv_lsa_EnumAccountRights(dce_call, mem_ctx, r2);
     463          46 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     464           0 :                         DEBUG(5,("function lsa_EnumAccountRights will reply async\n"));
     465             :                 }
     466          46 :                 break;
     467             :         }
     468          10 :         case 37: {
     469          10 :                 struct lsa_AddAccountRights *r2 = (struct lsa_AddAccountRights *)r;
     470          10 :                 if (DEBUGLEVEL >= 10) {
     471           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_AddAccountRights, NDR_IN, r2);
     472             :                 }
     473          10 :                 r2->out.result = dcesrv_lsa_AddAccountRights(dce_call, mem_ctx, r2);
     474          10 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     475           0 :                         DEBUG(5,("function lsa_AddAccountRights will reply async\n"));
     476             :                 }
     477          10 :                 break;
     478             :         }
     479           0 :         case 38: {
     480           0 :                 struct lsa_RemoveAccountRights *r2 = (struct lsa_RemoveAccountRights *)r;
     481           0 :                 if (DEBUGLEVEL >= 10) {
     482           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_RemoveAccountRights, NDR_IN, r2);
     483             :                 }
     484           0 :                 r2->out.result = dcesrv_lsa_RemoveAccountRights(dce_call, mem_ctx, r2);
     485           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     486           0 :                         DEBUG(5,("function lsa_RemoveAccountRights will reply async\n"));
     487             :                 }
     488           0 :                 break;
     489             :         }
     490        1873 :         case 39: {
     491        1873 :                 struct lsa_QueryTrustedDomainInfoBySid *r2 = (struct lsa_QueryTrustedDomainInfoBySid *)r;
     492        1873 :                 if (DEBUGLEVEL >= 10) {
     493           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryTrustedDomainInfoBySid, NDR_IN, r2);
     494             :                 }
     495        1873 :                 r2->out.result = dcesrv_lsa_QueryTrustedDomainInfoBySid(dce_call, mem_ctx, r2);
     496        1873 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     497           0 :                         DEBUG(5,("function lsa_QueryTrustedDomainInfoBySid will reply async\n"));
     498             :                 }
     499        1873 :                 break;
     500             :         }
     501           0 :         case 40: {
     502           0 :                 struct lsa_SetTrustedDomainInfo *r2 = (struct lsa_SetTrustedDomainInfo *)r;
     503           0 :                 if (DEBUGLEVEL >= 10) {
     504           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetTrustedDomainInfo, NDR_IN, r2);
     505             :                 }
     506           0 :                 r2->out.result = dcesrv_lsa_SetTrustedDomainInfo(dce_call, mem_ctx, r2);
     507           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     508           0 :                         DEBUG(5,("function lsa_SetTrustedDomainInfo will reply async\n"));
     509             :                 }
     510           0 :                 break;
     511             :         }
     512         149 :         case 41: {
     513         149 :                 struct lsa_DeleteTrustedDomain *r2 = (struct lsa_DeleteTrustedDomain *)r;
     514         149 :                 if (DEBUGLEVEL >= 10) {
     515           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_DeleteTrustedDomain, NDR_IN, r2);
     516             :                 }
     517         149 :                 r2->out.result = dcesrv_lsa_DeleteTrustedDomain(dce_call, mem_ctx, r2);
     518         149 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     519           0 :                         DEBUG(5,("function lsa_DeleteTrustedDomain will reply async\n"));
     520             :                 }
     521         149 :                 break;
     522             :         }
     523           0 :         case 42: {
     524           0 :                 struct lsa_StorePrivateData *r2 = (struct lsa_StorePrivateData *)r;
     525           0 :                 if (DEBUGLEVEL >= 10) {
     526           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_StorePrivateData, NDR_IN, r2);
     527             :                 }
     528           0 :                 r2->out.result = dcesrv_lsa_StorePrivateData(dce_call, mem_ctx, r2);
     529           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     530           0 :                         DEBUG(5,("function lsa_StorePrivateData will reply async\n"));
     531             :                 }
     532           0 :                 break;
     533             :         }
     534           0 :         case 43: {
     535           0 :                 struct lsa_RetrievePrivateData *r2 = (struct lsa_RetrievePrivateData *)r;
     536           0 :                 if (DEBUGLEVEL >= 10) {
     537           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_RetrievePrivateData, NDR_IN, r2);
     538             :                 }
     539           0 :                 r2->out.result = dcesrv_lsa_RetrievePrivateData(dce_call, mem_ctx, r2);
     540           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     541           0 :                         DEBUG(5,("function lsa_RetrievePrivateData will reply async\n"));
     542             :                 }
     543           0 :                 break;
     544             :         }
     545        2337 :         case 44: {
     546        2337 :                 struct lsa_OpenPolicy2 *r2 = (struct lsa_OpenPolicy2 *)r;
     547        2337 :                 if (DEBUGLEVEL >= 10) {
     548           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenPolicy2, NDR_IN, r2);
     549             :                 }
     550        2337 :                 r2->out.result = dcesrv_lsa_OpenPolicy2(dce_call, mem_ctx, r2);
     551        2337 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     552           0 :                         DEBUG(5,("function lsa_OpenPolicy2 will reply async\n"));
     553             :                 }
     554        2256 :                 break;
     555             :         }
     556         519 :         case 45: {
     557         519 :                 struct lsa_GetUserName *r2 = (struct lsa_GetUserName *)r;
     558         519 :                 if (DEBUGLEVEL >= 10) {
     559           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_GetUserName, NDR_IN, r2);
     560             :                 }
     561         519 :                 r2->out.result = dcesrv_lsa_GetUserName(dce_call, mem_ctx, r2);
     562         519 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     563           0 :                         DEBUG(5,("function lsa_GetUserName will reply async\n"));
     564             :                 }
     565         471 :                 break;
     566             :         }
     567        1007 :         case 46: {
     568        1007 :                 struct lsa_QueryInfoPolicy2 *r2 = (struct lsa_QueryInfoPolicy2 *)r;
     569        1007 :                 if (DEBUGLEVEL >= 10) {
     570           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryInfoPolicy2, NDR_IN, r2);
     571             :                 }
     572        1007 :                 r2->out.result = dcesrv_lsa_QueryInfoPolicy2(dce_call, mem_ctx, r2);
     573        1007 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     574           0 :                         DEBUG(5,("function lsa_QueryInfoPolicy2 will reply async\n"));
     575             :                 }
     576         933 :                 break;
     577             :         }
     578           0 :         case 47: {
     579           0 :                 struct lsa_SetInfoPolicy2 *r2 = (struct lsa_SetInfoPolicy2 *)r;
     580           0 :                 if (DEBUGLEVEL >= 10) {
     581           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetInfoPolicy2, NDR_IN, r2);
     582             :                 }
     583           0 :                 r2->out.result = dcesrv_lsa_SetInfoPolicy2(dce_call, mem_ctx, r2);
     584           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     585           0 :                         DEBUG(5,("function lsa_SetInfoPolicy2 will reply async\n"));
     586             :                 }
     587           0 :                 break;
     588             :         }
     589        2160 :         case 48: {
     590        2160 :                 struct lsa_QueryTrustedDomainInfoByName *r2 = (struct lsa_QueryTrustedDomainInfoByName *)r;
     591        2160 :                 if (DEBUGLEVEL >= 10) {
     592           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryTrustedDomainInfoByName, NDR_IN, r2);
     593             :                 }
     594        2160 :                 r2->out.result = dcesrv_lsa_QueryTrustedDomainInfoByName(dce_call, mem_ctx, r2);
     595        2160 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     596           0 :                         DEBUG(5,("function lsa_QueryTrustedDomainInfoByName will reply async\n"));
     597             :                 }
     598        2160 :                 break;
     599             :         }
     600          18 :         case 49: {
     601          18 :                 struct lsa_SetTrustedDomainInfoByName *r2 = (struct lsa_SetTrustedDomainInfoByName *)r;
     602          18 :                 if (DEBUGLEVEL >= 10) {
     603           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetTrustedDomainInfoByName, NDR_IN, r2);
     604             :                 }
     605          18 :                 r2->out.result = dcesrv_lsa_SetTrustedDomainInfoByName(dce_call, mem_ctx, r2);
     606          18 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     607           0 :                         DEBUG(5,("function lsa_SetTrustedDomainInfoByName will reply async\n"));
     608             :                 }
     609          18 :                 break;
     610             :         }
     611          54 :         case 50: {
     612          54 :                 struct lsa_EnumTrustedDomainsEx *r2 = (struct lsa_EnumTrustedDomainsEx *)r;
     613          54 :                 if (DEBUGLEVEL >= 10) {
     614           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumTrustedDomainsEx, NDR_IN, r2);
     615             :                 }
     616          54 :                 r2->out.result = dcesrv_lsa_EnumTrustedDomainsEx(dce_call, mem_ctx, r2);
     617          54 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     618           0 :                         DEBUG(5,("function lsa_EnumTrustedDomainsEx will reply async\n"));
     619             :                 }
     620          54 :                 break;
     621             :         }
     622          36 :         case 51: {
     623          36 :                 struct lsa_CreateTrustedDomainEx *r2 = (struct lsa_CreateTrustedDomainEx *)r;
     624          36 :                 if (DEBUGLEVEL >= 10) {
     625           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateTrustedDomainEx, NDR_IN, r2);
     626             :                 }
     627          36 :                 r2->out.result = dcesrv_lsa_CreateTrustedDomainEx(dce_call, mem_ctx, r2);
     628          36 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     629           0 :                         DEBUG(5,("function lsa_CreateTrustedDomainEx will reply async\n"));
     630             :                 }
     631          36 :                 break;
     632             :         }
     633         144 :         case 52: {
     634         144 :                 struct lsa_CloseTrustedDomainEx *r2 = (struct lsa_CloseTrustedDomainEx *)r;
     635         144 :                 if (DEBUGLEVEL >= 10) {
     636           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CloseTrustedDomainEx, NDR_IN, r2);
     637             :                 }
     638         144 :                 r2->out.result = dcesrv_lsa_CloseTrustedDomainEx(dce_call, mem_ctx, r2);
     639         144 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     640           0 :                         DEBUG(5,("function lsa_CloseTrustedDomainEx will reply async\n"));
     641             :                 }
     642         144 :                 break;
     643             :         }
     644          24 :         case 53: {
     645          24 :                 struct lsa_QueryDomainInformationPolicy *r2 = (struct lsa_QueryDomainInformationPolicy *)r;
     646          24 :                 if (DEBUGLEVEL >= 10) {
     647           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryDomainInformationPolicy, NDR_IN, r2);
     648             :                 }
     649          24 :                 r2->out.result = dcesrv_lsa_QueryDomainInformationPolicy(dce_call, mem_ctx, r2);
     650          24 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     651           0 :                         DEBUG(5,("function lsa_QueryDomainInformationPolicy will reply async\n"));
     652             :                 }
     653          24 :                 break;
     654             :         }
     655           0 :         case 54: {
     656           0 :                 struct lsa_SetDomainInformationPolicy *r2 = (struct lsa_SetDomainInformationPolicy *)r;
     657           0 :                 if (DEBUGLEVEL >= 10) {
     658           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetDomainInformationPolicy, NDR_IN, r2);
     659             :                 }
     660           0 :                 r2->out.result = dcesrv_lsa_SetDomainInformationPolicy(dce_call, mem_ctx, r2);
     661           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     662           0 :                         DEBUG(5,("function lsa_SetDomainInformationPolicy will reply async\n"));
     663             :                 }
     664           0 :                 break;
     665             :         }
     666         144 :         case 55: {
     667         144 :                 struct lsa_OpenTrustedDomainByName *r2 = (struct lsa_OpenTrustedDomainByName *)r;
     668         144 :                 if (DEBUGLEVEL >= 10) {
     669           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenTrustedDomainByName, NDR_IN, r2);
     670             :                 }
     671         144 :                 r2->out.result = dcesrv_lsa_OpenTrustedDomainByName(dce_call, mem_ctx, r2);
     672         144 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     673           0 :                         DEBUG(5,("function lsa_OpenTrustedDomainByName will reply async\n"));
     674             :                 }
     675         144 :                 break;
     676             :         }
     677           0 :         case 56: {
     678           0 :                 struct lsa_TestCall *r2 = (struct lsa_TestCall *)r;
     679           0 :                 if (DEBUGLEVEL >= 10) {
     680           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_TestCall, NDR_IN, r2);
     681             :                 }
     682           0 :                 r2->out.result = dcesrv_lsa_TestCall(dce_call, mem_ctx, r2);
     683           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     684           0 :                         DEBUG(5,("function lsa_TestCall will reply async\n"));
     685             :                 }
     686           0 :                 break;
     687             :         }
     688           3 :         case 57: {
     689           3 :                 struct lsa_LookupSids2 *r2 = (struct lsa_LookupSids2 *)r;
     690           3 :                 if (DEBUGLEVEL >= 10) {
     691           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupSids2, NDR_IN, r2);
     692             :                 }
     693           3 :                 r2->out.result = dcesrv_lsa_LookupSids2(dce_call, mem_ctx, r2);
     694           3 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     695           0 :                         DEBUG(5,("function lsa_LookupSids2 will reply async\n"));
     696             :                 }
     697           3 :                 break;
     698             :         }
     699           6 :         case 58: {
     700           6 :                 struct lsa_LookupNames2 *r2 = (struct lsa_LookupNames2 *)r;
     701           6 :                 if (DEBUGLEVEL >= 10) {
     702           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupNames2, NDR_IN, r2);
     703             :                 }
     704           6 :                 r2->out.result = dcesrv_lsa_LookupNames2(dce_call, mem_ctx, r2);
     705           6 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     706           0 :                         DEBUG(5,("function lsa_LookupNames2 will reply async\n"));
     707             :                 }
     708           6 :                 break;
     709             :         }
     710          44 :         case 59: {
     711          44 :                 struct lsa_CreateTrustedDomainEx2 *r2 = (struct lsa_CreateTrustedDomainEx2 *)r;
     712          44 :                 if (DEBUGLEVEL >= 10) {
     713           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateTrustedDomainEx2, NDR_IN, r2);
     714             :                 }
     715          44 :                 r2->out.result = dcesrv_lsa_CreateTrustedDomainEx2(dce_call, mem_ctx, r2);
     716          44 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     717           0 :                         DEBUG(5,("function lsa_CreateTrustedDomainEx2 will reply async\n"));
     718             :                 }
     719          44 :                 break;
     720             :         }
     721           0 :         case 60: {
     722           0 :                 struct lsa_CREDRWRITE *r2 = (struct lsa_CREDRWRITE *)r;
     723           0 :                 if (DEBUGLEVEL >= 10) {
     724           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRWRITE, NDR_IN, r2);
     725             :                 }
     726           0 :                 r2->out.result = dcesrv_lsa_CREDRWRITE(dce_call, mem_ctx, r2);
     727           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     728           0 :                         DEBUG(5,("function lsa_CREDRWRITE will reply async\n"));
     729             :                 }
     730           0 :                 break;
     731             :         }
     732           0 :         case 61: {
     733           0 :                 struct lsa_CREDRREAD *r2 = (struct lsa_CREDRREAD *)r;
     734           0 :                 if (DEBUGLEVEL >= 10) {
     735           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRREAD, NDR_IN, r2);
     736             :                 }
     737           0 :                 r2->out.result = dcesrv_lsa_CREDRREAD(dce_call, mem_ctx, r2);
     738           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     739           0 :                         DEBUG(5,("function lsa_CREDRREAD will reply async\n"));
     740             :                 }
     741           0 :                 break;
     742             :         }
     743           0 :         case 62: {
     744           0 :                 struct lsa_CREDRENUMERATE *r2 = (struct lsa_CREDRENUMERATE *)r;
     745           0 :                 if (DEBUGLEVEL >= 10) {
     746           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRENUMERATE, NDR_IN, r2);
     747             :                 }
     748           0 :                 r2->out.result = dcesrv_lsa_CREDRENUMERATE(dce_call, mem_ctx, r2);
     749           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     750           0 :                         DEBUG(5,("function lsa_CREDRENUMERATE will reply async\n"));
     751             :                 }
     752           0 :                 break;
     753             :         }
     754           0 :         case 63: {
     755           0 :                 struct lsa_CREDRWRITEDOMAINCREDENTIALS *r2 = (struct lsa_CREDRWRITEDOMAINCREDENTIALS *)r;
     756           0 :                 if (DEBUGLEVEL >= 10) {
     757           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, NDR_IN, r2);
     758             :                 }
     759           0 :                 r2->out.result = dcesrv_lsa_CREDRWRITEDOMAINCREDENTIALS(dce_call, mem_ctx, r2);
     760           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     761           0 :                         DEBUG(5,("function lsa_CREDRWRITEDOMAINCREDENTIALS will reply async\n"));
     762             :                 }
     763           0 :                 break;
     764             :         }
     765           0 :         case 64: {
     766           0 :                 struct lsa_CREDRREADDOMAINCREDENTIALS *r2 = (struct lsa_CREDRREADDOMAINCREDENTIALS *)r;
     767           0 :                 if (DEBUGLEVEL >= 10) {
     768           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, NDR_IN, r2);
     769             :                 }
     770           0 :                 r2->out.result = dcesrv_lsa_CREDRREADDOMAINCREDENTIALS(dce_call, mem_ctx, r2);
     771           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     772           0 :                         DEBUG(5,("function lsa_CREDRREADDOMAINCREDENTIALS will reply async\n"));
     773             :                 }
     774           0 :                 break;
     775             :         }
     776           0 :         case 65: {
     777           0 :                 struct lsa_CREDRDELETE *r2 = (struct lsa_CREDRDELETE *)r;
     778           0 :                 if (DEBUGLEVEL >= 10) {
     779           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRDELETE, NDR_IN, r2);
     780             :                 }
     781           0 :                 r2->out.result = dcesrv_lsa_CREDRDELETE(dce_call, mem_ctx, r2);
     782           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     783           0 :                         DEBUG(5,("function lsa_CREDRDELETE will reply async\n"));
     784             :                 }
     785           0 :                 break;
     786             :         }
     787           0 :         case 66: {
     788           0 :                 struct lsa_CREDRGETTARGETINFO *r2 = (struct lsa_CREDRGETTARGETINFO *)r;
     789           0 :                 if (DEBUGLEVEL >= 10) {
     790           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRGETTARGETINFO, NDR_IN, r2);
     791             :                 }
     792           0 :                 r2->out.result = dcesrv_lsa_CREDRGETTARGETINFO(dce_call, mem_ctx, r2);
     793           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     794           0 :                         DEBUG(5,("function lsa_CREDRGETTARGETINFO will reply async\n"));
     795             :                 }
     796           0 :                 break;
     797             :         }
     798           0 :         case 67: {
     799           0 :                 struct lsa_CREDRPROFILELOADED *r2 = (struct lsa_CREDRPROFILELOADED *)r;
     800           0 :                 if (DEBUGLEVEL >= 10) {
     801           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRPROFILELOADED, NDR_IN, r2);
     802             :                 }
     803           0 :                 r2->out.result = dcesrv_lsa_CREDRPROFILELOADED(dce_call, mem_ctx, r2);
     804           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     805           0 :                         DEBUG(5,("function lsa_CREDRPROFILELOADED will reply async\n"));
     806             :                 }
     807           0 :                 break;
     808             :         }
     809           6 :         case 68: {
     810           6 :                 struct lsa_LookupNames3 *r2 = (struct lsa_LookupNames3 *)r;
     811           6 :                 if (DEBUGLEVEL >= 10) {
     812           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupNames3, NDR_IN, r2);
     813             :                 }
     814           6 :                 r2->out.result = dcesrv_lsa_LookupNames3(dce_call, mem_ctx, r2);
     815           6 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     816           0 :                         DEBUG(5,("function lsa_LookupNames3 will reply async\n"));
     817             :                 }
     818           6 :                 break;
     819             :         }
     820           0 :         case 69: {
     821           0 :                 struct lsa_CREDRGETSESSIONTYPES *r2 = (struct lsa_CREDRGETSESSIONTYPES *)r;
     822           0 :                 if (DEBUGLEVEL >= 10) {
     823           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRGETSESSIONTYPES, NDR_IN, r2);
     824             :                 }
     825           0 :                 r2->out.result = dcesrv_lsa_CREDRGETSESSIONTYPES(dce_call, mem_ctx, r2);
     826           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     827           0 :                         DEBUG(5,("function lsa_CREDRGETSESSIONTYPES will reply async\n"));
     828             :                 }
     829           0 :                 break;
     830             :         }
     831           0 :         case 70: {
     832           0 :                 struct lsa_LSARREGISTERAUDITEVENT *r2 = (struct lsa_LSARREGISTERAUDITEVENT *)r;
     833           0 :                 if (DEBUGLEVEL >= 10) {
     834           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARREGISTERAUDITEVENT, NDR_IN, r2);
     835             :                 }
     836           0 :                 r2->out.result = dcesrv_lsa_LSARREGISTERAUDITEVENT(dce_call, mem_ctx, r2);
     837           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     838           0 :                         DEBUG(5,("function lsa_LSARREGISTERAUDITEVENT will reply async\n"));
     839             :                 }
     840           0 :                 break;
     841             :         }
     842           0 :         case 71: {
     843           0 :                 struct lsa_LSARGENAUDITEVENT *r2 = (struct lsa_LSARGENAUDITEVENT *)r;
     844           0 :                 if (DEBUGLEVEL >= 10) {
     845           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARGENAUDITEVENT, NDR_IN, r2);
     846             :                 }
     847           0 :                 r2->out.result = dcesrv_lsa_LSARGENAUDITEVENT(dce_call, mem_ctx, r2);
     848           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     849           0 :                         DEBUG(5,("function lsa_LSARGENAUDITEVENT will reply async\n"));
     850             :                 }
     851           0 :                 break;
     852             :         }
     853           0 :         case 72: {
     854           0 :                 struct lsa_LSARUNREGISTERAUDITEVENT *r2 = (struct lsa_LSARUNREGISTERAUDITEVENT *)r;
     855           0 :                 if (DEBUGLEVEL >= 10) {
     856           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, NDR_IN, r2);
     857             :                 }
     858           0 :                 r2->out.result = dcesrv_lsa_LSARUNREGISTERAUDITEVENT(dce_call, mem_ctx, r2);
     859           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     860           0 :                         DEBUG(5,("function lsa_LSARUNREGISTERAUDITEVENT will reply async\n"));
     861             :                 }
     862           0 :                 break;
     863             :         }
     864         164 :         case 73: {
     865         164 :                 struct lsa_lsaRQueryForestTrustInformation *r2 = (struct lsa_lsaRQueryForestTrustInformation *)r;
     866         164 :                 if (DEBUGLEVEL >= 10) {
     867           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_lsaRQueryForestTrustInformation, NDR_IN, r2);
     868             :                 }
     869         164 :                 r2->out.result = dcesrv_lsa_lsaRQueryForestTrustInformation(dce_call, mem_ctx, r2);
     870         164 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     871           0 :                         DEBUG(5,("function lsa_lsaRQueryForestTrustInformation will reply async\n"));
     872             :                 }
     873         164 :                 break;
     874             :         }
     875          87 :         case 74: {
     876          87 :                 struct lsa_lsaRSetForestTrustInformation *r2 = (struct lsa_lsaRSetForestTrustInformation *)r;
     877          87 :                 if (DEBUGLEVEL >= 10) {
     878           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_lsaRSetForestTrustInformation, NDR_IN, r2);
     879             :                 }
     880          87 :                 r2->out.result = dcesrv_lsa_lsaRSetForestTrustInformation(dce_call, mem_ctx, r2);
     881          87 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     882           0 :                         DEBUG(5,("function lsa_lsaRSetForestTrustInformation will reply async\n"));
     883             :                 }
     884          87 :                 break;
     885             :         }
     886           0 :         case 75: {
     887           0 :                 struct lsa_CREDRRENAME *r2 = (struct lsa_CREDRRENAME *)r;
     888           0 :                 if (DEBUGLEVEL >= 10) {
     889           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRRENAME, NDR_IN, r2);
     890             :                 }
     891           0 :                 r2->out.result = dcesrv_lsa_CREDRRENAME(dce_call, mem_ctx, r2);
     892           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     893           0 :                         DEBUG(5,("function lsa_CREDRRENAME will reply async\n"));
     894             :                 }
     895           0 :                 break;
     896             :         }
     897        1429 :         case 76: {
     898        1429 :                 struct lsa_LookupSids3 *r2 = (struct lsa_LookupSids3 *)r;
     899        1429 :                 if (DEBUGLEVEL >= 10) {
     900           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupSids3, NDR_IN, r2);
     901             :                 }
     902        1429 :                 r2->out.result = dcesrv_lsa_LookupSids3(dce_call, mem_ctx, r2);
     903        1429 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     904          20 :                         DEBUG(5,("function lsa_LookupSids3 will reply async\n"));
     905             :                 }
     906        1381 :                 break;
     907             :         }
     908         834 :         case 77: {
     909         834 :                 struct lsa_LookupNames4 *r2 = (struct lsa_LookupNames4 *)r;
     910         834 :                 if (DEBUGLEVEL >= 10) {
     911           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupNames4, NDR_IN, r2);
     912             :                 }
     913         834 :                 r2->out.result = dcesrv_lsa_LookupNames4(dce_call, mem_ctx, r2);
     914         834 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     915          36 :                         DEBUG(5,("function lsa_LookupNames4 will reply async\n"));
     916             :                 }
     917         738 :                 break;
     918             :         }
     919           0 :         case 78: {
     920           0 :                 struct lsa_LSAROPENPOLICYSCE *r2 = (struct lsa_LSAROPENPOLICYSCE *)r;
     921           0 :                 if (DEBUGLEVEL >= 10) {
     922           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSAROPENPOLICYSCE, NDR_IN, r2);
     923             :                 }
     924           0 :                 r2->out.result = dcesrv_lsa_LSAROPENPOLICYSCE(dce_call, mem_ctx, r2);
     925           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     926           0 :                         DEBUG(5,("function lsa_LSAROPENPOLICYSCE will reply async\n"));
     927             :                 }
     928           0 :                 break;
     929             :         }
     930           0 :         case 79: {
     931           0 :                 struct lsa_LSARADTREGISTERSECURITYEVENTSOURCE *r2 = (struct lsa_LSARADTREGISTERSECURITYEVENTSOURCE *)r;
     932           0 :                 if (DEBUGLEVEL >= 10) {
     933           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, NDR_IN, r2);
     934             :                 }
     935           0 :                 r2->out.result = dcesrv_lsa_LSARADTREGISTERSECURITYEVENTSOURCE(dce_call, mem_ctx, r2);
     936           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     937           0 :                         DEBUG(5,("function lsa_LSARADTREGISTERSECURITYEVENTSOURCE will reply async\n"));
     938             :                 }
     939           0 :                 break;
     940             :         }
     941           0 :         case 80: {
     942           0 :                 struct lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE *r2 = (struct lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE *)r;
     943           0 :                 if (DEBUGLEVEL >= 10) {
     944           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, NDR_IN, r2);
     945             :                 }
     946           0 :                 r2->out.result = dcesrv_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(dce_call, mem_ctx, r2);
     947           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     948           0 :                         DEBUG(5,("function lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE will reply async\n"));
     949             :                 }
     950           0 :                 break;
     951             :         }
     952           0 :         case 81: {
     953           0 :                 struct lsa_LSARADTREPORTSECURITYEVENT *r2 = (struct lsa_LSARADTREPORTSECURITYEVENT *)r;
     954           0 :                 if (DEBUGLEVEL >= 10) {
     955           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, NDR_IN, r2);
     956             :                 }
     957           0 :                 r2->out.result = dcesrv_lsa_LSARADTREPORTSECURITYEVENT(dce_call, mem_ctx, r2);
     958           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     959           0 :                         DEBUG(5,("function lsa_LSARADTREPORTSECURITYEVENT will reply async\n"));
     960             :                 }
     961           0 :                 break;
     962             :         }
     963           0 :         case 82: {
     964           0 :                 struct lsa_Opnum82NotUsedOnWire *r2 = (struct lsa_Opnum82NotUsedOnWire *)r;
     965           0 :                 if (DEBUGLEVEL >= 10) {
     966           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum82NotUsedOnWire, NDR_IN, r2);
     967             :                 }
     968           0 :                 dcesrv_lsa_Opnum82NotUsedOnWire(dce_call, mem_ctx, r2);
     969           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     970           0 :                         DEBUG(5,("function lsa_Opnum82NotUsedOnWire will reply async\n"));
     971             :                 }
     972           0 :                 break;
     973             :         }
     974           0 :         case 83: {
     975           0 :                 struct lsa_Opnum83NotUsedOnWire *r2 = (struct lsa_Opnum83NotUsedOnWire *)r;
     976           0 :                 if (DEBUGLEVEL >= 10) {
     977           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum83NotUsedOnWire, NDR_IN, r2);
     978             :                 }
     979           0 :                 dcesrv_lsa_Opnum83NotUsedOnWire(dce_call, mem_ctx, r2);
     980           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     981           0 :                         DEBUG(5,("function lsa_Opnum83NotUsedOnWire will reply async\n"));
     982             :                 }
     983           0 :                 break;
     984             :         }
     985           0 :         case 84: {
     986           0 :                 struct lsa_Opnum84NotUsedOnWire *r2 = (struct lsa_Opnum84NotUsedOnWire *)r;
     987           0 :                 if (DEBUGLEVEL >= 10) {
     988           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum84NotUsedOnWire, NDR_IN, r2);
     989             :                 }
     990           0 :                 dcesrv_lsa_Opnum84NotUsedOnWire(dce_call, mem_ctx, r2);
     991           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
     992           0 :                         DEBUG(5,("function lsa_Opnum84NotUsedOnWire will reply async\n"));
     993             :                 }
     994           0 :                 break;
     995             :         }
     996           0 :         case 85: {
     997           0 :                 struct lsa_Opnum85NotUsedOnWire *r2 = (struct lsa_Opnum85NotUsedOnWire *)r;
     998           0 :                 if (DEBUGLEVEL >= 10) {
     999           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum85NotUsedOnWire, NDR_IN, r2);
    1000             :                 }
    1001           0 :                 dcesrv_lsa_Opnum85NotUsedOnWire(dce_call, mem_ctx, r2);
    1002           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1003           0 :                         DEBUG(5,("function lsa_Opnum85NotUsedOnWire will reply async\n"));
    1004             :                 }
    1005           0 :                 break;
    1006             :         }
    1007           0 :         case 86: {
    1008           0 :                 struct lsa_Opnum86NotUsedOnWire *r2 = (struct lsa_Opnum86NotUsedOnWire *)r;
    1009           0 :                 if (DEBUGLEVEL >= 10) {
    1010           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum86NotUsedOnWire, NDR_IN, r2);
    1011             :                 }
    1012           0 :                 dcesrv_lsa_Opnum86NotUsedOnWire(dce_call, mem_ctx, r2);
    1013           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1014           0 :                         DEBUG(5,("function lsa_Opnum86NotUsedOnWire will reply async\n"));
    1015             :                 }
    1016           0 :                 break;
    1017             :         }
    1018           0 :         case 87: {
    1019           0 :                 struct lsa_Opnum87NotUsedOnWire *r2 = (struct lsa_Opnum87NotUsedOnWire *)r;
    1020           0 :                 if (DEBUGLEVEL >= 10) {
    1021           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum87NotUsedOnWire, NDR_IN, r2);
    1022             :                 }
    1023           0 :                 dcesrv_lsa_Opnum87NotUsedOnWire(dce_call, mem_ctx, r2);
    1024           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1025           0 :                         DEBUG(5,("function lsa_Opnum87NotUsedOnWire will reply async\n"));
    1026             :                 }
    1027           0 :                 break;
    1028             :         }
    1029           0 :         case 88: {
    1030           0 :                 struct lsa_Opnum88NotUsedOnWire *r2 = (struct lsa_Opnum88NotUsedOnWire *)r;
    1031           0 :                 if (DEBUGLEVEL >= 10) {
    1032           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum88NotUsedOnWire, NDR_IN, r2);
    1033             :                 }
    1034           0 :                 dcesrv_lsa_Opnum88NotUsedOnWire(dce_call, mem_ctx, r2);
    1035           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1036           0 :                         DEBUG(5,("function lsa_Opnum88NotUsedOnWire will reply async\n"));
    1037             :                 }
    1038           0 :                 break;
    1039             :         }
    1040           0 :         case 89: {
    1041           0 :                 struct lsa_Opnum89NotUsedOnWire *r2 = (struct lsa_Opnum89NotUsedOnWire *)r;
    1042           0 :                 if (DEBUGLEVEL >= 10) {
    1043           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum89NotUsedOnWire, NDR_IN, r2);
    1044             :                 }
    1045           0 :                 dcesrv_lsa_Opnum89NotUsedOnWire(dce_call, mem_ctx, r2);
    1046           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1047           0 :                         DEBUG(5,("function lsa_Opnum89NotUsedOnWire will reply async\n"));
    1048             :                 }
    1049           0 :                 break;
    1050             :         }
    1051           0 :         case 90: {
    1052           0 :                 struct lsa_Opnum90NotUsedOnWire *r2 = (struct lsa_Opnum90NotUsedOnWire *)r;
    1053           0 :                 if (DEBUGLEVEL >= 10) {
    1054           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum90NotUsedOnWire, NDR_IN, r2);
    1055             :                 }
    1056           0 :                 dcesrv_lsa_Opnum90NotUsedOnWire(dce_call, mem_ctx, r2);
    1057           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1058           0 :                         DEBUG(5,("function lsa_Opnum90NotUsedOnWire will reply async\n"));
    1059             :                 }
    1060           0 :                 break;
    1061             :         }
    1062           0 :         case 91: {
    1063           0 :                 struct lsa_Opnum91NotUsedOnWire *r2 = (struct lsa_Opnum91NotUsedOnWire *)r;
    1064           0 :                 if (DEBUGLEVEL >= 10) {
    1065           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum91NotUsedOnWire, NDR_IN, r2);
    1066             :                 }
    1067           0 :                 dcesrv_lsa_Opnum91NotUsedOnWire(dce_call, mem_ctx, r2);
    1068           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1069           0 :                         DEBUG(5,("function lsa_Opnum91NotUsedOnWire will reply async\n"));
    1070             :                 }
    1071           0 :                 break;
    1072             :         }
    1073           0 :         case 92: {
    1074           0 :                 struct lsa_Opnum92NotUsedOnWire *r2 = (struct lsa_Opnum92NotUsedOnWire *)r;
    1075           0 :                 if (DEBUGLEVEL >= 10) {
    1076           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum92NotUsedOnWire, NDR_IN, r2);
    1077             :                 }
    1078           0 :                 dcesrv_lsa_Opnum92NotUsedOnWire(dce_call, mem_ctx, r2);
    1079           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1080           0 :                         DEBUG(5,("function lsa_Opnum92NotUsedOnWire will reply async\n"));
    1081             :                 }
    1082           0 :                 break;
    1083             :         }
    1084           0 :         case 93: {
    1085           0 :                 struct lsa_Opnum93NotUsedOnWire *r2 = (struct lsa_Opnum93NotUsedOnWire *)r;
    1086           0 :                 if (DEBUGLEVEL >= 10) {
    1087           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum93NotUsedOnWire, NDR_IN, r2);
    1088             :                 }
    1089           0 :                 dcesrv_lsa_Opnum93NotUsedOnWire(dce_call, mem_ctx, r2);
    1090           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1091           0 :                         DEBUG(5,("function lsa_Opnum93NotUsedOnWire will reply async\n"));
    1092             :                 }
    1093           0 :                 break;
    1094             :         }
    1095           0 :         case 94: {
    1096           0 :                 struct lsa_Opnum94NotUsedOnWire *r2 = (struct lsa_Opnum94NotUsedOnWire *)r;
    1097           0 :                 if (DEBUGLEVEL >= 10) {
    1098           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum94NotUsedOnWire, NDR_IN, r2);
    1099             :                 }
    1100           0 :                 dcesrv_lsa_Opnum94NotUsedOnWire(dce_call, mem_ctx, r2);
    1101           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1102           0 :                         DEBUG(5,("function lsa_Opnum94NotUsedOnWire will reply async\n"));
    1103             :                 }
    1104           0 :                 break;
    1105             :         }
    1106           0 :         case 95: {
    1107           0 :                 struct lsa_Opnum95NotUsedOnWire *r2 = (struct lsa_Opnum95NotUsedOnWire *)r;
    1108           0 :                 if (DEBUGLEVEL >= 10) {
    1109           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum95NotUsedOnWire, NDR_IN, r2);
    1110             :                 }
    1111           0 :                 dcesrv_lsa_Opnum95NotUsedOnWire(dce_call, mem_ctx, r2);
    1112           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1113           0 :                         DEBUG(5,("function lsa_Opnum95NotUsedOnWire will reply async\n"));
    1114             :                 }
    1115           0 :                 break;
    1116             :         }
    1117           0 :         case 96: {
    1118           0 :                 struct lsa_Opnum96NotUsedOnWire *r2 = (struct lsa_Opnum96NotUsedOnWire *)r;
    1119           0 :                 if (DEBUGLEVEL >= 10) {
    1120           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum96NotUsedOnWire, NDR_IN, r2);
    1121             :                 }
    1122           0 :                 dcesrv_lsa_Opnum96NotUsedOnWire(dce_call, mem_ctx, r2);
    1123           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1124           0 :                         DEBUG(5,("function lsa_Opnum96NotUsedOnWire will reply async\n"));
    1125             :                 }
    1126           0 :                 break;
    1127             :         }
    1128           0 :         case 97: {
    1129           0 :                 struct lsa_Opnum97NotUsedOnWire *r2 = (struct lsa_Opnum97NotUsedOnWire *)r;
    1130           0 :                 if (DEBUGLEVEL >= 10) {
    1131           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum97NotUsedOnWire, NDR_IN, r2);
    1132             :                 }
    1133           0 :                 dcesrv_lsa_Opnum97NotUsedOnWire(dce_call, mem_ctx, r2);
    1134           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1135           0 :                         DEBUG(5,("function lsa_Opnum97NotUsedOnWire will reply async\n"));
    1136             :                 }
    1137           0 :                 break;
    1138             :         }
    1139           0 :         case 98: {
    1140           0 :                 struct lsa_Opnum98NotUsedOnWire *r2 = (struct lsa_Opnum98NotUsedOnWire *)r;
    1141           0 :                 if (DEBUGLEVEL >= 10) {
    1142           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum98NotUsedOnWire, NDR_IN, r2);
    1143             :                 }
    1144           0 :                 dcesrv_lsa_Opnum98NotUsedOnWire(dce_call, mem_ctx, r2);
    1145           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1146           0 :                         DEBUG(5,("function lsa_Opnum98NotUsedOnWire will reply async\n"));
    1147             :                 }
    1148           0 :                 break;
    1149             :         }
    1150           0 :         case 99: {
    1151           0 :                 struct lsa_Opnum99NotUsedOnWire *r2 = (struct lsa_Opnum99NotUsedOnWire *)r;
    1152           0 :                 if (DEBUGLEVEL >= 10) {
    1153           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum99NotUsedOnWire, NDR_IN, r2);
    1154             :                 }
    1155           0 :                 dcesrv_lsa_Opnum99NotUsedOnWire(dce_call, mem_ctx, r2);
    1156           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1157           0 :                         DEBUG(5,("function lsa_Opnum99NotUsedOnWire will reply async\n"));
    1158             :                 }
    1159           0 :                 break;
    1160             :         }
    1161           0 :         case 100: {
    1162           0 :                 struct lsa_Opnum100NotUsedOnWire *r2 = (struct lsa_Opnum100NotUsedOnWire *)r;
    1163           0 :                 if (DEBUGLEVEL >= 10) {
    1164           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum100NotUsedOnWire, NDR_IN, r2);
    1165             :                 }
    1166           0 :                 dcesrv_lsa_Opnum100NotUsedOnWire(dce_call, mem_ctx, r2);
    1167           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1168           0 :                         DEBUG(5,("function lsa_Opnum100NotUsedOnWire will reply async\n"));
    1169             :                 }
    1170           0 :                 break;
    1171             :         }
    1172           0 :         case 101: {
    1173           0 :                 struct lsa_Opnum101NotUsedOnWire *r2 = (struct lsa_Opnum101NotUsedOnWire *)r;
    1174           0 :                 if (DEBUGLEVEL >= 10) {
    1175           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum101NotUsedOnWire, NDR_IN, r2);
    1176             :                 }
    1177           0 :                 dcesrv_lsa_Opnum101NotUsedOnWire(dce_call, mem_ctx, r2);
    1178           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1179           0 :                         DEBUG(5,("function lsa_Opnum101NotUsedOnWire will reply async\n"));
    1180             :                 }
    1181           0 :                 break;
    1182             :         }
    1183           0 :         case 102: {
    1184           0 :                 struct lsa_Opnum102NotUsedOnWire *r2 = (struct lsa_Opnum102NotUsedOnWire *)r;
    1185           0 :                 if (DEBUGLEVEL >= 10) {
    1186           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum102NotUsedOnWire, NDR_IN, r2);
    1187             :                 }
    1188           0 :                 dcesrv_lsa_Opnum102NotUsedOnWire(dce_call, mem_ctx, r2);
    1189           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1190           0 :                         DEBUG(5,("function lsa_Opnum102NotUsedOnWire will reply async\n"));
    1191             :                 }
    1192           0 :                 break;
    1193             :         }
    1194           0 :         case 103: {
    1195           0 :                 struct lsa_Opnum103NotUsedOnWire *r2 = (struct lsa_Opnum103NotUsedOnWire *)r;
    1196           0 :                 if (DEBUGLEVEL >= 10) {
    1197           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum103NotUsedOnWire, NDR_IN, r2);
    1198             :                 }
    1199           0 :                 dcesrv_lsa_Opnum103NotUsedOnWire(dce_call, mem_ctx, r2);
    1200           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1201           0 :                         DEBUG(5,("function lsa_Opnum103NotUsedOnWire will reply async\n"));
    1202             :                 }
    1203           0 :                 break;
    1204             :         }
    1205           0 :         case 104: {
    1206           0 :                 struct lsa_Opnum104NotUsedOnWire *r2 = (struct lsa_Opnum104NotUsedOnWire *)r;
    1207           0 :                 if (DEBUGLEVEL >= 10) {
    1208           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum104NotUsedOnWire, NDR_IN, r2);
    1209             :                 }
    1210           0 :                 dcesrv_lsa_Opnum104NotUsedOnWire(dce_call, mem_ctx, r2);
    1211           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1212           0 :                         DEBUG(5,("function lsa_Opnum104NotUsedOnWire will reply async\n"));
    1213             :                 }
    1214           0 :                 break;
    1215             :         }
    1216           0 :         case 105: {
    1217           0 :                 struct lsa_Opnum105NotUsedOnWire *r2 = (struct lsa_Opnum105NotUsedOnWire *)r;
    1218           0 :                 if (DEBUGLEVEL >= 10) {
    1219           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum105NotUsedOnWire, NDR_IN, r2);
    1220             :                 }
    1221           0 :                 dcesrv_lsa_Opnum105NotUsedOnWire(dce_call, mem_ctx, r2);
    1222           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1223           0 :                         DEBUG(5,("function lsa_Opnum105NotUsedOnWire will reply async\n"));
    1224             :                 }
    1225           0 :                 break;
    1226             :         }
    1227           0 :         case 106: {
    1228           0 :                 struct lsa_Opnum106NotUsedOnWire *r2 = (struct lsa_Opnum106NotUsedOnWire *)r;
    1229           0 :                 if (DEBUGLEVEL >= 10) {
    1230           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum106NotUsedOnWire, NDR_IN, r2);
    1231             :                 }
    1232           0 :                 dcesrv_lsa_Opnum106NotUsedOnWire(dce_call, mem_ctx, r2);
    1233           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1234           0 :                         DEBUG(5,("function lsa_Opnum106NotUsedOnWire will reply async\n"));
    1235             :                 }
    1236           0 :                 break;
    1237             :         }
    1238           0 :         case 107: {
    1239           0 :                 struct lsa_Opnum107NotUsedOnWire *r2 = (struct lsa_Opnum107NotUsedOnWire *)r;
    1240           0 :                 if (DEBUGLEVEL >= 10) {
    1241           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum107NotUsedOnWire, NDR_IN, r2);
    1242             :                 }
    1243           0 :                 dcesrv_lsa_Opnum107NotUsedOnWire(dce_call, mem_ctx, r2);
    1244           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1245           0 :                         DEBUG(5,("function lsa_Opnum107NotUsedOnWire will reply async\n"));
    1246             :                 }
    1247           0 :                 break;
    1248             :         }
    1249           0 :         case 108: {
    1250           0 :                 struct lsa_Opnum108NotUsedOnWire *r2 = (struct lsa_Opnum108NotUsedOnWire *)r;
    1251           0 :                 if (DEBUGLEVEL >= 10) {
    1252           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum108NotUsedOnWire, NDR_IN, r2);
    1253             :                 }
    1254           0 :                 dcesrv_lsa_Opnum108NotUsedOnWire(dce_call, mem_ctx, r2);
    1255           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1256           0 :                         DEBUG(5,("function lsa_Opnum108NotUsedOnWire will reply async\n"));
    1257             :                 }
    1258           0 :                 break;
    1259             :         }
    1260           0 :         case 109: {
    1261           0 :                 struct lsa_Opnum109NotUsedOnWire *r2 = (struct lsa_Opnum109NotUsedOnWire *)r;
    1262           0 :                 if (DEBUGLEVEL >= 10) {
    1263           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum109NotUsedOnWire, NDR_IN, r2);
    1264             :                 }
    1265           0 :                 dcesrv_lsa_Opnum109NotUsedOnWire(dce_call, mem_ctx, r2);
    1266           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1267           0 :                         DEBUG(5,("function lsa_Opnum109NotUsedOnWire will reply async\n"));
    1268             :                 }
    1269           0 :                 break;
    1270             :         }
    1271           0 :         case 110: {
    1272           0 :                 struct lsa_Opnum110NotUsedOnWire *r2 = (struct lsa_Opnum110NotUsedOnWire *)r;
    1273           0 :                 if (DEBUGLEVEL >= 10) {
    1274           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum110NotUsedOnWire, NDR_IN, r2);
    1275             :                 }
    1276           0 :                 dcesrv_lsa_Opnum110NotUsedOnWire(dce_call, mem_ctx, r2);
    1277           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1278           0 :                         DEBUG(5,("function lsa_Opnum110NotUsedOnWire will reply async\n"));
    1279             :                 }
    1280           0 :                 break;
    1281             :         }
    1282           0 :         case 111: {
    1283           0 :                 struct lsa_Opnum111NotUsedOnWire *r2 = (struct lsa_Opnum111NotUsedOnWire *)r;
    1284           0 :                 if (DEBUGLEVEL >= 10) {
    1285           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum111NotUsedOnWire, NDR_IN, r2);
    1286             :                 }
    1287           0 :                 dcesrv_lsa_Opnum111NotUsedOnWire(dce_call, mem_ctx, r2);
    1288           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1289           0 :                         DEBUG(5,("function lsa_Opnum111NotUsedOnWire will reply async\n"));
    1290             :                 }
    1291           0 :                 break;
    1292             :         }
    1293           0 :         case 112: {
    1294           0 :                 struct lsa_Opnum112NotUsedOnWire *r2 = (struct lsa_Opnum112NotUsedOnWire *)r;
    1295           0 :                 if (DEBUGLEVEL >= 10) {
    1296           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum112NotUsedOnWire, NDR_IN, r2);
    1297             :                 }
    1298           0 :                 dcesrv_lsa_Opnum112NotUsedOnWire(dce_call, mem_ctx, r2);
    1299           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1300           0 :                         DEBUG(5,("function lsa_Opnum112NotUsedOnWire will reply async\n"));
    1301             :                 }
    1302           0 :                 break;
    1303             :         }
    1304           0 :         case 113: {
    1305           0 :                 struct lsa_Opnum113NotUsedOnWire *r2 = (struct lsa_Opnum113NotUsedOnWire *)r;
    1306           0 :                 if (DEBUGLEVEL >= 10) {
    1307           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum113NotUsedOnWire, NDR_IN, r2);
    1308             :                 }
    1309           0 :                 dcesrv_lsa_Opnum113NotUsedOnWire(dce_call, mem_ctx, r2);
    1310           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1311           0 :                         DEBUG(5,("function lsa_Opnum113NotUsedOnWire will reply async\n"));
    1312             :                 }
    1313           0 :                 break;
    1314             :         }
    1315           0 :         case 114: {
    1316           0 :                 struct lsa_Opnum114NotUsedOnWire *r2 = (struct lsa_Opnum114NotUsedOnWire *)r;
    1317           0 :                 if (DEBUGLEVEL >= 10) {
    1318           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum114NotUsedOnWire, NDR_IN, r2);
    1319             :                 }
    1320           0 :                 dcesrv_lsa_Opnum114NotUsedOnWire(dce_call, mem_ctx, r2);
    1321           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1322           0 :                         DEBUG(5,("function lsa_Opnum114NotUsedOnWire will reply async\n"));
    1323             :                 }
    1324           0 :                 break;
    1325             :         }
    1326           0 :         case 115: {
    1327           0 :                 struct lsa_Opnum115NotUsedOnWire *r2 = (struct lsa_Opnum115NotUsedOnWire *)r;
    1328           0 :                 if (DEBUGLEVEL >= 10) {
    1329           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum115NotUsedOnWire, NDR_IN, r2);
    1330             :                 }
    1331           0 :                 dcesrv_lsa_Opnum115NotUsedOnWire(dce_call, mem_ctx, r2);
    1332           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1333           0 :                         DEBUG(5,("function lsa_Opnum115NotUsedOnWire will reply async\n"));
    1334             :                 }
    1335           0 :                 break;
    1336             :         }
    1337           0 :         case 116: {
    1338           0 :                 struct lsa_Opnum116NotUsedOnWire *r2 = (struct lsa_Opnum116NotUsedOnWire *)r;
    1339           0 :                 if (DEBUGLEVEL >= 10) {
    1340           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum116NotUsedOnWire, NDR_IN, r2);
    1341             :                 }
    1342           0 :                 dcesrv_lsa_Opnum116NotUsedOnWire(dce_call, mem_ctx, r2);
    1343           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1344           0 :                         DEBUG(5,("function lsa_Opnum116NotUsedOnWire will reply async\n"));
    1345             :                 }
    1346           0 :                 break;
    1347             :         }
    1348           0 :         case 117: {
    1349           0 :                 struct lsa_Opnum117NotUsedOnWire *r2 = (struct lsa_Opnum117NotUsedOnWire *)r;
    1350           0 :                 if (DEBUGLEVEL >= 10) {
    1351           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum117NotUsedOnWire, NDR_IN, r2);
    1352             :                 }
    1353           0 :                 dcesrv_lsa_Opnum117NotUsedOnWire(dce_call, mem_ctx, r2);
    1354           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1355           0 :                         DEBUG(5,("function lsa_Opnum117NotUsedOnWire will reply async\n"));
    1356             :                 }
    1357           0 :                 break;
    1358             :         }
    1359           0 :         case 118: {
    1360           0 :                 struct lsa_Opnum118NotUsedOnWire *r2 = (struct lsa_Opnum118NotUsedOnWire *)r;
    1361           0 :                 if (DEBUGLEVEL >= 10) {
    1362           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum118NotUsedOnWire, NDR_IN, r2);
    1363             :                 }
    1364           0 :                 dcesrv_lsa_Opnum118NotUsedOnWire(dce_call, mem_ctx, r2);
    1365           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1366           0 :                         DEBUG(5,("function lsa_Opnum118NotUsedOnWire will reply async\n"));
    1367             :                 }
    1368           0 :                 break;
    1369             :         }
    1370           0 :         case 119: {
    1371           0 :                 struct lsa_Opnum119NotUsedOnWire *r2 = (struct lsa_Opnum119NotUsedOnWire *)r;
    1372           0 :                 if (DEBUGLEVEL >= 10) {
    1373           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum119NotUsedOnWire, NDR_IN, r2);
    1374             :                 }
    1375           0 :                 dcesrv_lsa_Opnum119NotUsedOnWire(dce_call, mem_ctx, r2);
    1376           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1377           0 :                         DEBUG(5,("function lsa_Opnum119NotUsedOnWire will reply async\n"));
    1378             :                 }
    1379           0 :                 break;
    1380             :         }
    1381           0 :         case 120: {
    1382           0 :                 struct lsa_Opnum120NotUsedOnWire *r2 = (struct lsa_Opnum120NotUsedOnWire *)r;
    1383           0 :                 if (DEBUGLEVEL >= 10) {
    1384           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum120NotUsedOnWire, NDR_IN, r2);
    1385             :                 }
    1386           0 :                 dcesrv_lsa_Opnum120NotUsedOnWire(dce_call, mem_ctx, r2);
    1387           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1388           0 :                         DEBUG(5,("function lsa_Opnum120NotUsedOnWire will reply async\n"));
    1389             :                 }
    1390           0 :                 break;
    1391             :         }
    1392           0 :         case 121: {
    1393           0 :                 struct lsa_Opnum121NotUsedOnWire *r2 = (struct lsa_Opnum121NotUsedOnWire *)r;
    1394           0 :                 if (DEBUGLEVEL >= 10) {
    1395           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum121NotUsedOnWire, NDR_IN, r2);
    1396             :                 }
    1397           0 :                 dcesrv_lsa_Opnum121NotUsedOnWire(dce_call, mem_ctx, r2);
    1398           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1399           0 :                         DEBUG(5,("function lsa_Opnum121NotUsedOnWire will reply async\n"));
    1400             :                 }
    1401           0 :                 break;
    1402             :         }
    1403           0 :         case 122: {
    1404           0 :                 struct lsa_Opnum122NotUsedOnWire *r2 = (struct lsa_Opnum122NotUsedOnWire *)r;
    1405           0 :                 if (DEBUGLEVEL >= 10) {
    1406           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum122NotUsedOnWire, NDR_IN, r2);
    1407             :                 }
    1408           0 :                 dcesrv_lsa_Opnum122NotUsedOnWire(dce_call, mem_ctx, r2);
    1409           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1410           0 :                         DEBUG(5,("function lsa_Opnum122NotUsedOnWire will reply async\n"));
    1411             :                 }
    1412           0 :                 break;
    1413             :         }
    1414           0 :         case 123: {
    1415           0 :                 struct lsa_Opnum123NotUsedOnWire *r2 = (struct lsa_Opnum123NotUsedOnWire *)r;
    1416           0 :                 if (DEBUGLEVEL >= 10) {
    1417           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum123NotUsedOnWire, NDR_IN, r2);
    1418             :                 }
    1419           0 :                 dcesrv_lsa_Opnum123NotUsedOnWire(dce_call, mem_ctx, r2);
    1420           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1421           0 :                         DEBUG(5,("function lsa_Opnum123NotUsedOnWire will reply async\n"));
    1422             :                 }
    1423           0 :                 break;
    1424             :         }
    1425           0 :         case 124: {
    1426           0 :                 struct lsa_Opnum124NotUsedOnWire *r2 = (struct lsa_Opnum124NotUsedOnWire *)r;
    1427           0 :                 if (DEBUGLEVEL >= 10) {
    1428           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum124NotUsedOnWire, NDR_IN, r2);
    1429             :                 }
    1430           0 :                 dcesrv_lsa_Opnum124NotUsedOnWire(dce_call, mem_ctx, r2);
    1431           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1432           0 :                         DEBUG(5,("function lsa_Opnum124NotUsedOnWire will reply async\n"));
    1433             :                 }
    1434           0 :                 break;
    1435             :         }
    1436           0 :         case 125: {
    1437           0 :                 struct lsa_Opnum125NotUsedOnWire *r2 = (struct lsa_Opnum125NotUsedOnWire *)r;
    1438           0 :                 if (DEBUGLEVEL >= 10) {
    1439           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum125NotUsedOnWire, NDR_IN, r2);
    1440             :                 }
    1441           0 :                 dcesrv_lsa_Opnum125NotUsedOnWire(dce_call, mem_ctx, r2);
    1442           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1443           0 :                         DEBUG(5,("function lsa_Opnum125NotUsedOnWire will reply async\n"));
    1444             :                 }
    1445           0 :                 break;
    1446             :         }
    1447           0 :         case 126: {
    1448           0 :                 struct lsa_Opnum126NotUsedOnWire *r2 = (struct lsa_Opnum126NotUsedOnWire *)r;
    1449           0 :                 if (DEBUGLEVEL >= 10) {
    1450           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum126NotUsedOnWire, NDR_IN, r2);
    1451             :                 }
    1452           0 :                 dcesrv_lsa_Opnum126NotUsedOnWire(dce_call, mem_ctx, r2);
    1453           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1454           0 :                         DEBUG(5,("function lsa_Opnum126NotUsedOnWire will reply async\n"));
    1455             :                 }
    1456           0 :                 break;
    1457             :         }
    1458           0 :         case 127: {
    1459           0 :                 struct lsa_Opnum127NotUsedOnWire *r2 = (struct lsa_Opnum127NotUsedOnWire *)r;
    1460           0 :                 if (DEBUGLEVEL >= 10) {
    1461           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum127NotUsedOnWire, NDR_IN, r2);
    1462             :                 }
    1463           0 :                 dcesrv_lsa_Opnum127NotUsedOnWire(dce_call, mem_ctx, r2);
    1464           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1465           0 :                         DEBUG(5,("function lsa_Opnum127NotUsedOnWire will reply async\n"));
    1466             :                 }
    1467           0 :                 break;
    1468             :         }
    1469           0 :         case 128: {
    1470           0 :                 struct lsa_Opnum128NotUsedOnWire *r2 = (struct lsa_Opnum128NotUsedOnWire *)r;
    1471           0 :                 if (DEBUGLEVEL >= 10) {
    1472           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum128NotUsedOnWire, NDR_IN, r2);
    1473             :                 }
    1474           0 :                 dcesrv_lsa_Opnum128NotUsedOnWire(dce_call, mem_ctx, r2);
    1475           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1476           0 :                         DEBUG(5,("function lsa_Opnum128NotUsedOnWire will reply async\n"));
    1477             :                 }
    1478           0 :                 break;
    1479             :         }
    1480          59 :         case 129: {
    1481          59 :                 struct lsa_CreateTrustedDomainEx3 *r2 = (struct lsa_CreateTrustedDomainEx3 *)r;
    1482          59 :                 if (DEBUGLEVEL >= 10) {
    1483           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateTrustedDomainEx3, NDR_IN, r2);
    1484             :                 }
    1485          59 :                 r2->out.result = dcesrv_lsa_CreateTrustedDomainEx3(dce_call, mem_ctx, r2);
    1486          59 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1487           0 :                         DEBUG(5,("function lsa_CreateTrustedDomainEx3 will reply async\n"));
    1488             :                 }
    1489          59 :                 break;
    1490             :         }
    1491         300 :         case 130: {
    1492         300 :                 struct lsa_OpenPolicy3 *r2 = (struct lsa_OpenPolicy3 *)r;
    1493         300 :                 if (DEBUGLEVEL >= 10) {
    1494           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenPolicy3, NDR_IN, r2);
    1495             :                 }
    1496         300 :                 r2->out.result = dcesrv_lsa_OpenPolicy3(dce_call, mem_ctx, r2);
    1497         300 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1498           0 :                         DEBUG(5,("function lsa_OpenPolicy3 will reply async\n"));
    1499             :                 }
    1500         298 :                 break;
    1501             :         }
    1502           0 :         case 131: {
    1503           0 :                 struct lsa_Opnum131NotUsedOnWire *r2 = (struct lsa_Opnum131NotUsedOnWire *)r;
    1504           0 :                 if (DEBUGLEVEL >= 10) {
    1505           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum131NotUsedOnWire, NDR_IN, r2);
    1506             :                 }
    1507           0 :                 dcesrv_lsa_Opnum131NotUsedOnWire(dce_call, mem_ctx, r2);
    1508           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1509           0 :                         DEBUG(5,("function lsa_Opnum131NotUsedOnWire will reply async\n"));
    1510             :                 }
    1511           0 :                 break;
    1512             :         }
    1513           0 :         case 132: {
    1514           0 :                 struct lsa_lsaRQueryForestTrustInformation2 *r2 = (struct lsa_lsaRQueryForestTrustInformation2 *)r;
    1515           0 :                 if (DEBUGLEVEL >= 10) {
    1516           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_lsaRQueryForestTrustInformation2, NDR_IN, r2);
    1517             :                 }
    1518           0 :                 r2->out.result = dcesrv_lsa_lsaRQueryForestTrustInformation2(dce_call, mem_ctx, r2);
    1519           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1520           0 :                         DEBUG(5,("function lsa_lsaRQueryForestTrustInformation2 will reply async\n"));
    1521             :                 }
    1522           0 :                 break;
    1523             :         }
    1524           0 :         case 133: {
    1525           0 :                 struct lsa_lsaRSetForestTrustInformation2 *r2 = (struct lsa_lsaRSetForestTrustInformation2 *)r;
    1526           0 :                 if (DEBUGLEVEL >= 10) {
    1527           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_lsaRSetForestTrustInformation2, NDR_IN, r2);
    1528             :                 }
    1529           0 :                 r2->out.result = dcesrv_lsa_lsaRSetForestTrustInformation2(dce_call, mem_ctx, r2);
    1530           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1531           0 :                         DEBUG(5,("function lsa_lsaRSetForestTrustInformation2 will reply async\n"));
    1532             :                 }
    1533           0 :                 break;
    1534             :         }
    1535             : 
    1536           0 :         default:
    1537           0 :                 dce_call->fault_code = DCERPC_FAULT_OP_RNG_ERROR;
    1538           0 :                 break;
    1539             :         }
    1540             : 
    1541       26734 :         if (dce_call->fault_code != 0) {
    1542         207 :                 return NT_STATUS_NET_WRITE_FAULT;
    1543             :         }
    1544             : 
    1545       26527 :         return NT_STATUS_OK;
    1546             : }
    1547             : 
    1548       26527 : static NTSTATUS lsarpc__op_reply(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, void *r)
    1549             : {
    1550       26527 :         uint16_t opnum = dce_call->pkt.u.request.opnum;
    1551             : 
    1552       26527 :         switch (opnum) {
    1553         863 :         case 0: {
    1554         863 :                 struct lsa_Close *r2 = (struct lsa_Close *)r;
    1555         863 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1556           0 :                         DEBUG(5,("function lsa_Close replied async\n"));
    1557             :                 }
    1558         863 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1559           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Close, NDR_OUT | NDR_SET_VALUES, r2);
    1560             :                 }
    1561         863 :                 if (dce_call->fault_code != 0) {
    1562           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Close\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1563             :                 }
    1564         851 :                 break;
    1565             :         }
    1566          33 :         case 1: {
    1567          33 :                 struct lsa_Delete *r2 = (struct lsa_Delete *)r;
    1568          33 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1569           0 :                         DEBUG(5,("function lsa_Delete replied async\n"));
    1570             :                 }
    1571          33 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1572           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Delete, NDR_OUT | NDR_SET_VALUES, r2);
    1573             :                 }
    1574          33 :                 if (dce_call->fault_code != 0) {
    1575           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Delete\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1576             :                 }
    1577          33 :                 break;
    1578             :         }
    1579           3 :         case 2: {
    1580           3 :                 struct lsa_EnumPrivs *r2 = (struct lsa_EnumPrivs *)r;
    1581           3 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1582           0 :                         DEBUG(5,("function lsa_EnumPrivs replied async\n"));
    1583             :                 }
    1584           3 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1585           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumPrivs, NDR_OUT | NDR_SET_VALUES, r2);
    1586             :                 }
    1587           3 :                 if (dce_call->fault_code != 0) {
    1588           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_EnumPrivs\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1589             :                 }
    1590           3 :                 break;
    1591             :         }
    1592          48 :         case 3: {
    1593          48 :                 struct lsa_QuerySecurity *r2 = (struct lsa_QuerySecurity *)r;
    1594          48 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1595           0 :                         DEBUG(5,("function lsa_QuerySecurity replied async\n"));
    1596             :                 }
    1597          48 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1598           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QuerySecurity, NDR_OUT | NDR_SET_VALUES, r2);
    1599             :                 }
    1600          48 :                 if (dce_call->fault_code != 0) {
    1601           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_QuerySecurity\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1602             :                 }
    1603          36 :                 break;
    1604             :         }
    1605           0 :         case 4: {
    1606           0 :                 struct lsa_SetSecObj *r2 = (struct lsa_SetSecObj *)r;
    1607           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1608           0 :                         DEBUG(5,("function lsa_SetSecObj replied async\n"));
    1609             :                 }
    1610           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1611           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetSecObj, NDR_OUT | NDR_SET_VALUES, r2);
    1612             :                 }
    1613           0 :                 if (dce_call->fault_code != 0) {
    1614           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_SetSecObj\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1615             :                 }
    1616           0 :                 break;
    1617             :         }
    1618           0 :         case 5: {
    1619           0 :                 struct lsa_ChangePassword *r2 = (struct lsa_ChangePassword *)r;
    1620           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1621           0 :                         DEBUG(5,("function lsa_ChangePassword replied async\n"));
    1622             :                 }
    1623           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1624           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_ChangePassword, NDR_OUT | NDR_SET_VALUES, r2);
    1625             :                 }
    1626           0 :                 if (dce_call->fault_code != 0) {
    1627           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_ChangePassword\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1628             :                 }
    1629           0 :                 break;
    1630             :         }
    1631         774 :         case 6: {
    1632         774 :                 struct lsa_OpenPolicy *r2 = (struct lsa_OpenPolicy *)r;
    1633         774 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1634           0 :                         DEBUG(5,("function lsa_OpenPolicy replied async\n"));
    1635             :                 }
    1636         774 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1637           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenPolicy, NDR_OUT | NDR_SET_VALUES, r2);
    1638             :                 }
    1639         774 :                 if (dce_call->fault_code != 0) {
    1640           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_OpenPolicy\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1641             :                 }
    1642         761 :                 break;
    1643             :         }
    1644         851 :         case 7: {
    1645         851 :                 struct lsa_QueryInfoPolicy *r2 = (struct lsa_QueryInfoPolicy *)r;
    1646         851 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1647           0 :                         DEBUG(5,("function lsa_QueryInfoPolicy replied async\n"));
    1648             :                 }
    1649         851 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1650           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryInfoPolicy, NDR_OUT | NDR_SET_VALUES, r2);
    1651             :                 }
    1652         851 :                 if (dce_call->fault_code != 0) {
    1653           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_QueryInfoPolicy\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1654             :                 }
    1655         779 :                 break;
    1656             :         }
    1657           0 :         case 8: {
    1658           0 :                 struct lsa_SetInfoPolicy *r2 = (struct lsa_SetInfoPolicy *)r;
    1659           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1660           0 :                         DEBUG(5,("function lsa_SetInfoPolicy replied async\n"));
    1661             :                 }
    1662           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1663           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetInfoPolicy, NDR_OUT | NDR_SET_VALUES, r2);
    1664             :                 }
    1665           0 :                 if (dce_call->fault_code != 0) {
    1666           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_SetInfoPolicy\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1667             :                 }
    1668           0 :                 break;
    1669             :         }
    1670           0 :         case 9: {
    1671           0 :                 struct lsa_ClearAuditLog *r2 = (struct lsa_ClearAuditLog *)r;
    1672           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1673           0 :                         DEBUG(5,("function lsa_ClearAuditLog replied async\n"));
    1674             :                 }
    1675           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1676           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_ClearAuditLog, NDR_OUT | NDR_SET_VALUES, r2);
    1677             :                 }
    1678           0 :                 if (dce_call->fault_code != 0) {
    1679           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_ClearAuditLog\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1680             :                 }
    1681           0 :                 break;
    1682             :         }
    1683           3 :         case 10: {
    1684           3 :                 struct lsa_CreateAccount *r2 = (struct lsa_CreateAccount *)r;
    1685           3 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1686           0 :                         DEBUG(5,("function lsa_CreateAccount replied async\n"));
    1687             :                 }
    1688           3 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1689           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateAccount, NDR_OUT | NDR_SET_VALUES, r2);
    1690             :                 }
    1691           3 :                 if (dce_call->fault_code != 0) {
    1692           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CreateAccount\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1693             :                 }
    1694           3 :                 break;
    1695             :         }
    1696          18 :         case 11: {
    1697          18 :                 struct lsa_EnumAccounts *r2 = (struct lsa_EnumAccounts *)r;
    1698          18 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1699           0 :                         DEBUG(5,("function lsa_EnumAccounts replied async\n"));
    1700             :                 }
    1701          18 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1702           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumAccounts, NDR_OUT | NDR_SET_VALUES, r2);
    1703             :                 }
    1704          18 :                 if (dce_call->fault_code != 0) {
    1705           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_EnumAccounts\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1706             :                 }
    1707          18 :                 break;
    1708             :         }
    1709          36 :         case 12: {
    1710          36 :                 struct lsa_CreateTrustedDomain *r2 = (struct lsa_CreateTrustedDomain *)r;
    1711          36 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1712           0 :                         DEBUG(5,("function lsa_CreateTrustedDomain replied async\n"));
    1713             :                 }
    1714          36 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1715           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateTrustedDomain, NDR_OUT | NDR_SET_VALUES, r2);
    1716             :                 }
    1717          36 :                 if (dce_call->fault_code != 0) {
    1718           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CreateTrustedDomain\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1719             :                 }
    1720          36 :                 break;
    1721             :         }
    1722          78 :         case 13: {
    1723          78 :                 struct lsa_EnumTrustDom *r2 = (struct lsa_EnumTrustDom *)r;
    1724          78 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1725           0 :                         DEBUG(5,("function lsa_EnumTrustDom replied async\n"));
    1726             :                 }
    1727          78 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1728           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumTrustDom, NDR_OUT | NDR_SET_VALUES, r2);
    1729             :                 }
    1730          78 :                 if (dce_call->fault_code != 0) {
    1731           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_EnumTrustDom\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1732             :                 }
    1733          75 :                 break;
    1734             :         }
    1735         313 :         case 14: {
    1736         313 :                 struct lsa_LookupNames *r2 = (struct lsa_LookupNames *)r;
    1737         313 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1738          12 :                         DEBUG(5,("function lsa_LookupNames replied async\n"));
    1739             :                 }
    1740         313 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1741           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupNames, NDR_OUT | NDR_SET_VALUES, r2);
    1742             :                 }
    1743         313 :                 if (dce_call->fault_code != 0) {
    1744           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LookupNames\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1745             :                 }
    1746         313 :                 break;
    1747             :         }
    1748         623 :         case 15: {
    1749         623 :                 struct lsa_LookupSids *r2 = (struct lsa_LookupSids *)r;
    1750         623 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1751           0 :                         DEBUG(5,("function lsa_LookupSids replied async\n"));
    1752             :                 }
    1753         623 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1754           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupSids, NDR_OUT | NDR_SET_VALUES, r2);
    1755             :                 }
    1756         623 :                 if (dce_call->fault_code != 0) {
    1757           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LookupSids\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1758             :                 }
    1759         623 :                 break;
    1760             :         }
    1761        1676 :         case 16: {
    1762        1676 :                 struct lsa_CreateSecret *r2 = (struct lsa_CreateSecret *)r;
    1763        1676 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1764           0 :                         DEBUG(5,("function lsa_CreateSecret replied async\n"));
    1765             :                 }
    1766        1676 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1767           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateSecret, NDR_OUT | NDR_SET_VALUES, r2);
    1768             :                 }
    1769        1676 :                 if (dce_call->fault_code != 0) {
    1770           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CreateSecret\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1771             :                 }
    1772        1676 :                 break;
    1773             :         }
    1774          26 :         case 17: {
    1775          26 :                 struct lsa_OpenAccount *r2 = (struct lsa_OpenAccount *)r;
    1776          26 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1777           0 :                         DEBUG(5,("function lsa_OpenAccount replied async\n"));
    1778             :                 }
    1779          26 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1780           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenAccount, NDR_OUT | NDR_SET_VALUES, r2);
    1781             :                 }
    1782          26 :                 if (dce_call->fault_code != 0) {
    1783           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_OpenAccount\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1784             :                 }
    1785          26 :                 break;
    1786             :         }
    1787          18 :         case 18: {
    1788          18 :                 struct lsa_EnumPrivsAccount *r2 = (struct lsa_EnumPrivsAccount *)r;
    1789          18 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1790           0 :                         DEBUG(5,("function lsa_EnumPrivsAccount replied async\n"));
    1791             :                 }
    1792          18 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1793           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumPrivsAccount, NDR_OUT | NDR_SET_VALUES, r2);
    1794             :                 }
    1795          18 :                 if (dce_call->fault_code != 0) {
    1796           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_EnumPrivsAccount\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1797             :                 }
    1798          18 :                 break;
    1799             :         }
    1800          15 :         case 19: {
    1801          15 :                 struct lsa_AddPrivilegesToAccount *r2 = (struct lsa_AddPrivilegesToAccount *)r;
    1802          15 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1803           0 :                         DEBUG(5,("function lsa_AddPrivilegesToAccount replied async\n"));
    1804             :                 }
    1805          15 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1806           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_AddPrivilegesToAccount, NDR_OUT | NDR_SET_VALUES, r2);
    1807             :                 }
    1808          15 :                 if (dce_call->fault_code != 0) {
    1809           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_AddPrivilegesToAccount\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1810             :                 }
    1811          15 :                 break;
    1812             :         }
    1813          15 :         case 20: {
    1814          15 :                 struct lsa_RemovePrivilegesFromAccount *r2 = (struct lsa_RemovePrivilegesFromAccount *)r;
    1815          15 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1816           0 :                         DEBUG(5,("function lsa_RemovePrivilegesFromAccount replied async\n"));
    1817             :                 }
    1818          15 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1819           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_RemovePrivilegesFromAccount, NDR_OUT | NDR_SET_VALUES, r2);
    1820             :                 }
    1821          15 :                 if (dce_call->fault_code != 0) {
    1822           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_RemovePrivilegesFromAccount\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1823             :                 }
    1824          15 :                 break;
    1825             :         }
    1826           0 :         case 21: {
    1827           0 :                 struct lsa_GetQuotasForAccount *r2 = (struct lsa_GetQuotasForAccount *)r;
    1828           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1829           0 :                         DEBUG(5,("function lsa_GetQuotasForAccount replied async\n"));
    1830             :                 }
    1831           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1832           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_GetQuotasForAccount, NDR_OUT | NDR_SET_VALUES, r2);
    1833             :                 }
    1834           0 :                 if (dce_call->fault_code != 0) {
    1835           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_GetQuotasForAccount\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1836             :                 }
    1837           0 :                 break;
    1838             :         }
    1839           0 :         case 22: {
    1840           0 :                 struct lsa_SetQuotasForAccount *r2 = (struct lsa_SetQuotasForAccount *)r;
    1841           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1842           0 :                         DEBUG(5,("function lsa_SetQuotasForAccount replied async\n"));
    1843             :                 }
    1844           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1845           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetQuotasForAccount, NDR_OUT | NDR_SET_VALUES, r2);
    1846             :                 }
    1847           0 :                 if (dce_call->fault_code != 0) {
    1848           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_SetQuotasForAccount\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1849             :                 }
    1850           0 :                 break;
    1851             :         }
    1852          26 :         case 23: {
    1853          26 :                 struct lsa_GetSystemAccessAccount *r2 = (struct lsa_GetSystemAccessAccount *)r;
    1854          26 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1855           0 :                         DEBUG(5,("function lsa_GetSystemAccessAccount replied async\n"));
    1856             :                 }
    1857          26 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1858           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_GetSystemAccessAccount, NDR_OUT | NDR_SET_VALUES, r2);
    1859             :                 }
    1860          26 :                 if (dce_call->fault_code != 0) {
    1861           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_GetSystemAccessAccount\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1862             :                 }
    1863          26 :                 break;
    1864             :         }
    1865           0 :         case 24: {
    1866           0 :                 struct lsa_SetSystemAccessAccount *r2 = (struct lsa_SetSystemAccessAccount *)r;
    1867           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1868           0 :                         DEBUG(5,("function lsa_SetSystemAccessAccount replied async\n"));
    1869             :                 }
    1870           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1871           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetSystemAccessAccount, NDR_OUT | NDR_SET_VALUES, r2);
    1872             :                 }
    1873           0 :                 if (dce_call->fault_code != 0) {
    1874           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_SetSystemAccessAccount\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1875             :                 }
    1876           0 :                 break;
    1877             :         }
    1878         144 :         case 25: {
    1879         144 :                 struct lsa_OpenTrustedDomain *r2 = (struct lsa_OpenTrustedDomain *)r;
    1880         144 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1881           0 :                         DEBUG(5,("function lsa_OpenTrustedDomain replied async\n"));
    1882             :                 }
    1883         144 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1884           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenTrustedDomain, NDR_OUT | NDR_SET_VALUES, r2);
    1885             :                 }
    1886         144 :                 if (dce_call->fault_code != 0) {
    1887           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_OpenTrustedDomain\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1888             :                 }
    1889         144 :                 break;
    1890             :         }
    1891        3891 :         case 26: {
    1892        3891 :                 struct lsa_QueryTrustedDomainInfo *r2 = (struct lsa_QueryTrustedDomainInfo *)r;
    1893        3891 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1894           0 :                         DEBUG(5,("function lsa_QueryTrustedDomainInfo replied async\n"));
    1895             :                 }
    1896        3891 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1897           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryTrustedDomainInfo, NDR_OUT | NDR_SET_VALUES, r2);
    1898             :                 }
    1899        3891 :                 if (dce_call->fault_code != 0) {
    1900           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_QueryTrustedDomainInfo\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1901             :                 }
    1902        3891 :                 break;
    1903             :         }
    1904          22 :         case 27: {
    1905          22 :                 struct lsa_SetInformationTrustedDomain *r2 = (struct lsa_SetInformationTrustedDomain *)r;
    1906          22 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1907           0 :                         DEBUG(5,("function lsa_SetInformationTrustedDomain replied async\n"));
    1908             :                 }
    1909          22 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1910           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetInformationTrustedDomain, NDR_OUT | NDR_SET_VALUES, r2);
    1911             :                 }
    1912          22 :                 if (dce_call->fault_code != 0) {
    1913           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_SetInformationTrustedDomain\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1914             :                 }
    1915          22 :                 break;
    1916             :         }
    1917          46 :         case 28: {
    1918          46 :                 struct lsa_OpenSecret *r2 = (struct lsa_OpenSecret *)r;
    1919          46 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1920           0 :                         DEBUG(5,("function lsa_OpenSecret replied async\n"));
    1921             :                 }
    1922          46 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1923           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenSecret, NDR_OUT | NDR_SET_VALUES, r2);
    1924             :                 }
    1925          46 :                 if (dce_call->fault_code != 0) {
    1926           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_OpenSecret\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1927             :                 }
    1928          46 :                 break;
    1929             :         }
    1930        2376 :         case 29: {
    1931        2376 :                 struct lsa_SetSecret *r2 = (struct lsa_SetSecret *)r;
    1932        2376 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1933           0 :                         DEBUG(5,("function lsa_SetSecret replied async\n"));
    1934             :                 }
    1935        2376 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1936           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetSecret, NDR_OUT | NDR_SET_VALUES, r2);
    1937             :                 }
    1938        2376 :                 if (dce_call->fault_code != 0) {
    1939           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_SetSecret\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1940             :                 }
    1941        2376 :                 break;
    1942             :         }
    1943        1212 :         case 30: {
    1944        1212 :                 struct lsa_QuerySecret *r2 = (struct lsa_QuerySecret *)r;
    1945        1212 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1946           0 :                         DEBUG(5,("function lsa_QuerySecret replied async\n"));
    1947             :                 }
    1948        1212 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1949           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QuerySecret, NDR_OUT | NDR_SET_VALUES, r2);
    1950             :                 }
    1951        1212 :                 if (dce_call->fault_code != 0) {
    1952           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_QuerySecret\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1953             :                 }
    1954        1212 :                 break;
    1955             :         }
    1956          77 :         case 31: {
    1957          77 :                 struct lsa_LookupPrivValue *r2 = (struct lsa_LookupPrivValue *)r;
    1958          77 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1959           0 :                         DEBUG(5,("function lsa_LookupPrivValue replied async\n"));
    1960             :                 }
    1961          77 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1962           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupPrivValue, NDR_OUT | NDR_SET_VALUES, r2);
    1963             :                 }
    1964          77 :                 if (dce_call->fault_code != 0) {
    1965           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LookupPrivValue\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1966             :                 }
    1967          77 :                 break;
    1968             :         }
    1969          96 :         case 32: {
    1970          96 :                 struct lsa_LookupPrivName *r2 = (struct lsa_LookupPrivName *)r;
    1971          96 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1972           0 :                         DEBUG(5,("function lsa_LookupPrivName replied async\n"));
    1973             :                 }
    1974          96 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1975           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupPrivName, NDR_OUT | NDR_SET_VALUES, r2);
    1976             :                 }
    1977          96 :                 if (dce_call->fault_code != 0) {
    1978           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LookupPrivName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1979             :                 }
    1980          96 :                 break;
    1981             :         }
    1982          75 :         case 33: {
    1983          75 :                 struct lsa_LookupPrivDisplayName *r2 = (struct lsa_LookupPrivDisplayName *)r;
    1984          75 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1985           0 :                         DEBUG(5,("function lsa_LookupPrivDisplayName replied async\n"));
    1986             :                 }
    1987          75 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    1988           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupPrivDisplayName, NDR_OUT | NDR_SET_VALUES, r2);
    1989             :                 }
    1990          75 :                 if (dce_call->fault_code != 0) {
    1991           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LookupPrivDisplayName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    1992             :                 }
    1993          75 :                 break;
    1994             :         }
    1995        1676 :         case 34: {
    1996        1676 :                 struct lsa_DeleteObject *r2 = (struct lsa_DeleteObject *)r;
    1997        1676 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    1998           0 :                         DEBUG(5,("function lsa_DeleteObject replied async\n"));
    1999             :                 }
    2000        1676 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2001           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_DeleteObject, NDR_OUT | NDR_SET_VALUES, r2);
    2002             :                 }
    2003        1676 :                 if (dce_call->fault_code != 0) {
    2004           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_DeleteObject\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2005             :                 }
    2006        1676 :                 break;
    2007             :         }
    2008          75 :         case 35: {
    2009          75 :                 struct lsa_EnumAccountsWithUserRight *r2 = (struct lsa_EnumAccountsWithUserRight *)r;
    2010          75 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2011           0 :                         DEBUG(5,("function lsa_EnumAccountsWithUserRight replied async\n"));
    2012             :                 }
    2013          75 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2014           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumAccountsWithUserRight, NDR_OUT | NDR_SET_VALUES, r2);
    2015             :                 }
    2016          75 :                 if (dce_call->fault_code != 0) {
    2017           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_EnumAccountsWithUserRight\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2018             :                 }
    2019          75 :                 break;
    2020             :         }
    2021          46 :         case 36: {
    2022          46 :                 struct lsa_EnumAccountRights *r2 = (struct lsa_EnumAccountRights *)r;
    2023          46 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2024           0 :                         DEBUG(5,("function lsa_EnumAccountRights replied async\n"));
    2025             :                 }
    2026          46 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2027           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumAccountRights, NDR_OUT | NDR_SET_VALUES, r2);
    2028             :                 }
    2029          46 :                 if (dce_call->fault_code != 0) {
    2030           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_EnumAccountRights\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2031             :                 }
    2032          46 :                 break;
    2033             :         }
    2034          10 :         case 37: {
    2035          10 :                 struct lsa_AddAccountRights *r2 = (struct lsa_AddAccountRights *)r;
    2036          10 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2037           0 :                         DEBUG(5,("function lsa_AddAccountRights replied async\n"));
    2038             :                 }
    2039          10 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2040           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_AddAccountRights, NDR_OUT | NDR_SET_VALUES, r2);
    2041             :                 }
    2042          10 :                 if (dce_call->fault_code != 0) {
    2043           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_AddAccountRights\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2044             :                 }
    2045          10 :                 break;
    2046             :         }
    2047           0 :         case 38: {
    2048           0 :                 struct lsa_RemoveAccountRights *r2 = (struct lsa_RemoveAccountRights *)r;
    2049           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2050           0 :                         DEBUG(5,("function lsa_RemoveAccountRights replied async\n"));
    2051             :                 }
    2052           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2053           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_RemoveAccountRights, NDR_OUT | NDR_SET_VALUES, r2);
    2054             :                 }
    2055           0 :                 if (dce_call->fault_code != 0) {
    2056           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_RemoveAccountRights\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2057             :                 }
    2058           0 :                 break;
    2059             :         }
    2060        1873 :         case 39: {
    2061        1873 :                 struct lsa_QueryTrustedDomainInfoBySid *r2 = (struct lsa_QueryTrustedDomainInfoBySid *)r;
    2062        1873 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2063           0 :                         DEBUG(5,("function lsa_QueryTrustedDomainInfoBySid replied async\n"));
    2064             :                 }
    2065        1873 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2066           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryTrustedDomainInfoBySid, NDR_OUT | NDR_SET_VALUES, r2);
    2067             :                 }
    2068        1873 :                 if (dce_call->fault_code != 0) {
    2069           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_QueryTrustedDomainInfoBySid\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2070             :                 }
    2071        1873 :                 break;
    2072             :         }
    2073           0 :         case 40: {
    2074           0 :                 struct lsa_SetTrustedDomainInfo *r2 = (struct lsa_SetTrustedDomainInfo *)r;
    2075           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2076           0 :                         DEBUG(5,("function lsa_SetTrustedDomainInfo replied async\n"));
    2077             :                 }
    2078           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2079           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetTrustedDomainInfo, NDR_OUT | NDR_SET_VALUES, r2);
    2080             :                 }
    2081           0 :                 if (dce_call->fault_code != 0) {
    2082           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_SetTrustedDomainInfo\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2083             :                 }
    2084           0 :                 break;
    2085             :         }
    2086         149 :         case 41: {
    2087         149 :                 struct lsa_DeleteTrustedDomain *r2 = (struct lsa_DeleteTrustedDomain *)r;
    2088         149 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2089           0 :                         DEBUG(5,("function lsa_DeleteTrustedDomain replied async\n"));
    2090             :                 }
    2091         149 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2092           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_DeleteTrustedDomain, NDR_OUT | NDR_SET_VALUES, r2);
    2093             :                 }
    2094         149 :                 if (dce_call->fault_code != 0) {
    2095           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_DeleteTrustedDomain\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2096             :                 }
    2097         149 :                 break;
    2098             :         }
    2099           0 :         case 42: {
    2100           0 :                 struct lsa_StorePrivateData *r2 = (struct lsa_StorePrivateData *)r;
    2101           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2102           0 :                         DEBUG(5,("function lsa_StorePrivateData replied async\n"));
    2103             :                 }
    2104           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2105           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_StorePrivateData, NDR_OUT | NDR_SET_VALUES, r2);
    2106             :                 }
    2107           0 :                 if (dce_call->fault_code != 0) {
    2108           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_StorePrivateData\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2109             :                 }
    2110           0 :                 break;
    2111             :         }
    2112           0 :         case 43: {
    2113           0 :                 struct lsa_RetrievePrivateData *r2 = (struct lsa_RetrievePrivateData *)r;
    2114           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2115           0 :                         DEBUG(5,("function lsa_RetrievePrivateData replied async\n"));
    2116             :                 }
    2117           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2118           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_RetrievePrivateData, NDR_OUT | NDR_SET_VALUES, r2);
    2119             :                 }
    2120           0 :                 if (dce_call->fault_code != 0) {
    2121           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_RetrievePrivateData\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2122             :                 }
    2123           0 :                 break;
    2124             :         }
    2125        2334 :         case 44: {
    2126        2334 :                 struct lsa_OpenPolicy2 *r2 = (struct lsa_OpenPolicy2 *)r;
    2127        2334 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2128           0 :                         DEBUG(5,("function lsa_OpenPolicy2 replied async\n"));
    2129             :                 }
    2130        2334 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2131           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenPolicy2, NDR_OUT | NDR_SET_VALUES, r2);
    2132             :                 }
    2133        2334 :                 if (dce_call->fault_code != 0) {
    2134           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_OpenPolicy2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2135             :                 }
    2136        2253 :                 break;
    2137             :         }
    2138         516 :         case 45: {
    2139         516 :                 struct lsa_GetUserName *r2 = (struct lsa_GetUserName *)r;
    2140         516 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2141           0 :                         DEBUG(5,("function lsa_GetUserName replied async\n"));
    2142             :                 }
    2143         516 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2144           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_GetUserName, NDR_OUT | NDR_SET_VALUES, r2);
    2145             :                 }
    2146         516 :                 if (dce_call->fault_code != 0) {
    2147           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_GetUserName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2148             :                 }
    2149         468 :                 break;
    2150             :         }
    2151        1007 :         case 46: {
    2152        1007 :                 struct lsa_QueryInfoPolicy2 *r2 = (struct lsa_QueryInfoPolicy2 *)r;
    2153        1007 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2154           0 :                         DEBUG(5,("function lsa_QueryInfoPolicy2 replied async\n"));
    2155             :                 }
    2156        1007 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2157           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryInfoPolicy2, NDR_OUT | NDR_SET_VALUES, r2);
    2158             :                 }
    2159        1007 :                 if (dce_call->fault_code != 0) {
    2160           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_QueryInfoPolicy2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2161             :                 }
    2162         933 :                 break;
    2163             :         }
    2164           0 :         case 47: {
    2165           0 :                 struct lsa_SetInfoPolicy2 *r2 = (struct lsa_SetInfoPolicy2 *)r;
    2166           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2167           0 :                         DEBUG(5,("function lsa_SetInfoPolicy2 replied async\n"));
    2168             :                 }
    2169           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2170           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetInfoPolicy2, NDR_OUT | NDR_SET_VALUES, r2);
    2171             :                 }
    2172           0 :                 if (dce_call->fault_code != 0) {
    2173           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_SetInfoPolicy2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2174             :                 }
    2175           0 :                 break;
    2176             :         }
    2177        2160 :         case 48: {
    2178        2160 :                 struct lsa_QueryTrustedDomainInfoByName *r2 = (struct lsa_QueryTrustedDomainInfoByName *)r;
    2179        2160 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2180           0 :                         DEBUG(5,("function lsa_QueryTrustedDomainInfoByName replied async\n"));
    2181             :                 }
    2182        2160 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2183           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryTrustedDomainInfoByName, NDR_OUT | NDR_SET_VALUES, r2);
    2184             :                 }
    2185        2160 :                 if (dce_call->fault_code != 0) {
    2186           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_QueryTrustedDomainInfoByName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2187             :                 }
    2188        2160 :                 break;
    2189             :         }
    2190          18 :         case 49: {
    2191          18 :                 struct lsa_SetTrustedDomainInfoByName *r2 = (struct lsa_SetTrustedDomainInfoByName *)r;
    2192          18 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2193           0 :                         DEBUG(5,("function lsa_SetTrustedDomainInfoByName replied async\n"));
    2194             :                 }
    2195          18 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2196           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetTrustedDomainInfoByName, NDR_OUT | NDR_SET_VALUES, r2);
    2197             :                 }
    2198          18 :                 if (dce_call->fault_code != 0) {
    2199           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_SetTrustedDomainInfoByName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2200             :                 }
    2201          18 :                 break;
    2202             :         }
    2203          54 :         case 50: {
    2204          54 :                 struct lsa_EnumTrustedDomainsEx *r2 = (struct lsa_EnumTrustedDomainsEx *)r;
    2205          54 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2206           0 :                         DEBUG(5,("function lsa_EnumTrustedDomainsEx replied async\n"));
    2207             :                 }
    2208          54 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2209           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_EnumTrustedDomainsEx, NDR_OUT | NDR_SET_VALUES, r2);
    2210             :                 }
    2211          54 :                 if (dce_call->fault_code != 0) {
    2212           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_EnumTrustedDomainsEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2213             :                 }
    2214          54 :                 break;
    2215             :         }
    2216          36 :         case 51: {
    2217          36 :                 struct lsa_CreateTrustedDomainEx *r2 = (struct lsa_CreateTrustedDomainEx *)r;
    2218          36 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2219           0 :                         DEBUG(5,("function lsa_CreateTrustedDomainEx replied async\n"));
    2220             :                 }
    2221          36 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2222           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateTrustedDomainEx, NDR_OUT | NDR_SET_VALUES, r2);
    2223             :                 }
    2224          36 :                 if (dce_call->fault_code != 0) {
    2225           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CreateTrustedDomainEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2226             :                 }
    2227          36 :                 break;
    2228             :         }
    2229         144 :         case 52: {
    2230         144 :                 struct lsa_CloseTrustedDomainEx *r2 = (struct lsa_CloseTrustedDomainEx *)r;
    2231         144 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2232           0 :                         DEBUG(5,("function lsa_CloseTrustedDomainEx replied async\n"));
    2233             :                 }
    2234         144 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2235           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CloseTrustedDomainEx, NDR_OUT | NDR_SET_VALUES, r2);
    2236             :                 }
    2237         144 :                 if (dce_call->fault_code != 0) {
    2238           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CloseTrustedDomainEx\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2239             :                 }
    2240         144 :                 break;
    2241             :         }
    2242          24 :         case 53: {
    2243          24 :                 struct lsa_QueryDomainInformationPolicy *r2 = (struct lsa_QueryDomainInformationPolicy *)r;
    2244          24 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2245           0 :                         DEBUG(5,("function lsa_QueryDomainInformationPolicy replied async\n"));
    2246             :                 }
    2247          24 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2248           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_QueryDomainInformationPolicy, NDR_OUT | NDR_SET_VALUES, r2);
    2249             :                 }
    2250          24 :                 if (dce_call->fault_code != 0) {
    2251           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_QueryDomainInformationPolicy\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2252             :                 }
    2253          24 :                 break;
    2254             :         }
    2255           0 :         case 54: {
    2256           0 :                 struct lsa_SetDomainInformationPolicy *r2 = (struct lsa_SetDomainInformationPolicy *)r;
    2257           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2258           0 :                         DEBUG(5,("function lsa_SetDomainInformationPolicy replied async\n"));
    2259             :                 }
    2260           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2261           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_SetDomainInformationPolicy, NDR_OUT | NDR_SET_VALUES, r2);
    2262             :                 }
    2263           0 :                 if (dce_call->fault_code != 0) {
    2264           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_SetDomainInformationPolicy\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2265             :                 }
    2266           0 :                 break;
    2267             :         }
    2268         144 :         case 55: {
    2269         144 :                 struct lsa_OpenTrustedDomainByName *r2 = (struct lsa_OpenTrustedDomainByName *)r;
    2270         144 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2271           0 :                         DEBUG(5,("function lsa_OpenTrustedDomainByName replied async\n"));
    2272             :                 }
    2273         144 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2274           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenTrustedDomainByName, NDR_OUT | NDR_SET_VALUES, r2);
    2275             :                 }
    2276         144 :                 if (dce_call->fault_code != 0) {
    2277           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_OpenTrustedDomainByName\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2278             :                 }
    2279         144 :                 break;
    2280             :         }
    2281           0 :         case 56: {
    2282           0 :                 struct lsa_TestCall *r2 = (struct lsa_TestCall *)r;
    2283           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2284           0 :                         DEBUG(5,("function lsa_TestCall replied async\n"));
    2285             :                 }
    2286           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2287           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_TestCall, NDR_OUT | NDR_SET_VALUES, r2);
    2288             :                 }
    2289           0 :                 if (dce_call->fault_code != 0) {
    2290           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_TestCall\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2291             :                 }
    2292           0 :                 break;
    2293             :         }
    2294           3 :         case 57: {
    2295           3 :                 struct lsa_LookupSids2 *r2 = (struct lsa_LookupSids2 *)r;
    2296           3 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2297           0 :                         DEBUG(5,("function lsa_LookupSids2 replied async\n"));
    2298             :                 }
    2299           3 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2300           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupSids2, NDR_OUT | NDR_SET_VALUES, r2);
    2301             :                 }
    2302           3 :                 if (dce_call->fault_code != 0) {
    2303           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LookupSids2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2304             :                 }
    2305           3 :                 break;
    2306             :         }
    2307           6 :         case 58: {
    2308           6 :                 struct lsa_LookupNames2 *r2 = (struct lsa_LookupNames2 *)r;
    2309           6 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2310           0 :                         DEBUG(5,("function lsa_LookupNames2 replied async\n"));
    2311             :                 }
    2312           6 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2313           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupNames2, NDR_OUT | NDR_SET_VALUES, r2);
    2314             :                 }
    2315           6 :                 if (dce_call->fault_code != 0) {
    2316           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LookupNames2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2317             :                 }
    2318           6 :                 break;
    2319             :         }
    2320          44 :         case 59: {
    2321          44 :                 struct lsa_CreateTrustedDomainEx2 *r2 = (struct lsa_CreateTrustedDomainEx2 *)r;
    2322          44 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2323           0 :                         DEBUG(5,("function lsa_CreateTrustedDomainEx2 replied async\n"));
    2324             :                 }
    2325          44 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2326           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateTrustedDomainEx2, NDR_OUT | NDR_SET_VALUES, r2);
    2327             :                 }
    2328          44 :                 if (dce_call->fault_code != 0) {
    2329           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CreateTrustedDomainEx2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2330             :                 }
    2331          44 :                 break;
    2332             :         }
    2333           0 :         case 60: {
    2334           0 :                 struct lsa_CREDRWRITE *r2 = (struct lsa_CREDRWRITE *)r;
    2335           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2336           0 :                         DEBUG(5,("function lsa_CREDRWRITE replied async\n"));
    2337             :                 }
    2338           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2339           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRWRITE, NDR_OUT | NDR_SET_VALUES, r2);
    2340             :                 }
    2341           0 :                 if (dce_call->fault_code != 0) {
    2342           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CREDRWRITE\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2343             :                 }
    2344           0 :                 break;
    2345             :         }
    2346           0 :         case 61: {
    2347           0 :                 struct lsa_CREDRREAD *r2 = (struct lsa_CREDRREAD *)r;
    2348           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2349           0 :                         DEBUG(5,("function lsa_CREDRREAD replied async\n"));
    2350             :                 }
    2351           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2352           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRREAD, NDR_OUT | NDR_SET_VALUES, r2);
    2353             :                 }
    2354           0 :                 if (dce_call->fault_code != 0) {
    2355           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CREDRREAD\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2356             :                 }
    2357           0 :                 break;
    2358             :         }
    2359           0 :         case 62: {
    2360           0 :                 struct lsa_CREDRENUMERATE *r2 = (struct lsa_CREDRENUMERATE *)r;
    2361           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2362           0 :                         DEBUG(5,("function lsa_CREDRENUMERATE replied async\n"));
    2363             :                 }
    2364           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2365           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRENUMERATE, NDR_OUT | NDR_SET_VALUES, r2);
    2366             :                 }
    2367           0 :                 if (dce_call->fault_code != 0) {
    2368           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CREDRENUMERATE\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2369             :                 }
    2370           0 :                 break;
    2371             :         }
    2372           0 :         case 63: {
    2373           0 :                 struct lsa_CREDRWRITEDOMAINCREDENTIALS *r2 = (struct lsa_CREDRWRITEDOMAINCREDENTIALS *)r;
    2374           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2375           0 :                         DEBUG(5,("function lsa_CREDRWRITEDOMAINCREDENTIALS replied async\n"));
    2376             :                 }
    2377           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2378           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, NDR_OUT | NDR_SET_VALUES, r2);
    2379             :                 }
    2380           0 :                 if (dce_call->fault_code != 0) {
    2381           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CREDRWRITEDOMAINCREDENTIALS\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2382             :                 }
    2383           0 :                 break;
    2384             :         }
    2385           0 :         case 64: {
    2386           0 :                 struct lsa_CREDRREADDOMAINCREDENTIALS *r2 = (struct lsa_CREDRREADDOMAINCREDENTIALS *)r;
    2387           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2388           0 :                         DEBUG(5,("function lsa_CREDRREADDOMAINCREDENTIALS replied async\n"));
    2389             :                 }
    2390           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2391           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, NDR_OUT | NDR_SET_VALUES, r2);
    2392             :                 }
    2393           0 :                 if (dce_call->fault_code != 0) {
    2394           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CREDRREADDOMAINCREDENTIALS\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2395             :                 }
    2396           0 :                 break;
    2397             :         }
    2398           0 :         case 65: {
    2399           0 :                 struct lsa_CREDRDELETE *r2 = (struct lsa_CREDRDELETE *)r;
    2400           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2401           0 :                         DEBUG(5,("function lsa_CREDRDELETE replied async\n"));
    2402             :                 }
    2403           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2404           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRDELETE, NDR_OUT | NDR_SET_VALUES, r2);
    2405             :                 }
    2406           0 :                 if (dce_call->fault_code != 0) {
    2407           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CREDRDELETE\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2408             :                 }
    2409           0 :                 break;
    2410             :         }
    2411           0 :         case 66: {
    2412           0 :                 struct lsa_CREDRGETTARGETINFO *r2 = (struct lsa_CREDRGETTARGETINFO *)r;
    2413           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2414           0 :                         DEBUG(5,("function lsa_CREDRGETTARGETINFO replied async\n"));
    2415             :                 }
    2416           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2417           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRGETTARGETINFO, NDR_OUT | NDR_SET_VALUES, r2);
    2418             :                 }
    2419           0 :                 if (dce_call->fault_code != 0) {
    2420           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CREDRGETTARGETINFO\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2421             :                 }
    2422           0 :                 break;
    2423             :         }
    2424           0 :         case 67: {
    2425           0 :                 struct lsa_CREDRPROFILELOADED *r2 = (struct lsa_CREDRPROFILELOADED *)r;
    2426           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2427           0 :                         DEBUG(5,("function lsa_CREDRPROFILELOADED replied async\n"));
    2428             :                 }
    2429           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2430           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRPROFILELOADED, NDR_OUT | NDR_SET_VALUES, r2);
    2431             :                 }
    2432           0 :                 if (dce_call->fault_code != 0) {
    2433           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CREDRPROFILELOADED\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2434             :                 }
    2435           0 :                 break;
    2436             :         }
    2437           6 :         case 68: {
    2438           6 :                 struct lsa_LookupNames3 *r2 = (struct lsa_LookupNames3 *)r;
    2439           6 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2440           0 :                         DEBUG(5,("function lsa_LookupNames3 replied async\n"));
    2441             :                 }
    2442           6 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2443           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupNames3, NDR_OUT | NDR_SET_VALUES, r2);
    2444             :                 }
    2445           6 :                 if (dce_call->fault_code != 0) {
    2446           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LookupNames3\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2447             :                 }
    2448           6 :                 break;
    2449             :         }
    2450           0 :         case 69: {
    2451           0 :                 struct lsa_CREDRGETSESSIONTYPES *r2 = (struct lsa_CREDRGETSESSIONTYPES *)r;
    2452           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2453           0 :                         DEBUG(5,("function lsa_CREDRGETSESSIONTYPES replied async\n"));
    2454             :                 }
    2455           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2456           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRGETSESSIONTYPES, NDR_OUT | NDR_SET_VALUES, r2);
    2457             :                 }
    2458           0 :                 if (dce_call->fault_code != 0) {
    2459           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CREDRGETSESSIONTYPES\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2460             :                 }
    2461           0 :                 break;
    2462             :         }
    2463           0 :         case 70: {
    2464           0 :                 struct lsa_LSARREGISTERAUDITEVENT *r2 = (struct lsa_LSARREGISTERAUDITEVENT *)r;
    2465           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2466           0 :                         DEBUG(5,("function lsa_LSARREGISTERAUDITEVENT replied async\n"));
    2467             :                 }
    2468           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2469           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARREGISTERAUDITEVENT, NDR_OUT | NDR_SET_VALUES, r2);
    2470             :                 }
    2471           0 :                 if (dce_call->fault_code != 0) {
    2472           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LSARREGISTERAUDITEVENT\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2473             :                 }
    2474           0 :                 break;
    2475             :         }
    2476           0 :         case 71: {
    2477           0 :                 struct lsa_LSARGENAUDITEVENT *r2 = (struct lsa_LSARGENAUDITEVENT *)r;
    2478           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2479           0 :                         DEBUG(5,("function lsa_LSARGENAUDITEVENT replied async\n"));
    2480             :                 }
    2481           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2482           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARGENAUDITEVENT, NDR_OUT | NDR_SET_VALUES, r2);
    2483             :                 }
    2484           0 :                 if (dce_call->fault_code != 0) {
    2485           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LSARGENAUDITEVENT\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2486             :                 }
    2487           0 :                 break;
    2488             :         }
    2489           0 :         case 72: {
    2490           0 :                 struct lsa_LSARUNREGISTERAUDITEVENT *r2 = (struct lsa_LSARUNREGISTERAUDITEVENT *)r;
    2491           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2492           0 :                         DEBUG(5,("function lsa_LSARUNREGISTERAUDITEVENT replied async\n"));
    2493             :                 }
    2494           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2495           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, NDR_OUT | NDR_SET_VALUES, r2);
    2496             :                 }
    2497           0 :                 if (dce_call->fault_code != 0) {
    2498           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LSARUNREGISTERAUDITEVENT\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2499             :                 }
    2500           0 :                 break;
    2501             :         }
    2502         164 :         case 73: {
    2503         164 :                 struct lsa_lsaRQueryForestTrustInformation *r2 = (struct lsa_lsaRQueryForestTrustInformation *)r;
    2504         164 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2505           0 :                         DEBUG(5,("function lsa_lsaRQueryForestTrustInformation replied async\n"));
    2506             :                 }
    2507         164 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2508           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_lsaRQueryForestTrustInformation, NDR_OUT | NDR_SET_VALUES, r2);
    2509             :                 }
    2510         164 :                 if (dce_call->fault_code != 0) {
    2511           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_lsaRQueryForestTrustInformation\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2512             :                 }
    2513         164 :                 break;
    2514             :         }
    2515          87 :         case 74: {
    2516          87 :                 struct lsa_lsaRSetForestTrustInformation *r2 = (struct lsa_lsaRSetForestTrustInformation *)r;
    2517          87 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2518           0 :                         DEBUG(5,("function lsa_lsaRSetForestTrustInformation replied async\n"));
    2519             :                 }
    2520          87 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2521           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_lsaRSetForestTrustInformation, NDR_OUT | NDR_SET_VALUES, r2);
    2522             :                 }
    2523          87 :                 if (dce_call->fault_code != 0) {
    2524           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_lsaRSetForestTrustInformation\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2525             :                 }
    2526          87 :                 break;
    2527             :         }
    2528           0 :         case 75: {
    2529           0 :                 struct lsa_CREDRRENAME *r2 = (struct lsa_CREDRRENAME *)r;
    2530           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2531           0 :                         DEBUG(5,("function lsa_CREDRRENAME replied async\n"));
    2532             :                 }
    2533           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2534           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CREDRRENAME, NDR_OUT | NDR_SET_VALUES, r2);
    2535             :                 }
    2536           0 :                 if (dce_call->fault_code != 0) {
    2537           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CREDRRENAME\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2538             :                 }
    2539           0 :                 break;
    2540             :         }
    2541        1416 :         case 76: {
    2542        1416 :                 struct lsa_LookupSids3 *r2 = (struct lsa_LookupSids3 *)r;
    2543        1416 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2544          20 :                         DEBUG(5,("function lsa_LookupSids3 replied async\n"));
    2545             :                 }
    2546        1416 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2547           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupSids3, NDR_OUT | NDR_SET_VALUES, r2);
    2548             :                 }
    2549        1416 :                 if (dce_call->fault_code != 0) {
    2550           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LookupSids3\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2551             :                 }
    2552        1368 :                 break;
    2553             :         }
    2554         821 :         case 77: {
    2555         821 :                 struct lsa_LookupNames4 *r2 = (struct lsa_LookupNames4 *)r;
    2556         821 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2557          36 :                         DEBUG(5,("function lsa_LookupNames4 replied async\n"));
    2558             :                 }
    2559         821 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2560           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LookupNames4, NDR_OUT | NDR_SET_VALUES, r2);
    2561             :                 }
    2562         821 :                 if (dce_call->fault_code != 0) {
    2563          16 :                         DEBUG(2,("dcerpc_fault %s in lsa_LookupNames4\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2564             :                 }
    2565         725 :                 break;
    2566             :         }
    2567           0 :         case 78: {
    2568           0 :                 struct lsa_LSAROPENPOLICYSCE *r2 = (struct lsa_LSAROPENPOLICYSCE *)r;
    2569           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2570           0 :                         DEBUG(5,("function lsa_LSAROPENPOLICYSCE replied async\n"));
    2571             :                 }
    2572           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2573           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSAROPENPOLICYSCE, NDR_OUT | NDR_SET_VALUES, r2);
    2574             :                 }
    2575           0 :                 if (dce_call->fault_code != 0) {
    2576           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LSAROPENPOLICYSCE\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2577             :                 }
    2578           0 :                 break;
    2579             :         }
    2580           0 :         case 79: {
    2581           0 :                 struct lsa_LSARADTREGISTERSECURITYEVENTSOURCE *r2 = (struct lsa_LSARADTREGISTERSECURITYEVENTSOURCE *)r;
    2582           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2583           0 :                         DEBUG(5,("function lsa_LSARADTREGISTERSECURITYEVENTSOURCE replied async\n"));
    2584             :                 }
    2585           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2586           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, NDR_OUT | NDR_SET_VALUES, r2);
    2587             :                 }
    2588           0 :                 if (dce_call->fault_code != 0) {
    2589           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LSARADTREGISTERSECURITYEVENTSOURCE\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2590             :                 }
    2591           0 :                 break;
    2592             :         }
    2593           0 :         case 80: {
    2594           0 :                 struct lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE *r2 = (struct lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE *)r;
    2595           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2596           0 :                         DEBUG(5,("function lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE replied async\n"));
    2597             :                 }
    2598           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2599           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, NDR_OUT | NDR_SET_VALUES, r2);
    2600             :                 }
    2601           0 :                 if (dce_call->fault_code != 0) {
    2602           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2603             :                 }
    2604           0 :                 break;
    2605             :         }
    2606           0 :         case 81: {
    2607           0 :                 struct lsa_LSARADTREPORTSECURITYEVENT *r2 = (struct lsa_LSARADTREPORTSECURITYEVENT *)r;
    2608           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2609           0 :                         DEBUG(5,("function lsa_LSARADTREPORTSECURITYEVENT replied async\n"));
    2610             :                 }
    2611           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2612           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, NDR_OUT | NDR_SET_VALUES, r2);
    2613             :                 }
    2614           0 :                 if (dce_call->fault_code != 0) {
    2615           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_LSARADTREPORTSECURITYEVENT\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2616             :                 }
    2617           0 :                 break;
    2618             :         }
    2619           0 :         case 82: {
    2620           0 :                 struct lsa_Opnum82NotUsedOnWire *r2 = (struct lsa_Opnum82NotUsedOnWire *)r;
    2621           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2622           0 :                         DEBUG(5,("function lsa_Opnum82NotUsedOnWire replied async\n"));
    2623             :                 }
    2624           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2625           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum82NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2626             :                 }
    2627           0 :                 if (dce_call->fault_code != 0) {
    2628           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum82NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2629             :                 }
    2630           0 :                 break;
    2631             :         }
    2632           0 :         case 83: {
    2633           0 :                 struct lsa_Opnum83NotUsedOnWire *r2 = (struct lsa_Opnum83NotUsedOnWire *)r;
    2634           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2635           0 :                         DEBUG(5,("function lsa_Opnum83NotUsedOnWire replied async\n"));
    2636             :                 }
    2637           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2638           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum83NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2639             :                 }
    2640           0 :                 if (dce_call->fault_code != 0) {
    2641           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum83NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2642             :                 }
    2643           0 :                 break;
    2644             :         }
    2645           0 :         case 84: {
    2646           0 :                 struct lsa_Opnum84NotUsedOnWire *r2 = (struct lsa_Opnum84NotUsedOnWire *)r;
    2647           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2648           0 :                         DEBUG(5,("function lsa_Opnum84NotUsedOnWire replied async\n"));
    2649             :                 }
    2650           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2651           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum84NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2652             :                 }
    2653           0 :                 if (dce_call->fault_code != 0) {
    2654           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum84NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2655             :                 }
    2656           0 :                 break;
    2657             :         }
    2658           0 :         case 85: {
    2659           0 :                 struct lsa_Opnum85NotUsedOnWire *r2 = (struct lsa_Opnum85NotUsedOnWire *)r;
    2660           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2661           0 :                         DEBUG(5,("function lsa_Opnum85NotUsedOnWire replied async\n"));
    2662             :                 }
    2663           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2664           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum85NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2665             :                 }
    2666           0 :                 if (dce_call->fault_code != 0) {
    2667           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum85NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2668             :                 }
    2669           0 :                 break;
    2670             :         }
    2671           0 :         case 86: {
    2672           0 :                 struct lsa_Opnum86NotUsedOnWire *r2 = (struct lsa_Opnum86NotUsedOnWire *)r;
    2673           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2674           0 :                         DEBUG(5,("function lsa_Opnum86NotUsedOnWire replied async\n"));
    2675             :                 }
    2676           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2677           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum86NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2678             :                 }
    2679           0 :                 if (dce_call->fault_code != 0) {
    2680           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum86NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2681             :                 }
    2682           0 :                 break;
    2683             :         }
    2684           0 :         case 87: {
    2685           0 :                 struct lsa_Opnum87NotUsedOnWire *r2 = (struct lsa_Opnum87NotUsedOnWire *)r;
    2686           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2687           0 :                         DEBUG(5,("function lsa_Opnum87NotUsedOnWire replied async\n"));
    2688             :                 }
    2689           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2690           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum87NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2691             :                 }
    2692           0 :                 if (dce_call->fault_code != 0) {
    2693           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum87NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2694             :                 }
    2695           0 :                 break;
    2696             :         }
    2697           0 :         case 88: {
    2698           0 :                 struct lsa_Opnum88NotUsedOnWire *r2 = (struct lsa_Opnum88NotUsedOnWire *)r;
    2699           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2700           0 :                         DEBUG(5,("function lsa_Opnum88NotUsedOnWire replied async\n"));
    2701             :                 }
    2702           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2703           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum88NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2704             :                 }
    2705           0 :                 if (dce_call->fault_code != 0) {
    2706           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum88NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2707             :                 }
    2708           0 :                 break;
    2709             :         }
    2710           0 :         case 89: {
    2711           0 :                 struct lsa_Opnum89NotUsedOnWire *r2 = (struct lsa_Opnum89NotUsedOnWire *)r;
    2712           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2713           0 :                         DEBUG(5,("function lsa_Opnum89NotUsedOnWire replied async\n"));
    2714             :                 }
    2715           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2716           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum89NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2717             :                 }
    2718           0 :                 if (dce_call->fault_code != 0) {
    2719           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum89NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2720             :                 }
    2721           0 :                 break;
    2722             :         }
    2723           0 :         case 90: {
    2724           0 :                 struct lsa_Opnum90NotUsedOnWire *r2 = (struct lsa_Opnum90NotUsedOnWire *)r;
    2725           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2726           0 :                         DEBUG(5,("function lsa_Opnum90NotUsedOnWire replied async\n"));
    2727             :                 }
    2728           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2729           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum90NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2730             :                 }
    2731           0 :                 if (dce_call->fault_code != 0) {
    2732           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum90NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2733             :                 }
    2734           0 :                 break;
    2735             :         }
    2736           0 :         case 91: {
    2737           0 :                 struct lsa_Opnum91NotUsedOnWire *r2 = (struct lsa_Opnum91NotUsedOnWire *)r;
    2738           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2739           0 :                         DEBUG(5,("function lsa_Opnum91NotUsedOnWire replied async\n"));
    2740             :                 }
    2741           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2742           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum91NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2743             :                 }
    2744           0 :                 if (dce_call->fault_code != 0) {
    2745           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum91NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2746             :                 }
    2747           0 :                 break;
    2748             :         }
    2749           0 :         case 92: {
    2750           0 :                 struct lsa_Opnum92NotUsedOnWire *r2 = (struct lsa_Opnum92NotUsedOnWire *)r;
    2751           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2752           0 :                         DEBUG(5,("function lsa_Opnum92NotUsedOnWire replied async\n"));
    2753             :                 }
    2754           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2755           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum92NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2756             :                 }
    2757           0 :                 if (dce_call->fault_code != 0) {
    2758           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum92NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2759             :                 }
    2760           0 :                 break;
    2761             :         }
    2762           0 :         case 93: {
    2763           0 :                 struct lsa_Opnum93NotUsedOnWire *r2 = (struct lsa_Opnum93NotUsedOnWire *)r;
    2764           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2765           0 :                         DEBUG(5,("function lsa_Opnum93NotUsedOnWire replied async\n"));
    2766             :                 }
    2767           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2768           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum93NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2769             :                 }
    2770           0 :                 if (dce_call->fault_code != 0) {
    2771           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum93NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2772             :                 }
    2773           0 :                 break;
    2774             :         }
    2775           0 :         case 94: {
    2776           0 :                 struct lsa_Opnum94NotUsedOnWire *r2 = (struct lsa_Opnum94NotUsedOnWire *)r;
    2777           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2778           0 :                         DEBUG(5,("function lsa_Opnum94NotUsedOnWire replied async\n"));
    2779             :                 }
    2780           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2781           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum94NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2782             :                 }
    2783           0 :                 if (dce_call->fault_code != 0) {
    2784           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum94NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2785             :                 }
    2786           0 :                 break;
    2787             :         }
    2788           0 :         case 95: {
    2789           0 :                 struct lsa_Opnum95NotUsedOnWire *r2 = (struct lsa_Opnum95NotUsedOnWire *)r;
    2790           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2791           0 :                         DEBUG(5,("function lsa_Opnum95NotUsedOnWire replied async\n"));
    2792             :                 }
    2793           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2794           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum95NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2795             :                 }
    2796           0 :                 if (dce_call->fault_code != 0) {
    2797           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum95NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2798             :                 }
    2799           0 :                 break;
    2800             :         }
    2801           0 :         case 96: {
    2802           0 :                 struct lsa_Opnum96NotUsedOnWire *r2 = (struct lsa_Opnum96NotUsedOnWire *)r;
    2803           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2804           0 :                         DEBUG(5,("function lsa_Opnum96NotUsedOnWire replied async\n"));
    2805             :                 }
    2806           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2807           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum96NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2808             :                 }
    2809           0 :                 if (dce_call->fault_code != 0) {
    2810           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum96NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2811             :                 }
    2812           0 :                 break;
    2813             :         }
    2814           0 :         case 97: {
    2815           0 :                 struct lsa_Opnum97NotUsedOnWire *r2 = (struct lsa_Opnum97NotUsedOnWire *)r;
    2816           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2817           0 :                         DEBUG(5,("function lsa_Opnum97NotUsedOnWire replied async\n"));
    2818             :                 }
    2819           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2820           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum97NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2821             :                 }
    2822           0 :                 if (dce_call->fault_code != 0) {
    2823           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum97NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2824             :                 }
    2825           0 :                 break;
    2826             :         }
    2827           0 :         case 98: {
    2828           0 :                 struct lsa_Opnum98NotUsedOnWire *r2 = (struct lsa_Opnum98NotUsedOnWire *)r;
    2829           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2830           0 :                         DEBUG(5,("function lsa_Opnum98NotUsedOnWire replied async\n"));
    2831             :                 }
    2832           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2833           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum98NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2834             :                 }
    2835           0 :                 if (dce_call->fault_code != 0) {
    2836           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum98NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2837             :                 }
    2838           0 :                 break;
    2839             :         }
    2840           0 :         case 99: {
    2841           0 :                 struct lsa_Opnum99NotUsedOnWire *r2 = (struct lsa_Opnum99NotUsedOnWire *)r;
    2842           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2843           0 :                         DEBUG(5,("function lsa_Opnum99NotUsedOnWire replied async\n"));
    2844             :                 }
    2845           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2846           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum99NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2847             :                 }
    2848           0 :                 if (dce_call->fault_code != 0) {
    2849           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum99NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2850             :                 }
    2851           0 :                 break;
    2852             :         }
    2853           0 :         case 100: {
    2854           0 :                 struct lsa_Opnum100NotUsedOnWire *r2 = (struct lsa_Opnum100NotUsedOnWire *)r;
    2855           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2856           0 :                         DEBUG(5,("function lsa_Opnum100NotUsedOnWire replied async\n"));
    2857             :                 }
    2858           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2859           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum100NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2860             :                 }
    2861           0 :                 if (dce_call->fault_code != 0) {
    2862           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum100NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2863             :                 }
    2864           0 :                 break;
    2865             :         }
    2866           0 :         case 101: {
    2867           0 :                 struct lsa_Opnum101NotUsedOnWire *r2 = (struct lsa_Opnum101NotUsedOnWire *)r;
    2868           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2869           0 :                         DEBUG(5,("function lsa_Opnum101NotUsedOnWire replied async\n"));
    2870             :                 }
    2871           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2872           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum101NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2873             :                 }
    2874           0 :                 if (dce_call->fault_code != 0) {
    2875           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum101NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2876             :                 }
    2877           0 :                 break;
    2878             :         }
    2879           0 :         case 102: {
    2880           0 :                 struct lsa_Opnum102NotUsedOnWire *r2 = (struct lsa_Opnum102NotUsedOnWire *)r;
    2881           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2882           0 :                         DEBUG(5,("function lsa_Opnum102NotUsedOnWire replied async\n"));
    2883             :                 }
    2884           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2885           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum102NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2886             :                 }
    2887           0 :                 if (dce_call->fault_code != 0) {
    2888           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum102NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2889             :                 }
    2890           0 :                 break;
    2891             :         }
    2892           0 :         case 103: {
    2893           0 :                 struct lsa_Opnum103NotUsedOnWire *r2 = (struct lsa_Opnum103NotUsedOnWire *)r;
    2894           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2895           0 :                         DEBUG(5,("function lsa_Opnum103NotUsedOnWire replied async\n"));
    2896             :                 }
    2897           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2898           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum103NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2899             :                 }
    2900           0 :                 if (dce_call->fault_code != 0) {
    2901           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum103NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2902             :                 }
    2903           0 :                 break;
    2904             :         }
    2905           0 :         case 104: {
    2906           0 :                 struct lsa_Opnum104NotUsedOnWire *r2 = (struct lsa_Opnum104NotUsedOnWire *)r;
    2907           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2908           0 :                         DEBUG(5,("function lsa_Opnum104NotUsedOnWire replied async\n"));
    2909             :                 }
    2910           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2911           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum104NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2912             :                 }
    2913           0 :                 if (dce_call->fault_code != 0) {
    2914           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum104NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2915             :                 }
    2916           0 :                 break;
    2917             :         }
    2918           0 :         case 105: {
    2919           0 :                 struct lsa_Opnum105NotUsedOnWire *r2 = (struct lsa_Opnum105NotUsedOnWire *)r;
    2920           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2921           0 :                         DEBUG(5,("function lsa_Opnum105NotUsedOnWire replied async\n"));
    2922             :                 }
    2923           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2924           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum105NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2925             :                 }
    2926           0 :                 if (dce_call->fault_code != 0) {
    2927           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum105NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2928             :                 }
    2929           0 :                 break;
    2930             :         }
    2931           0 :         case 106: {
    2932           0 :                 struct lsa_Opnum106NotUsedOnWire *r2 = (struct lsa_Opnum106NotUsedOnWire *)r;
    2933           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2934           0 :                         DEBUG(5,("function lsa_Opnum106NotUsedOnWire replied async\n"));
    2935             :                 }
    2936           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2937           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum106NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2938             :                 }
    2939           0 :                 if (dce_call->fault_code != 0) {
    2940           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum106NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2941             :                 }
    2942           0 :                 break;
    2943             :         }
    2944           0 :         case 107: {
    2945           0 :                 struct lsa_Opnum107NotUsedOnWire *r2 = (struct lsa_Opnum107NotUsedOnWire *)r;
    2946           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2947           0 :                         DEBUG(5,("function lsa_Opnum107NotUsedOnWire replied async\n"));
    2948             :                 }
    2949           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2950           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum107NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2951             :                 }
    2952           0 :                 if (dce_call->fault_code != 0) {
    2953           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum107NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2954             :                 }
    2955           0 :                 break;
    2956             :         }
    2957           0 :         case 108: {
    2958           0 :                 struct lsa_Opnum108NotUsedOnWire *r2 = (struct lsa_Opnum108NotUsedOnWire *)r;
    2959           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2960           0 :                         DEBUG(5,("function lsa_Opnum108NotUsedOnWire replied async\n"));
    2961             :                 }
    2962           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2963           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum108NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2964             :                 }
    2965           0 :                 if (dce_call->fault_code != 0) {
    2966           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum108NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2967             :                 }
    2968           0 :                 break;
    2969             :         }
    2970           0 :         case 109: {
    2971           0 :                 struct lsa_Opnum109NotUsedOnWire *r2 = (struct lsa_Opnum109NotUsedOnWire *)r;
    2972           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2973           0 :                         DEBUG(5,("function lsa_Opnum109NotUsedOnWire replied async\n"));
    2974             :                 }
    2975           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2976           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum109NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2977             :                 }
    2978           0 :                 if (dce_call->fault_code != 0) {
    2979           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum109NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2980             :                 }
    2981           0 :                 break;
    2982             :         }
    2983           0 :         case 110: {
    2984           0 :                 struct lsa_Opnum110NotUsedOnWire *r2 = (struct lsa_Opnum110NotUsedOnWire *)r;
    2985           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2986           0 :                         DEBUG(5,("function lsa_Opnum110NotUsedOnWire replied async\n"));
    2987             :                 }
    2988           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    2989           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum110NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    2990             :                 }
    2991           0 :                 if (dce_call->fault_code != 0) {
    2992           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum110NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    2993             :                 }
    2994           0 :                 break;
    2995             :         }
    2996           0 :         case 111: {
    2997           0 :                 struct lsa_Opnum111NotUsedOnWire *r2 = (struct lsa_Opnum111NotUsedOnWire *)r;
    2998           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    2999           0 :                         DEBUG(5,("function lsa_Opnum111NotUsedOnWire replied async\n"));
    3000             :                 }
    3001           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3002           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum111NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3003             :                 }
    3004           0 :                 if (dce_call->fault_code != 0) {
    3005           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum111NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3006             :                 }
    3007           0 :                 break;
    3008             :         }
    3009           0 :         case 112: {
    3010           0 :                 struct lsa_Opnum112NotUsedOnWire *r2 = (struct lsa_Opnum112NotUsedOnWire *)r;
    3011           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3012           0 :                         DEBUG(5,("function lsa_Opnum112NotUsedOnWire replied async\n"));
    3013             :                 }
    3014           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3015           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum112NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3016             :                 }
    3017           0 :                 if (dce_call->fault_code != 0) {
    3018           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum112NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3019             :                 }
    3020           0 :                 break;
    3021             :         }
    3022           0 :         case 113: {
    3023           0 :                 struct lsa_Opnum113NotUsedOnWire *r2 = (struct lsa_Opnum113NotUsedOnWire *)r;
    3024           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3025           0 :                         DEBUG(5,("function lsa_Opnum113NotUsedOnWire replied async\n"));
    3026             :                 }
    3027           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3028           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum113NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3029             :                 }
    3030           0 :                 if (dce_call->fault_code != 0) {
    3031           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum113NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3032             :                 }
    3033           0 :                 break;
    3034             :         }
    3035           0 :         case 114: {
    3036           0 :                 struct lsa_Opnum114NotUsedOnWire *r2 = (struct lsa_Opnum114NotUsedOnWire *)r;
    3037           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3038           0 :                         DEBUG(5,("function lsa_Opnum114NotUsedOnWire replied async\n"));
    3039             :                 }
    3040           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3041           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum114NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3042             :                 }
    3043           0 :                 if (dce_call->fault_code != 0) {
    3044           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum114NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3045             :                 }
    3046           0 :                 break;
    3047             :         }
    3048           0 :         case 115: {
    3049           0 :                 struct lsa_Opnum115NotUsedOnWire *r2 = (struct lsa_Opnum115NotUsedOnWire *)r;
    3050           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3051           0 :                         DEBUG(5,("function lsa_Opnum115NotUsedOnWire replied async\n"));
    3052             :                 }
    3053           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3054           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum115NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3055             :                 }
    3056           0 :                 if (dce_call->fault_code != 0) {
    3057           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum115NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3058             :                 }
    3059           0 :                 break;
    3060             :         }
    3061           0 :         case 116: {
    3062           0 :                 struct lsa_Opnum116NotUsedOnWire *r2 = (struct lsa_Opnum116NotUsedOnWire *)r;
    3063           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3064           0 :                         DEBUG(5,("function lsa_Opnum116NotUsedOnWire replied async\n"));
    3065             :                 }
    3066           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3067           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum116NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3068             :                 }
    3069           0 :                 if (dce_call->fault_code != 0) {
    3070           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum116NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3071             :                 }
    3072           0 :                 break;
    3073             :         }
    3074           0 :         case 117: {
    3075           0 :                 struct lsa_Opnum117NotUsedOnWire *r2 = (struct lsa_Opnum117NotUsedOnWire *)r;
    3076           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3077           0 :                         DEBUG(5,("function lsa_Opnum117NotUsedOnWire replied async\n"));
    3078             :                 }
    3079           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3080           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum117NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3081             :                 }
    3082           0 :                 if (dce_call->fault_code != 0) {
    3083           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum117NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3084             :                 }
    3085           0 :                 break;
    3086             :         }
    3087           0 :         case 118: {
    3088           0 :                 struct lsa_Opnum118NotUsedOnWire *r2 = (struct lsa_Opnum118NotUsedOnWire *)r;
    3089           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3090           0 :                         DEBUG(5,("function lsa_Opnum118NotUsedOnWire replied async\n"));
    3091             :                 }
    3092           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3093           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum118NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3094             :                 }
    3095           0 :                 if (dce_call->fault_code != 0) {
    3096           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum118NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3097             :                 }
    3098           0 :                 break;
    3099             :         }
    3100           0 :         case 119: {
    3101           0 :                 struct lsa_Opnum119NotUsedOnWire *r2 = (struct lsa_Opnum119NotUsedOnWire *)r;
    3102           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3103           0 :                         DEBUG(5,("function lsa_Opnum119NotUsedOnWire replied async\n"));
    3104             :                 }
    3105           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3106           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum119NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3107             :                 }
    3108           0 :                 if (dce_call->fault_code != 0) {
    3109           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum119NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3110             :                 }
    3111           0 :                 break;
    3112             :         }
    3113           0 :         case 120: {
    3114           0 :                 struct lsa_Opnum120NotUsedOnWire *r2 = (struct lsa_Opnum120NotUsedOnWire *)r;
    3115           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3116           0 :                         DEBUG(5,("function lsa_Opnum120NotUsedOnWire replied async\n"));
    3117             :                 }
    3118           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3119           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum120NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3120             :                 }
    3121           0 :                 if (dce_call->fault_code != 0) {
    3122           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum120NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3123             :                 }
    3124           0 :                 break;
    3125             :         }
    3126           0 :         case 121: {
    3127           0 :                 struct lsa_Opnum121NotUsedOnWire *r2 = (struct lsa_Opnum121NotUsedOnWire *)r;
    3128           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3129           0 :                         DEBUG(5,("function lsa_Opnum121NotUsedOnWire replied async\n"));
    3130             :                 }
    3131           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3132           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum121NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3133             :                 }
    3134           0 :                 if (dce_call->fault_code != 0) {
    3135           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum121NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3136             :                 }
    3137           0 :                 break;
    3138             :         }
    3139           0 :         case 122: {
    3140           0 :                 struct lsa_Opnum122NotUsedOnWire *r2 = (struct lsa_Opnum122NotUsedOnWire *)r;
    3141           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3142           0 :                         DEBUG(5,("function lsa_Opnum122NotUsedOnWire replied async\n"));
    3143             :                 }
    3144           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3145           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum122NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3146             :                 }
    3147           0 :                 if (dce_call->fault_code != 0) {
    3148           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum122NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3149             :                 }
    3150           0 :                 break;
    3151             :         }
    3152           0 :         case 123: {
    3153           0 :                 struct lsa_Opnum123NotUsedOnWire *r2 = (struct lsa_Opnum123NotUsedOnWire *)r;
    3154           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3155           0 :                         DEBUG(5,("function lsa_Opnum123NotUsedOnWire replied async\n"));
    3156             :                 }
    3157           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3158           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum123NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3159             :                 }
    3160           0 :                 if (dce_call->fault_code != 0) {
    3161           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum123NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3162             :                 }
    3163           0 :                 break;
    3164             :         }
    3165           0 :         case 124: {
    3166           0 :                 struct lsa_Opnum124NotUsedOnWire *r2 = (struct lsa_Opnum124NotUsedOnWire *)r;
    3167           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3168           0 :                         DEBUG(5,("function lsa_Opnum124NotUsedOnWire replied async\n"));
    3169             :                 }
    3170           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3171           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum124NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3172             :                 }
    3173           0 :                 if (dce_call->fault_code != 0) {
    3174           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum124NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3175             :                 }
    3176           0 :                 break;
    3177             :         }
    3178           0 :         case 125: {
    3179           0 :                 struct lsa_Opnum125NotUsedOnWire *r2 = (struct lsa_Opnum125NotUsedOnWire *)r;
    3180           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3181           0 :                         DEBUG(5,("function lsa_Opnum125NotUsedOnWire replied async\n"));
    3182             :                 }
    3183           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3184           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum125NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3185             :                 }
    3186           0 :                 if (dce_call->fault_code != 0) {
    3187           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum125NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3188             :                 }
    3189           0 :                 break;
    3190             :         }
    3191           0 :         case 126: {
    3192           0 :                 struct lsa_Opnum126NotUsedOnWire *r2 = (struct lsa_Opnum126NotUsedOnWire *)r;
    3193           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3194           0 :                         DEBUG(5,("function lsa_Opnum126NotUsedOnWire replied async\n"));
    3195             :                 }
    3196           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3197           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum126NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3198             :                 }
    3199           0 :                 if (dce_call->fault_code != 0) {
    3200           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum126NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3201             :                 }
    3202           0 :                 break;
    3203             :         }
    3204           0 :         case 127: {
    3205           0 :                 struct lsa_Opnum127NotUsedOnWire *r2 = (struct lsa_Opnum127NotUsedOnWire *)r;
    3206           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3207           0 :                         DEBUG(5,("function lsa_Opnum127NotUsedOnWire replied async\n"));
    3208             :                 }
    3209           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3210           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum127NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3211             :                 }
    3212           0 :                 if (dce_call->fault_code != 0) {
    3213           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum127NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3214             :                 }
    3215           0 :                 break;
    3216             :         }
    3217           0 :         case 128: {
    3218           0 :                 struct lsa_Opnum128NotUsedOnWire *r2 = (struct lsa_Opnum128NotUsedOnWire *)r;
    3219           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3220           0 :                         DEBUG(5,("function lsa_Opnum128NotUsedOnWire replied async\n"));
    3221             :                 }
    3222           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3223           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum128NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3224             :                 }
    3225           0 :                 if (dce_call->fault_code != 0) {
    3226           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum128NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3227             :                 }
    3228           0 :                 break;
    3229             :         }
    3230          59 :         case 129: {
    3231          59 :                 struct lsa_CreateTrustedDomainEx3 *r2 = (struct lsa_CreateTrustedDomainEx3 *)r;
    3232          59 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3233           0 :                         DEBUG(5,("function lsa_CreateTrustedDomainEx3 replied async\n"));
    3234             :                 }
    3235          59 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3236           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_CreateTrustedDomainEx3, NDR_OUT | NDR_SET_VALUES, r2);
    3237             :                 }
    3238          59 :                 if (dce_call->fault_code != 0) {
    3239           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_CreateTrustedDomainEx3\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3240             :                 }
    3241          59 :                 break;
    3242             :         }
    3243         297 :         case 130: {
    3244         297 :                 struct lsa_OpenPolicy3 *r2 = (struct lsa_OpenPolicy3 *)r;
    3245         297 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3246           0 :                         DEBUG(5,("function lsa_OpenPolicy3 replied async\n"));
    3247             :                 }
    3248         297 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3249           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_OpenPolicy3, NDR_OUT | NDR_SET_VALUES, r2);
    3250             :                 }
    3251         297 :                 if (dce_call->fault_code != 0) {
    3252           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_OpenPolicy3\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3253             :                 }
    3254         295 :                 break;
    3255             :         }
    3256           0 :         case 131: {
    3257           0 :                 struct lsa_Opnum131NotUsedOnWire *r2 = (struct lsa_Opnum131NotUsedOnWire *)r;
    3258           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3259           0 :                         DEBUG(5,("function lsa_Opnum131NotUsedOnWire replied async\n"));
    3260             :                 }
    3261           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3262           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_Opnum131NotUsedOnWire, NDR_OUT | NDR_SET_VALUES, r2);
    3263             :                 }
    3264           0 :                 if (dce_call->fault_code != 0) {
    3265           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_Opnum131NotUsedOnWire\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3266             :                 }
    3267           0 :                 break;
    3268             :         }
    3269           0 :         case 132: {
    3270           0 :                 struct lsa_lsaRQueryForestTrustInformation2 *r2 = (struct lsa_lsaRQueryForestTrustInformation2 *)r;
    3271           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3272           0 :                         DEBUG(5,("function lsa_lsaRQueryForestTrustInformation2 replied async\n"));
    3273             :                 }
    3274           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3275           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_lsaRQueryForestTrustInformation2, NDR_OUT | NDR_SET_VALUES, r2);
    3276             :                 }
    3277           0 :                 if (dce_call->fault_code != 0) {
    3278           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_lsaRQueryForestTrustInformation2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3279             :                 }
    3280           0 :                 break;
    3281             :         }
    3282           0 :         case 133: {
    3283           0 :                 struct lsa_lsaRSetForestTrustInformation2 *r2 = (struct lsa_lsaRSetForestTrustInformation2 *)r;
    3284           0 :                 if (dce_call->state_flags & DCESRV_CALL_STATE_FLAG_ASYNC) {
    3285           0 :                         DEBUG(5,("function lsa_lsaRSetForestTrustInformation2 replied async\n"));
    3286             :                 }
    3287           0 :                 if (DEBUGLEVEL >= 10 && dce_call->fault_code == 0) {
    3288           0 :                         NDR_PRINT_FUNCTION_DEBUG(lsa_lsaRSetForestTrustInformation2, NDR_OUT | NDR_SET_VALUES, r2);
    3289             :                 }
    3290           0 :                 if (dce_call->fault_code != 0) {
    3291           0 :                         DEBUG(2,("dcerpc_fault %s in lsa_lsaRSetForestTrustInformation2\n", dcerpc_errstr(mem_ctx, dce_call->fault_code)));
    3292             :                 }
    3293           0 :                 break;
    3294             :         }
    3295             : 
    3296           0 :         default:
    3297           0 :                 dce_call->fault_code = DCERPC_FAULT_OP_RNG_ERROR;
    3298           0 :                 break;
    3299             :         }
    3300             : 
    3301       26527 :         if (dce_call->fault_code != 0) {
    3302          16 :                 return NT_STATUS_NET_WRITE_FAULT;
    3303             :         }
    3304             : 
    3305       26511 :         return NT_STATUS_OK;
    3306             : }
    3307             : 
    3308       26511 : static NTSTATUS lsarpc__op_ndr_push(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx, struct ndr_push *push, const void *r)
    3309             : {
    3310         461 :         enum ndr_err_code ndr_err;
    3311       26511 :         uint16_t opnum = dce_call->pkt.u.request.opnum;
    3312             : 
    3313       26511 :         ndr_err = ndr_table_lsarpc.calls[opnum].ndr_push(push, NDR_OUT, r);
    3314       26511 :         if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
    3315           0 :                 dce_call->fault_code = DCERPC_FAULT_NDR;
    3316           0 :                 return NT_STATUS_NET_WRITE_FAULT;
    3317             :         }
    3318             : 
    3319       26511 :         return NT_STATUS_OK;
    3320             : }
    3321             : 
    3322             : static const struct dcesrv_interface dcesrv_lsarpc_interface = {
    3323             :         .name               = "lsarpc",
    3324             :         .syntax_id          = {{0x12345778,0x1234,0xabcd,{0xef,0x00},{0x01,0x23,0x45,0x67,0x89,0xab}},0.0},
    3325             :         .bind               = lsarpc__op_bind,
    3326             :         .unbind             = lsarpc__op_unbind,
    3327             :         .ndr_pull           = lsarpc__op_ndr_pull,
    3328             :         .dispatch           = lsarpc__op_dispatch,
    3329             :         .reply              = lsarpc__op_reply,
    3330             :         .ndr_push           = lsarpc__op_ndr_push,
    3331             :         .local              = NULL,
    3332             : #ifdef DCESRV_INTERFACE_LSARPC_FLAGS
    3333             :         .flags              = DCESRV_INTERFACE_LSARPC_FLAGS
    3334             : #else
    3335             :         .flags              = 0
    3336             : #endif
    3337             : };
    3338             : 
    3339             : 
    3340          64 : static NTSTATUS lsarpc__op_init_server(struct dcesrv_context *dce_ctx, const struct dcesrv_endpoint_server *ep_server)
    3341             : {
    3342           2 :         int i;
    3343             : #ifdef DCESRV_INTERFACE_LSARPC_NCACN_NP_SECONDARY_ENDPOINT
    3344          64 :         const char *ncacn_np_secondary_endpoint =
    3345             :                 DCESRV_INTERFACE_LSARPC_NCACN_NP_SECONDARY_ENDPOINT;
    3346             : #else
    3347             :         const char *ncacn_np_secondary_endpoint = NULL;
    3348             : #endif
    3349             : 
    3350         320 :         for (i=0;i<ndr_table_lsarpc.endpoints->count;i++) {
    3351           8 :                 NTSTATUS ret;
    3352         256 :                 const char *name = ndr_table_lsarpc.endpoints->names[i];
    3353             : 
    3354         256 :                 ret = dcesrv_interface_register(dce_ctx,
    3355             :                                                 name,
    3356             :                                                 ncacn_np_secondary_endpoint,
    3357             :                                                 &dcesrv_lsarpc_interface,
    3358             :                                                 NULL);
    3359         256 :                 if (!NT_STATUS_IS_OK(ret)) {
    3360           0 :                         DEBUG(1,("lsarpc_op_init_server: failed to register endpoint '%s'\n",name));
    3361           0 :                         return ret;
    3362             :                 }
    3363             :         }
    3364             : 
    3365          64 :         return NT_STATUS_OK;
    3366             : }
    3367             : 
    3368           0 : static NTSTATUS lsarpc__op_shutdown_server(struct dcesrv_context *dce_ctx, const struct dcesrv_endpoint_server *ep_server)
    3369             : {
    3370           0 :         return NT_STATUS_OK;
    3371             : }
    3372             : 
    3373           0 : static bool lsarpc__op_interface_by_uuid(struct dcesrv_interface *iface, const struct GUID *uuid, uint32_t if_version)
    3374             : {
    3375           0 :         if (dcesrv_lsarpc_interface.syntax_id.if_version == if_version &&
    3376           0 :                 GUID_equal(&dcesrv_lsarpc_interface.syntax_id.uuid, uuid)) {
    3377           0 :                 memcpy(iface,&dcesrv_lsarpc_interface, sizeof(*iface));
    3378           0 :                 return true;
    3379             :         }
    3380             : 
    3381           0 :         return false;
    3382             : }
    3383             : 
    3384           0 : static bool lsarpc__op_interface_by_name(struct dcesrv_interface *iface, const char *name)
    3385             : {
    3386           0 :         if (strcmp(dcesrv_lsarpc_interface.name, name)==0) {
    3387           0 :                 memcpy(iface, &dcesrv_lsarpc_interface, sizeof(*iface));
    3388           0 :                 return true;
    3389             :         }
    3390             : 
    3391           0 :         return false;
    3392             : }
    3393             : 
    3394          66 : NTSTATUS dcerpc_server_lsarpc_init(TALLOC_CTX *ctx)
    3395             : {
    3396           2 :         NTSTATUS ret;
    3397           2 :         static const struct dcesrv_endpoint_server ep_server = {
    3398             :             /* fill in our name */
    3399             :             .name = "lsarpc",
    3400             : 
    3401             :             /* Initialization flag */
    3402             :             .initialized = false,
    3403             : 
    3404             :             /* fill in all the operations */
    3405             : #ifdef DCESRV_INTERFACE_LSARPC_INIT_SERVER
    3406             :             .init_server = DCESRV_INTERFACE_LSARPC_INIT_SERVER,
    3407             : #else
    3408             :             .init_server = lsarpc__op_init_server,
    3409             : #endif
    3410             : #ifdef DCESRV_INTERFACE_LSARPC_SHUTDOWN_SERVER
    3411             :             .shutdown_server = DCESRV_INTERFACE_LSARPC_SHUTDOWN_SERVER,
    3412             : #else
    3413             :             .shutdown_server = lsarpc__op_shutdown_server,
    3414             : #endif
    3415             :             .interface_by_uuid = lsarpc__op_interface_by_uuid,
    3416             :             .interface_by_name = lsarpc__op_interface_by_name
    3417             :         };
    3418             :         /* register ourselves with the DCERPC subsystem. */
    3419          66 :         ret = dcerpc_register_ep_server(&ep_server);
    3420             : 
    3421          66 :         if (!NT_STATUS_IS_OK(ret)) {
    3422           0 :                 DEBUG(0,("Failed to register 'lsarpc' endpoint server!\n"));
    3423           0 :                 return ret;
    3424             :         }
    3425             : 
    3426          66 :         return ret;
    3427             : }
    3428             : 

Generated by: LCOV version 1.14