Share RPC binding string utility functions.
[samba.git] / source3 / librpc / gen_ndr / srv_lsa.c
index f55e079773102255b31dfe34a6e8e685b8219c31..0ad44512a46aa3dd9341e5820a54f4111b09f5c8 100644 (file)
@@ -58,7 +58,7 @@ static bool api_lsa_Close(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_Close, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -131,7 +131,7 @@ static bool api_lsa_Delete(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_Delete, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -212,7 +212,7 @@ static bool api_lsa_EnumPrivs(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_EnumPrivs, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -292,7 +292,7 @@ static bool api_lsa_QuerySecurity(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_QuerySecurity, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -365,7 +365,7 @@ static bool api_lsa_SetSecObj(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_SetSecObj, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -438,7 +438,7 @@ static bool api_lsa_ChangePassword(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_ChangePassword, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -518,7 +518,7 @@ static bool api_lsa_OpenPolicy(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -598,7 +598,7 @@ static bool api_lsa_QueryInfoPolicy(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -671,7 +671,7 @@ static bool api_lsa_SetInfoPolicy(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -744,7 +744,7 @@ static bool api_lsa_ClearAuditLog(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_ClearAuditLog, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -824,7 +824,7 @@ static bool api_lsa_CreateAccount(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CreateAccount, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -905,7 +905,7 @@ static bool api_lsa_EnumAccounts(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_EnumAccounts, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -985,7 +985,7 @@ static bool api_lsa_CreateTrustedDomain(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomain, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1066,7 +1066,7 @@ static bool api_lsa_EnumTrustDom(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_EnumTrustDom, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1148,7 +1148,7 @@ static bool api_lsa_LookupNames(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LookupNames, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1230,7 +1230,7 @@ static bool api_lsa_LookupSids(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LookupSids, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1310,7 +1310,7 @@ static bool api_lsa_CreateSecret(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CreateSecret, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1390,7 +1390,7 @@ static bool api_lsa_OpenAccount(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_OpenAccount, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1470,7 +1470,7 @@ static bool api_lsa_EnumPrivsAccount(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_EnumPrivsAccount, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1543,7 +1543,7 @@ static bool api_lsa_AddPrivilegesToAccount(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_AddPrivilegesToAccount, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1616,7 +1616,7 @@ static bool api_lsa_RemovePrivilegesFromAccount(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_RemovePrivilegesFromAccount, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1689,7 +1689,7 @@ static bool api_lsa_GetQuotasForAccount(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_GetQuotasForAccount, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1762,7 +1762,7 @@ static bool api_lsa_SetQuotasForAccount(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_SetQuotasForAccount, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1842,7 +1842,7 @@ static bool api_lsa_GetSystemAccessAccount(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_GetSystemAccessAccount, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1915,7 +1915,7 @@ static bool api_lsa_SetSystemAccessAccount(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_SetSystemAccessAccount, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -1995,7 +1995,7 @@ static bool api_lsa_OpenTrustedDomain(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_OpenTrustedDomain, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2075,7 +2075,7 @@ static bool api_lsa_QueryTrustedDomainInfo(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfo, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2148,7 +2148,7 @@ static bool api_lsa_SetInformationTrustedDomain(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_SetInformationTrustedDomain, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2228,7 +2228,7 @@ static bool api_lsa_OpenSecret(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_OpenSecret, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2301,7 +2301,7 @@ static bool api_lsa_SetSecret(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_SetSecret, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2379,7 +2379,7 @@ static bool api_lsa_QuerySecret(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_QuerySecret, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2459,7 +2459,7 @@ static bool api_lsa_LookupPrivValue(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LookupPrivValue, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2539,7 +2539,7 @@ static bool api_lsa_LookupPrivName(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LookupPrivName, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2625,7 +2625,7 @@ static bool api_lsa_LookupPrivDisplayName(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LookupPrivDisplayName, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2700,7 +2700,7 @@ static bool api_lsa_DeleteObject(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_DeleteObject, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2780,7 +2780,7 @@ static bool api_lsa_EnumAccountsWithUserRight(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_EnumAccountsWithUserRight, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2860,7 +2860,7 @@ static bool api_lsa_EnumAccountRights(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_EnumAccountRights, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -2933,7 +2933,7 @@ static bool api_lsa_AddAccountRights(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_AddAccountRights, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3006,7 +3006,7 @@ static bool api_lsa_RemoveAccountRights(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_RemoveAccountRights, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3086,7 +3086,7 @@ static bool api_lsa_QueryTrustedDomainInfoBySid(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfoBySid, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3159,7 +3159,7 @@ static bool api_lsa_SetTrustedDomainInfo(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_SetTrustedDomainInfo, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3232,7 +3232,7 @@ static bool api_lsa_DeleteTrustedDomain(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_DeleteTrustedDomain, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3305,7 +3305,7 @@ static bool api_lsa_StorePrivateData(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_StorePrivateData, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3378,7 +3378,7 @@ static bool api_lsa_RetrievePrivateData(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_RetrievePrivateData, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3458,7 +3458,7 @@ static bool api_lsa_OpenPolicy2(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_OpenPolicy2, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3534,7 +3534,7 @@ static bool api_lsa_GetUserName(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_GetUserName, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3614,7 +3614,7 @@ static bool api_lsa_QueryInfoPolicy2(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_QueryInfoPolicy2, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3687,7 +3687,7 @@ static bool api_lsa_SetInfoPolicy2(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_SetInfoPolicy2, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3767,7 +3767,7 @@ static bool api_lsa_QueryTrustedDomainInfoByName(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_QueryTrustedDomainInfoByName, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3840,7 +3840,7 @@ static bool api_lsa_SetTrustedDomainInfoByName(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_SetTrustedDomainInfoByName, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3921,7 +3921,7 @@ static bool api_lsa_EnumTrustedDomainsEx(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_EnumTrustedDomainsEx, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -3994,7 +3994,7 @@ static bool api_lsa_CreateTrustedDomainEx(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomainEx, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4069,7 +4069,7 @@ static bool api_lsa_CloseTrustedDomainEx(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CloseTrustedDomainEx, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4149,7 +4149,7 @@ static bool api_lsa_QueryDomainInformationPolicy(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_QueryDomainInformationPolicy, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4222,7 +4222,7 @@ static bool api_lsa_SetDomainInformationPolicy(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_SetDomainInformationPolicy, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4302,7 +4302,7 @@ static bool api_lsa_OpenTrustedDomainByName(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_OpenTrustedDomainByName, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4375,7 +4375,7 @@ static bool api_lsa_TestCall(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_TestCall, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4457,7 +4457,7 @@ static bool api_lsa_LookupSids2(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LookupSids2, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4539,7 +4539,7 @@ static bool api_lsa_LookupNames2(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LookupNames2, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4612,7 +4612,7 @@ static bool api_lsa_CreateTrustedDomainEx2(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CreateTrustedDomainEx2, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4685,7 +4685,7 @@ static bool api_lsa_CREDRWRITE(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CREDRWRITE, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4758,7 +4758,7 @@ static bool api_lsa_CREDRREAD(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CREDRREAD, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4831,7 +4831,7 @@ static bool api_lsa_CREDRENUMERATE(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CREDRENUMERATE, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4904,7 +4904,7 @@ static bool api_lsa_CREDRWRITEDOMAINCREDENTIALS(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CREDRWRITEDOMAINCREDENTIALS, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -4977,7 +4977,7 @@ static bool api_lsa_CREDRREADDOMAINCREDENTIALS(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CREDRREADDOMAINCREDENTIALS, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5050,7 +5050,7 @@ static bool api_lsa_CREDRDELETE(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CREDRDELETE, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5123,7 +5123,7 @@ static bool api_lsa_CREDRGETTARGETINFO(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CREDRGETTARGETINFO, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5196,7 +5196,7 @@ static bool api_lsa_CREDRPROFILELOADED(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CREDRPROFILELOADED, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5278,7 +5278,7 @@ static bool api_lsa_LookupNames3(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LookupNames3, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5351,7 +5351,7 @@ static bool api_lsa_CREDRGETSESSIONTYPES(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CREDRGETSESSIONTYPES, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5424,7 +5424,7 @@ static bool api_lsa_LSARREGISTERAUDITEVENT(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LSARREGISTERAUDITEVENT, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5497,7 +5497,7 @@ static bool api_lsa_LSARGENAUDITEVENT(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LSARGENAUDITEVENT, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5570,7 +5570,7 @@ static bool api_lsa_LSARUNREGISTERAUDITEVENT(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LSARUNREGISTERAUDITEVENT, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5650,7 +5650,7 @@ static bool api_lsa_lsaRQueryForestTrustInformation(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_lsaRQueryForestTrustInformation, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5723,7 +5723,7 @@ static bool api_lsa_LSARSETFORESTTRUSTINFORMATION(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LSARSETFORESTTRUSTINFORMATION, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5796,7 +5796,7 @@ static bool api_lsa_CREDRRENAME(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_CREDRRENAME, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5878,7 +5878,7 @@ static bool api_lsa_LookupSids3(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LookupSids3, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -5960,7 +5960,7 @@ static bool api_lsa_LookupNames4(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LookupNames4, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -6033,7 +6033,7 @@ static bool api_lsa_LSAROPENPOLICYSCE(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LSAROPENPOLICYSCE, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -6106,7 +6106,7 @@ static bool api_lsa_LSARADTREGISTERSECURITYEVENTSOURCE(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LSARADTREGISTERSECURITYEVENTSOURCE, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -6179,7 +6179,7 @@ static bool api_lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LSARADTUNREGISTERSECURITYEVENTSOURCE, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -6252,7 +6252,7 @@ static bool api_lsa_LSARADTREPORTSECURITYEVENT(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(lsa_LSARADTREPORTSECURITYEVENT, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;