summaryrefslogtreecommitdiff
path: root/librpc/gen_ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-05-03 12:51:26 +0200
committerGünther Deschner <gd@samba.org>2010-05-03 14:45:05 +0200
commit84aea4784a1798f2585cfa98b6126e21e830ae82 (patch)
tree96691aec959e8cdc533bfa42e8cbcf098e8cc33a /librpc/gen_ndr
parent094ee6cb433ab76e1f6a82476886a7d74e1036cb (diff)
downloadsamba-84aea4784a1798f2585cfa98b6126e21e830ae82.tar.gz
samba-84aea4784a1798f2585cfa98b6126e21e830ae82.tar.bz2
samba-84aea4784a1798f2585cfa98b6126e21e830ae82.zip
s3: re-run make samba3-idl.
Guenther
Diffstat (limited to 'librpc/gen_ndr')
-rw-r--r--librpc/gen_ndr/srv_dfs.c4
-rw-r--r--librpc/gen_ndr/srv_dssetup.c2
-rw-r--r--librpc/gen_ndr/srv_echo.c10
-rw-r--r--librpc/gen_ndr/srv_epmapper.c8
-rw-r--r--librpc/gen_ndr/srv_eventlog.c20
-rw-r--r--librpc/gen_ndr/srv_lsa.c78
-rw-r--r--librpc/gen_ndr/srv_netlogon.c114
-rw-r--r--librpc/gen_ndr/srv_ntsvcs.c10
-rw-r--r--librpc/gen_ndr/srv_samr.c124
-rw-r--r--librpc/gen_ndr/srv_spoolss.c148
-rw-r--r--librpc/gen_ndr/srv_srvsvc.c42
-rw-r--r--librpc/gen_ndr/srv_svcctl.c98
-rw-r--r--librpc/gen_ndr/srv_winreg.c42
-rw-r--r--librpc/gen_ndr/srv_wkssvc.c22
14 files changed, 361 insertions, 361 deletions
diff --git a/librpc/gen_ndr/srv_dfs.c b/librpc/gen_ndr/srv_dfs.c
index 623df13ccc..9d35e58146 100644
--- a/librpc/gen_ndr/srv_dfs.c
+++ b/librpc/gen_ndr/srv_dfs.c
@@ -1761,7 +1761,7 @@ NTSTATUS rpc_netdfs_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.version = talloc_zero(mem_ctx, enum dfs_ManagerVersion);
if (r->out.version == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
_dfs_GetManagerVersion(cli->pipes_struct, r);
@@ -1791,7 +1791,7 @@ NTSTATUS rpc_netdfs_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union dfs_Info);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _dfs_GetInfo(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_dssetup.c b/librpc/gen_ndr/srv_dssetup.c
index 813eaf629f..9585bf379d 100644
--- a/librpc/gen_ndr/srv_dssetup.c
+++ b/librpc/gen_ndr/srv_dssetup.c
@@ -852,7 +852,7 @@ NTSTATUS rpc_dssetup_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union dssetup_DsRoleInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _dssetup_DsRoleGetPrimaryDomainInformation(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_echo.c b/librpc/gen_ndr/srv_echo.c
index 715f21e085..b4c21dd270 100644
--- a/librpc/gen_ndr/srv_echo.c
+++ b/librpc/gen_ndr/srv_echo.c
@@ -812,7 +812,7 @@ NTSTATUS rpc_rpcecho_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.out_data = talloc_zero(mem_ctx, uint32_t);
if (r->out.out_data == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
_echo_AddOne(cli->pipes_struct, r);
@@ -824,7 +824,7 @@ NTSTATUS rpc_rpcecho_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.out_data = talloc_zero_array(mem_ctx, uint8_t, r->in.len);
if (r->out.out_data == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
_echo_EchoData(cli->pipes_struct, r);
@@ -842,7 +842,7 @@ NTSTATUS rpc_rpcecho_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.data = talloc_zero_array(mem_ctx, uint8_t, r->in.len);
if (r->out.data == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
_echo_SourceData(cli->pipes_struct, r);
@@ -854,7 +854,7 @@ NTSTATUS rpc_rpcecho_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.s2 = talloc_zero(mem_ctx, const char *);
if (r->out.s2 == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
_echo_TestCall(cli->pipes_struct, r);
@@ -866,7 +866,7 @@ NTSTATUS rpc_rpcecho_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union echo_Info);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _echo_TestCall2(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_epmapper.c b/librpc/gen_ndr/srv_epmapper.c
index 7050b26ad1..07a75b682d 100644
--- a/librpc/gen_ndr/srv_epmapper.c
+++ b/librpc/gen_ndr/srv_epmapper.c
@@ -666,12 +666,12 @@ NTSTATUS rpc_epmapper_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.entry_handle = r->in.entry_handle;
r->out.num_ents = talloc_zero(mem_ctx, uint32_t);
if (r->out.num_ents == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.entries = talloc_zero_array(mem_ctx, struct epm_entry_t, r->in.max_ents);
if (r->out.entries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _epm_Lookup(cli->pipes_struct, r);
@@ -684,12 +684,12 @@ NTSTATUS rpc_epmapper_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.entry_handle = r->in.entry_handle;
r->out.num_towers = talloc_zero(mem_ctx, uint32_t);
if (r->out.num_towers == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.towers = talloc_zero_array(mem_ctx, struct epm_twr_p_t, r->in.max_towers);
if (r->out.towers == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _epm_Map(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_eventlog.c b/librpc/gen_ndr/srv_eventlog.c
index 2cab792adf..79154ae371 100644
--- a/librpc/gen_ndr/srv_eventlog.c
+++ b/librpc/gen_ndr/srv_eventlog.c
@@ -1986,7 +1986,7 @@ NTSTATUS rpc_eventlog_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.number = talloc_zero(mem_ctx, uint32_t);
if (r->out.number == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _eventlog_GetNumRecords(cli->pipes_struct, r);
@@ -1998,7 +1998,7 @@ NTSTATUS rpc_eventlog_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.oldest_entry = talloc_zero(mem_ctx, uint32_t);
if (r->out.oldest_entry == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _eventlog_GetOldestRecord(cli->pipes_struct, r);
@@ -2016,7 +2016,7 @@ NTSTATUS rpc_eventlog_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _eventlog_OpenEventLogW(cli->pipes_struct, r);
@@ -2028,7 +2028,7 @@ NTSTATUS rpc_eventlog_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.log_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.log_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _eventlog_RegisterEventSourceW(cli->pipes_struct, r);
@@ -2040,7 +2040,7 @@ NTSTATUS rpc_eventlog_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _eventlog_OpenBackupEventLogW(cli->pipes_struct, r);
@@ -2052,17 +2052,17 @@ NTSTATUS rpc_eventlog_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.data = talloc_zero_array(mem_ctx, uint8_t, r->in.number_of_bytes);
if (r->out.data == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.sent_size = talloc_zero(mem_ctx, uint32_t);
if (r->out.sent_size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.real_size = talloc_zero(mem_ctx, uint32_t);
if (r->out.real_size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _eventlog_ReadEventLogW(cli->pipes_struct, r);
@@ -2143,12 +2143,12 @@ NTSTATUS rpc_eventlog_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.buffer = talloc_zero_array(mem_ctx, uint8_t, r->in.buf_size);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.bytes_needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.bytes_needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _eventlog_GetLogInformation(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_lsa.c b/librpc/gen_ndr/srv_lsa.c
index a70de2a2c6..9185d19888 100644
--- a/librpc/gen_ndr/srv_lsa.c
+++ b/librpc/gen_ndr/srv_lsa.c
@@ -6420,7 +6420,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.privs = talloc_zero(mem_ctx, struct lsa_PrivArray);
if (r->out.privs == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_EnumPrivs(cli->pipes_struct, r);
@@ -6432,7 +6432,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.sdbuf = talloc_zero(mem_ctx, struct sec_desc_buf *);
if (r->out.sdbuf == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_QuerySecurity(cli->pipes_struct, r);
@@ -6456,7 +6456,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_OpenPolicy(cli->pipes_struct, r);
@@ -6468,7 +6468,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union lsa_PolicyInformation *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_QueryInfoPolicy(cli->pipes_struct, r);
@@ -6492,7 +6492,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.acct_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.acct_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_CreateAccount(cli->pipes_struct, r);
@@ -6505,7 +6505,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.sids = talloc_zero(mem_ctx, struct lsa_SidArray);
if (r->out.sids == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_EnumAccounts(cli->pipes_struct, r);
@@ -6517,7 +6517,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.trustdom_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.trustdom_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_CreateTrustedDomain(cli->pipes_struct, r);
@@ -6530,7 +6530,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.domains = talloc_zero(mem_ctx, struct lsa_DomainList);
if (r->out.domains == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_EnumTrustDom(cli->pipes_struct, r);
@@ -6544,7 +6544,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.count = r->in.count;
r->out.domains = talloc_zero(mem_ctx, struct lsa_RefDomainList *);
if (r->out.domains == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_LookupNames(cli->pipes_struct, r);
@@ -6558,7 +6558,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.count = r->in.count;
r->out.domains = talloc_zero(mem_ctx, struct lsa_RefDomainList *);
if (r->out.domains == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_LookupSids(cli->pipes_struct, r);
@@ -6570,7 +6570,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.sec_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.sec_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_CreateSecret(cli->pipes_struct, r);
@@ -6582,7 +6582,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.acct_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.acct_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_OpenAccount(cli->pipes_struct, r);
@@ -6594,7 +6594,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.privs = talloc_zero(mem_ctx, struct lsa_PrivilegeSet *);
if (r->out.privs == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_EnumPrivsAccount(cli->pipes_struct, r);
@@ -6630,7 +6630,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.access_mask = talloc_zero(mem_ctx, uint32_t);
if (r->out.access_mask == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_GetSystemAccessAccount(cli->pipes_struct, r);
@@ -6648,7 +6648,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.trustdom_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.trustdom_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_OpenTrustedDomain(cli->pipes_struct, r);
@@ -6660,7 +6660,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union lsa_TrustedDomainInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_QueryTrustedDomainInfo(cli->pipes_struct, r);
@@ -6678,7 +6678,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.sec_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.sec_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_OpenSecret(cli->pipes_struct, r);
@@ -6707,7 +6707,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.luid = talloc_zero(mem_ctx, struct lsa_LUID);
if (r->out.luid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_LookupPrivValue(cli->pipes_struct, r);
@@ -6719,7 +6719,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.name = talloc_zero(mem_ctx, struct lsa_StringLarge *);
if (r->out.name == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_LookupPrivName(cli->pipes_struct, r);
@@ -6731,12 +6731,12 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.disp_name = talloc_zero(mem_ctx, struct lsa_StringLarge *);
if (r->out.disp_name == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.returned_language_id = talloc_zero(mem_ctx, uint16_t);
if (r->out.returned_language_id == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_LookupPrivDisplayName(cli->pipes_struct, r);
@@ -6756,7 +6756,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.sids = talloc_zero(mem_ctx, struct lsa_SidArray);
if (r->out.sids == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_EnumAccountsWithUserRight(cli->pipes_struct, r);
@@ -6768,7 +6768,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.rights = talloc_zero(mem_ctx, struct lsa_RightSet);
if (r->out.rights == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_EnumAccountRights(cli->pipes_struct, r);
@@ -6792,7 +6792,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union lsa_TrustedDomainInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_QueryTrustedDomainInfoBySid(cli->pipes_struct, r);
@@ -6830,7 +6830,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_OpenPolicy2(cli->pipes_struct, r);
@@ -6851,7 +6851,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union lsa_PolicyInformation *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_QueryInfoPolicy2(cli->pipes_struct, r);
@@ -6869,7 +6869,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union lsa_TrustedDomainInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_QueryTrustedDomainInfoByName(cli->pipes_struct, r);
@@ -6888,7 +6888,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.domains = talloc_zero(mem_ctx, struct lsa_DomainListEx);
if (r->out.domains == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_EnumTrustedDomainsEx(cli->pipes_struct, r);
@@ -6900,7 +6900,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.trustdom_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.trustdom_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_CreateTrustedDomainEx(cli->pipes_struct, r);
@@ -6920,7 +6920,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union lsa_DomainInformationPolicy *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_QueryDomainInformationPolicy(cli->pipes_struct, r);
@@ -6938,7 +6938,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.trustdom_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.trustdom_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_OpenTrustedDomainByName(cli->pipes_struct, r);
@@ -6958,7 +6958,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.count = r->in.count;
r->out.domains = talloc_zero(mem_ctx, struct lsa_RefDomainList *);
if (r->out.domains == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_LookupSids2(cli->pipes_struct, r);
@@ -6972,7 +6972,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.count = r->in.count;
r->out.domains = talloc_zero(mem_ctx, struct lsa_RefDomainList *);
if (r->out.domains == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_LookupNames2(cli->pipes_struct, r);
@@ -6984,7 +6984,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.trustdom_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.trustdom_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_CreateTrustedDomainEx2(cli->pipes_struct, r);
@@ -7046,7 +7046,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.count = r->in.count;
r->out.domains = talloc_zero(mem_ctx, struct lsa_RefDomainList *);
if (r->out.domains == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_LookupNames3(cli->pipes_struct, r);
@@ -7082,7 +7082,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.forest_trust_info = talloc_zero(mem_ctx, struct lsa_ForestTrustInformation *);
if (r->out.forest_trust_info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_lsaRQueryForestTrustInformation(cli->pipes_struct, r);
@@ -7094,7 +7094,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.collision_info = talloc_zero(mem_ctx, struct lsa_ForestTrustCollisionInfo *);
if (r->out.collision_info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_lsaRSetForestTrustInformation(cli->pipes_struct, r);
@@ -7114,7 +7114,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.count = r->in.count;
r->out.domains = talloc_zero(mem_ctx, struct lsa_RefDomainList *);
if (r->out.domains == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_LookupSids3(cli->pipes_struct, r);
@@ -7128,7 +7128,7 @@ NTSTATUS rpc_lsarpc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.count = r->in.count;
r->out.domains = talloc_zero(mem_ctx, struct lsa_RefDomainList *);
if (r->out.domains == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _lsa_LookupNames4(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_netlogon.c b/librpc/gen_ndr/srv_netlogon.c
index be92d4a4dd..ffef91ffa3 100644
--- a/librpc/gen_ndr/srv_netlogon.c
+++ b/librpc/gen_ndr/srv_netlogon.c
@@ -3911,7 +3911,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct netr_UasInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonUasLogon(cli->pipes_struct, r);
@@ -3923,7 +3923,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct netr_UasLogoffInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonUasLogoff(cli->pipes_struct, r);
@@ -3936,12 +3936,12 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.return_authenticator = r->in.return_authenticator;
r->out.validation = talloc_zero(mem_ctx, union netr_Validation);
if (r->out.validation == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.authoritative = talloc_zero(mem_ctx, uint8_t);
if (r->out.authoritative == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonSamLogon(cli->pipes_struct, r);
@@ -3961,7 +3961,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.return_credentials = talloc_zero(mem_ctx, struct netr_Credential);
if (r->out.return_credentials == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerReqChallenge(cli->pipes_struct, r);
@@ -3973,7 +3973,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.return_credentials = talloc_zero(mem_ctx, struct netr_Credential);
if (r->out.return_credentials == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerAuthenticate(cli->pipes_struct, r);
@@ -3985,7 +3985,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerPasswordSet(cli->pipes_struct, r);
@@ -3999,7 +3999,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.sequence_num = r->in.sequence_num;
r->out.delta_enum_array = talloc_zero(mem_ctx, struct netr_DELTA_ENUM_ARRAY *);
if (r->out.delta_enum_array == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DatabaseDeltas(cli->pipes_struct, r);
@@ -4013,7 +4013,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.sync_context = r->in.sync_context;
r->out.delta_enum_array = talloc_zero(mem_ctx, struct netr_DELTA_ENUM_ARRAY *);
if (r->out.delta_enum_array == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DatabaseSync(cli->pipes_struct, r);
@@ -4026,22 +4026,22 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.return_authenticator = r->in.return_authenticator;
r->out.buffer = talloc_zero(mem_ctx, struct netr_AccountBuffer);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.count_returned = talloc_zero(mem_ctx, uint32_t);
if (r->out.count_returned == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.total_entries = talloc_zero(mem_ctx, uint32_t);
if (r->out.total_entries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.recordid = talloc_zero(mem_ctx, struct netr_UAS_INFO_0);
if (r->out.recordid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_AccountDeltas(cli->pipes_struct, r);
@@ -4055,22 +4055,22 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.recordid = r->in.recordid;
r->out.buffer = talloc_zero(mem_ctx, struct netr_AccountBuffer);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.count_returned = talloc_zero(mem_ctx, uint32_t);
if (r->out.count_returned == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.total_entries = talloc_zero(mem_ctx, uint32_t);
if (r->out.total_entries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.next_reference = talloc_zero(mem_ctx, uint32_t);
if (r->out.next_reference == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_AccountSync(cli->pipes_struct, r);
@@ -4082,7 +4082,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.dcname = talloc_zero(mem_ctx, const char *);
if (r->out.dcname == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_GetDcName(cli->pipes_struct, r);
@@ -4094,7 +4094,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.query = talloc_zero(mem_ctx, union netr_CONTROL_QUERY_INFORMATION);
if (r->out.query == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonControl(cli->pipes_struct, r);
@@ -4106,7 +4106,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.dcname = talloc_zero(mem_ctx, const char *);
if (r->out.dcname == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_GetAnyDCName(cli->pipes_struct, r);
@@ -4118,7 +4118,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.query = talloc_zero(mem_ctx, union netr_CONTROL_QUERY_INFORMATION);
if (r->out.query == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonControl2(cli->pipes_struct, r);
@@ -4131,7 +4131,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.negotiate_flags = r->in.negotiate_flags;
r->out.return_credentials = talloc_zero(mem_ctx, struct netr_Credential);
if (r->out.return_credentials == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerAuthenticate2(cli->pipes_struct, r);
@@ -4145,7 +4145,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.sync_context = r->in.sync_context;
r->out.delta_enum_array = talloc_zero(mem_ctx, struct netr_DELTA_ENUM_ARRAY *);
if (r->out.delta_enum_array == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DatabaseSync2(cli->pipes_struct, r);
@@ -4158,7 +4158,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.return_authenticator = r->in.return_authenticator;
r->out.delta_enum_array = talloc_zero(mem_ctx, struct netr_DELTA_ENUM_ARRAY *);
if (r->out.delta_enum_array == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DatabaseRedo(cli->pipes_struct, r);
@@ -4170,7 +4170,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.query = talloc_zero(mem_ctx, union netr_CONTROL_QUERY_INFORMATION);
if (r->out.query == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonControl2Ex(cli->pipes_struct, r);
@@ -4182,7 +4182,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.trusted_domains_blob = talloc_zero(mem_ctx, struct netr_Blob);
if (r->out.trusted_domains_blob == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_NetrEnumerateTrustedDomains(cli->pipes_struct, r);
@@ -4194,7 +4194,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct netr_DsRGetDCNameInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRGetDCName(cli->pipes_struct, r);
@@ -4207,7 +4207,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.return_authenticator = r->in.return_authenticator;
r->out.capabilities = talloc_zero(mem_ctx, union netr_Capabilities);
if (r->out.capabilities == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonGetCapabilities(cli->pipes_struct, r);
@@ -4225,7 +4225,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.rid = talloc_zero(mem_ctx, uint32_t);
if (r->out.rid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonGetTrustRid(cli->pipes_struct, r);
@@ -4250,12 +4250,12 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.negotiate_flags = r->in.negotiate_flags;
r->out.return_credentials = talloc_zero(mem_ctx, struct netr_Credential);
if (r->out.return_credentials == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.rid = talloc_zero(mem_ctx, uint32_t);
if (r->out.rid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerAuthenticate3(cli->pipes_struct, r);
@@ -4267,7 +4267,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct netr_DsRGetDCNameInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRGetDCNameEx(cli->pipes_struct, r);
@@ -4279,7 +4279,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.site = talloc_zero(mem_ctx, const char *);
if (r->out.site == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRGetSiteName(cli->pipes_struct, r);
@@ -4292,7 +4292,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.return_authenticator = r->in.return_authenticator;
r->out.info = talloc_zero(mem_ctx, union netr_DomainInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonGetDomainInfo(cli->pipes_struct, r);
@@ -4304,7 +4304,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerPasswordSet2(cli->pipes_struct, r);
@@ -4316,12 +4316,12 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.password = talloc_zero(mem_ctx, struct samr_Password);
if (r->out.password == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerPasswordGet(cli->pipes_struct, r);
@@ -4339,7 +4339,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.ctr = talloc_zero(mem_ctx, struct netr_DsRAddressToSitenamesWCtr *);
if (r->out.ctr == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRAddressToSitenamesW(cli->pipes_struct, r);
@@ -4351,7 +4351,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct netr_DsRGetDCNameInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRGetDCNameEx2(cli->pipes_struct, r);
@@ -4369,7 +4369,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.dom_trust_list = talloc_zero(mem_ctx, struct netr_DomainTrustList);
if (r->out.dom_trust_list == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_NetrEnumerateTrustedDomainsEx(cli->pipes_struct, r);
@@ -4381,7 +4381,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.ctr = talloc_zero(mem_ctx, struct netr_DsRAddressToSitenamesExWCtr *);
if (r->out.ctr == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRAddressToSitenamesExW(cli->pipes_struct, r);
@@ -4393,7 +4393,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.ctr = talloc_zero(mem_ctx, struct DcSitesCtr *);
if (r->out.ctr == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsrGetDcSiteCoverageW(cli->pipes_struct, r);
@@ -4406,12 +4406,12 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.flags = r->in.flags;
r->out.validation = talloc_zero(mem_ctx, union netr_Validation);
if (r->out.validation == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.authoritative = talloc_zero(mem_ctx, uint8_t);
if (r->out.authoritative == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonSamLogonEx(cli->pipes_struct, r);
@@ -4423,7 +4423,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.trusts = talloc_zero(mem_ctx, struct netr_DomainTrustList);
if (r->out.trusts == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsrEnumerateDomainTrusts(cli->pipes_struct, r);
@@ -4441,17 +4441,17 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.password = talloc_zero(mem_ctx, struct samr_Password);
if (r->out.password == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.password2 = talloc_zero(mem_ctx, struct samr_Password);
if (r->out.password2 == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerTrustPasswordsGet(cli->pipes_struct, r);
@@ -4463,7 +4463,7 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.forest_trust_info = talloc_zero(mem_ctx, struct lsa_ForestTrustInformation *);
if (r->out.forest_trust_info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_DsRGetForestTrustInformation(cli->pipes_struct, r);
@@ -4475,12 +4475,12 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.forest_trust_info = talloc_zero(mem_ctx, struct lsa_ForestTrustInformation *);
if (r->out.forest_trust_info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_GetForestTrustInformation(cli->pipes_struct, r);
@@ -4494,12 +4494,12 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.flags = r->in.flags;
r->out.validation = talloc_zero(mem_ctx, union netr_Validation);
if (r->out.validation == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.authoritative = talloc_zero(mem_ctx, uint8_t);
if (r->out.authoritative == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_LogonSamLogonWithFlags(cli->pipes_struct, r);
@@ -4511,22 +4511,22 @@ NTSTATUS rpc_netlogon_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.return_authenticator = talloc_zero(mem_ctx, struct netr_Authenticator);
if (r->out.return_authenticator == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.new_owf_password = talloc_zero(mem_ctx, struct samr_Password);
if (r->out.new_owf_password == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.old_owf_password = talloc_zero(mem_ctx, struct samr_Password);
if (r->out.old_owf_password == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.trust_info = talloc_zero(mem_ctx, struct netr_TrustInfo *);
if (r->out.trust_info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _netr_ServerGetTrustInfo(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_ntsvcs.c b/librpc/gen_ndr/srv_ntsvcs.c
index de2bb6d4a3..4c74bfbc54 100644
--- a/librpc/gen_ndr/srv_ntsvcs.c
+++ b/librpc/gen_ndr/srv_ntsvcs.c
@@ -4896,7 +4896,7 @@ NTSTATUS rpc_ntsvcs_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.version = talloc_zero(mem_ctx, uint16_t);
if (r->out.version == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _PNP_GetVersion(cli->pipes_struct, r);
@@ -4951,7 +4951,7 @@ NTSTATUS rpc_ntsvcs_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.length = r->in.length;
r->out.buffer = talloc_zero_array(mem_ctx, uint16_t, *r->out.length);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _PNP_GetDeviceList(cli->pipes_struct, r);
@@ -4963,7 +4963,7 @@ NTSTATUS rpc_ntsvcs_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.size = talloc_zero(mem_ctx, uint32_t);
if (r->out.size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _PNP_GetDeviceListSize(cli->pipes_struct, r);
@@ -4984,7 +4984,7 @@ NTSTATUS rpc_ntsvcs_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.needed = r->in.needed;
r->out.buffer = talloc_zero_array(mem_ctx, uint8_t, *r->out.buffer_size);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _PNP_GetDeviceRegProp(cli->pipes_struct, r);
@@ -5154,7 +5154,7 @@ NTSTATUS rpc_ntsvcs_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.veto_type = r->in.veto_type;
r->out.unknown5a = talloc_zero(mem_ctx, const char *);
if (r->out.unknown5a == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _PNP_HwProfFlags(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_samr.c b/librpc/gen_ndr/srv_samr.c
index eba50b3e11..3f09441dfc 100644
--- a/librpc/gen_ndr/srv_samr.c
+++ b/librpc/gen_ndr/srv_samr.c
@@ -5489,7 +5489,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.connect_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.connect_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_Connect(cli->pipes_struct, r);
@@ -5515,7 +5515,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.sdbuf = talloc_zero(mem_ctx, struct sec_desc_buf *);
if (r->out.sdbuf == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QuerySecurity(cli->pipes_struct, r);
@@ -5533,7 +5533,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.sid = talloc_zero(mem_ctx, struct dom_sid2 *);
if (r->out.sid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_LookupDomain(cli->pipes_struct, r);
@@ -5546,12 +5546,12 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
r->out.resume_handle = r->in.resume_handle;
r->out.sam = talloc_zero(mem_ctx, struct samr_SamArray *);
if (r->out.sam == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.num_entries = talloc_zero(mem_ctx, uint32_t);
if (r->out.num_entries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_EnumDomains(cli->pipes_struct, r);
@@ -5563,7 +5563,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.domain_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.domain_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_OpenDomain(cli->pipes_struct, r);
@@ -5575,7 +5575,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union samr_DomainInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QueryDomainInfo(cli->pipes_struct, r);
@@ -5593,12 +5593,12 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.group_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.group_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.rid = talloc_zero(mem_ctx, uint32_t);
if (r->out.rid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_CreateDomainGroup(cli->pipes_struct, r);
@@ -5611,12 +5611,12 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
r->out.resume_handle = r->in.resume_handle;
r->out.sam = talloc_zero(mem_ctx, struct samr_SamArray *);
if (r->out.sam == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.num_entries = talloc_zero(mem_ctx, uint32_t);
if (r->out.num_entries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_EnumDomainGroups(cli->pipes_struct, r);
@@ -5628,12 +5628,12 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.user_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.user_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.rid = talloc_zero(mem_ctx, uint32_t);
if (r->out.rid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_CreateUser(cli->pipes_struct, r);
@@ -5646,12 +5646,12 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
r->out.resume_handle = r->in.resume_handle;
r->out.sam = talloc_zero(mem_ctx, struct samr_SamArray *);
if (r->out.sam == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.num_entries = talloc_zero(mem_ctx, uint32_t);
if (r->out.num_entries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_EnumDomainUsers(cli->pipes_struct, r);
@@ -5663,12 +5663,12 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.alias_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.alias_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.rid = talloc_zero(mem_ctx, uint32_t);
if (r->out.rid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_CreateDomAlias(cli->pipes_struct, r);
@@ -5681,12 +5681,12 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
r->out.resume_handle = r->in.resume_handle;
r->out.sam = talloc_zero(mem_ctx, struct samr_SamArray *);
if (r->out.sam == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.num_entries = talloc_zero(mem_ctx, uint32_t);
if (r->out.num_entries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_EnumDomainAliases(cli->pipes_struct, r);
@@ -5698,7 +5698,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.rids = talloc_zero(mem_ctx, struct samr_Ids);
if (r->out.rids == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_GetAliasMembership(cli->pipes_struct, r);
@@ -5710,12 +5710,12 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.rids = talloc_zero(mem_ctx, struct samr_Ids);
if (r->out.rids == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.types = talloc_zero(mem_ctx, struct samr_Ids);
if (r->out.types == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_LookupNames(cli->pipes_struct, r);
@@ -5727,12 +5727,12 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.names = talloc_zero(mem_ctx, struct lsa_Strings);
if (r->out.names == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.types = talloc_zero(mem_ctx, struct samr_Ids);
if (r->out.types == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_LookupRids(cli->pipes_struct, r);
@@ -5744,7 +5744,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.group_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.group_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_OpenGroup(cli->pipes_struct, r);
@@ -5756,7 +5756,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union samr_GroupInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QueryGroupInfo(cli->pipes_struct, r);
@@ -5794,7 +5794,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.rids = talloc_zero(mem_ctx, struct samr_RidTypeArray *);
if (r->out.rids == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QueryGroupMember(cli->pipes_struct, r);
@@ -5812,7 +5812,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.alias_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.alias_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_OpenAlias(cli->pipes_struct, r);
@@ -5824,7 +5824,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union samr_AliasInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QueryAliasInfo(cli->pipes_struct, r);
@@ -5862,7 +5862,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.sids = talloc_zero(mem_ctx, struct lsa_SidArray);
if (r->out.sids == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_GetMembersInAlias(cli->pipes_struct, r);
@@ -5874,7 +5874,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.user_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.user_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_OpenUser(cli->pipes_struct, r);
@@ -5894,7 +5894,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union samr_UserInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QueryUserInfo(cli->pipes_struct, r);
@@ -5918,7 +5918,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.rids = talloc_zero(mem_ctx, struct samr_RidWithAttributeArray *);
if (r->out.rids == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_GetGroupsForUser(cli->pipes_struct, r);
@@ -5930,17 +5930,17 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.total_size = talloc_zero(mem_ctx, uint32_t);
if (r->out.total_size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.returned_size = talloc_zero(mem_ctx, uint32_t);
if (r->out.returned_size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union samr_DispInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QueryDisplayInfo(cli->pipes_struct, r);
@@ -5952,7 +5952,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.idx = talloc_zero(mem_ctx, uint32_t);
if (r->out.idx == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_GetDisplayEnumerationIndex(cli->pipes_struct, r);
@@ -5976,7 +5976,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct samr_PwInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_GetUserPwInfo(cli->pipes_struct, r);
@@ -5994,7 +5994,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union samr_DomainInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QueryDomainInfo2(cli->pipes_struct, r);
@@ -6006,7 +6006,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union samr_UserInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QueryUserInfo2(cli->pipes_struct, r);
@@ -6018,17 +6018,17 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.total_size = talloc_zero(mem_ctx, uint32_t);
if (r->out.total_size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.returned_size = talloc_zero(mem_ctx, uint32_t);
if (r->out.returned_size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union samr_DispInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QueryDisplayInfo2(cli->pipes_struct, r);
@@ -6040,7 +6040,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.idx = talloc_zero(mem_ctx, uint32_t);
if (r->out.idx == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_GetDisplayEnumerationIndex2(cli->pipes_struct, r);
@@ -6052,17 +6052,17 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.user_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.user_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.access_granted = talloc_zero(mem_ctx, uint32_t);
if (r->out.access_granted == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.rid = talloc_zero(mem_ctx, uint32_t);
if (r->out.rid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_CreateUser2(cli->pipes_struct, r);
@@ -6074,17 +6074,17 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.total_size = talloc_zero(mem_ctx, uint32_t);
if (r->out.total_size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.returned_size = talloc_zero(mem_ctx, uint32_t);
if (r->out.returned_size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union samr_DispInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_QueryDisplayInfo3(cli->pipes_struct, r);
@@ -6120,7 +6120,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct samr_PwInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_GetDomPwInfo(cli->pipes_struct, r);
@@ -6132,7 +6132,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.connect_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.connect_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_Connect2(cli->pipes_struct, r);
@@ -6156,7 +6156,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.unknown = talloc_zero(mem_ctx, uint32_t);
if (r->out.unknown == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_GetBootKeyInformation(cli->pipes_struct, r);
@@ -6168,7 +6168,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.connect_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.connect_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_Connect3(cli->pipes_struct, r);
@@ -6180,7 +6180,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.connect_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.connect_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_Connect4(cli->pipes_struct, r);
@@ -6192,12 +6192,12 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.dominfo = talloc_zero(mem_ctx, struct samr_DomInfo1 *);
if (r->out.dominfo == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.reject = talloc_zero(mem_ctx, struct userPwdChangeFailureInformation *);
if (r->out.reject == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_ChangePasswordUser3(cli->pipes_struct, r);
@@ -6209,17 +6209,17 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.level_out = talloc_zero(mem_ctx, uint32_t);
if (r->out.level_out == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info_out = talloc_zero(mem_ctx, union samr_ConnectInfo);
if (r->out.info_out == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.connect_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.connect_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_Connect5(cli->pipes_struct, r);
@@ -6231,7 +6231,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.sid = talloc_zero(mem_ctx, struct dom_sid2 *);
if (r->out.sid == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_RidToSid(cli->pipes_struct, r);
@@ -6249,7 +6249,7 @@ NTSTATUS rpc_samr_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, con
ZERO_STRUCT(r->out);
r->out.rep = talloc_zero(mem_ctx, union samr_ValidatePasswordRep *);
if (r->out.rep == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _samr_ValidatePassword(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_spoolss.c b/librpc/gen_ndr/srv_spoolss.c
index 236467a00b..0ac29d408a 100644
--- a/librpc/gen_ndr/srv_spoolss.c
+++ b/librpc/gen_ndr/srv_spoolss.c
@@ -8659,17 +8659,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.count = talloc_zero(mem_ctx, uint32_t);
if (r->out.count == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union spoolss_PrinterInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumPrinters(cli->pipes_struct, r);
@@ -8681,7 +8681,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_OpenPrinter(cli->pipes_struct, r);
@@ -8699,12 +8699,12 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union spoolss_JobInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetJob(cli->pipes_struct, r);
@@ -8716,17 +8716,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.count = talloc_zero(mem_ctx, uint32_t);
if (r->out.count == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union spoolss_JobInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumJobs(cli->pipes_struct, r);
@@ -8738,7 +8738,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_AddPrinter(cli->pipes_struct, r);
@@ -8762,12 +8762,12 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union spoolss_PrinterInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetPrinter(cli->pipes_struct, r);
@@ -8785,17 +8785,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.count = talloc_zero(mem_ctx, uint32_t);
if (r->out.count == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union spoolss_DriverInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumPrinterDrivers(cli->pipes_struct, r);
@@ -8807,12 +8807,12 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union spoolss_DriverInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetPrinterDriver(cli->pipes_struct, r);
@@ -8824,12 +8824,12 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union spoolss_DriverDirectoryInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetPrinterDriverDirectory(cli->pipes_struct, r);
@@ -8853,17 +8853,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.count = talloc_zero(mem_ctx, uint32_t);
if (r->out.count == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union spoolss_PrintProcessorInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumPrintProcessors(cli->pipes_struct, r);
@@ -8875,12 +8875,12 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union spoolss_PrintProcessorDirectoryInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetPrintProcessorDirectory(cli->pipes_struct, r);
@@ -8892,7 +8892,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.job_id = talloc_zero(mem_ctx, uint32_t);
if (r->out.job_id == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_StartDocPrinter(cli->pipes_struct, r);
@@ -8910,7 +8910,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.num_written = talloc_zero(mem_ctx, uint32_t);
if (r->out.num_written == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_WritePrinter(cli->pipes_struct, r);
@@ -8934,12 +8934,12 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.data = talloc_zero_array(mem_ctx, uint8_t, r->in.data_size);
if (r->out.data == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out._data_size = talloc_zero(mem_ctx, uint32_t);
if (r->out._data_size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_ReadPrinter(cli->pipes_struct, r);
@@ -8958,7 +8958,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.buffer = r->in.buffer;
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_AddJob(cli->pipes_struct, r);
@@ -8976,17 +8976,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.type = talloc_zero(mem_ctx, enum winreg_Type);
if (r->out.type == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.data = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.data == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetPrinterData(cli->pipes_struct, r);
@@ -9030,12 +9030,12 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union spoolss_FormInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetForm(cli->pipes_struct, r);
@@ -9053,17 +9053,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.count = talloc_zero(mem_ctx, uint32_t);
if (r->out.count == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union spoolss_FormInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumForms(cli->pipes_struct, r);
@@ -9075,17 +9075,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.count = talloc_zero(mem_ctx, uint32_t);
if (r->out.count == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union spoolss_PortInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumPorts(cli->pipes_struct, r);
@@ -9097,17 +9097,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.count = talloc_zero(mem_ctx, uint32_t);
if (r->out.count == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union spoolss_MonitorInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumMonitors(cli->pipes_struct, r);
@@ -9137,7 +9137,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.gdi_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.gdi_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_CreatePrinterIC(cli->pipes_struct, r);
@@ -9211,17 +9211,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.count = talloc_zero(mem_ctx, uint32_t);
if (r->out.count == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, union spoolss_PrintProcDataTypesInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumPrintProcDataTypes(cli->pipes_struct, r);
@@ -9239,22 +9239,22 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union spoolss_DriverInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.server_major_version = talloc_zero(mem_ctx, uint32_t);
if (r->out.server_major_version == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.server_minor_version = talloc_zero(mem_ctx, uint32_t);
if (r->out.server_minor_version == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetPrinterDriver2(cli->pipes_struct, r);
@@ -9290,7 +9290,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_ReplyOpenPrinter(cli->pipes_struct, r);
@@ -9346,7 +9346,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.reply_result = talloc_zero(mem_ctx, uint32_t);
if (r->out.reply_result == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_RouterReplyPrinterEx(cli->pipes_struct, r);
@@ -9358,7 +9358,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct spoolss_NotifyInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_RouterRefreshPrinterChangeNotify(cli->pipes_struct, r);
@@ -9376,7 +9376,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_OpenPrinterEx(cli->pipes_struct, r);
@@ -9388,7 +9388,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_AddPrinterEx(cli->pipes_struct, r);
@@ -9406,27 +9406,27 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.value_name = talloc_zero_array(mem_ctx, const char, r->in.value_offered / 2);
if (r->out.value_name == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.value_needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.value_needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.type = talloc_zero(mem_ctx, enum winreg_Type);
if (r->out.type == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.data = talloc_zero_array(mem_ctx, uint8_t, r->in.data_offered);
if (r->out.data == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.data_needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.data_needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumPrinterData(cli->pipes_struct, r);
@@ -9468,17 +9468,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.type = talloc_zero(mem_ctx, enum winreg_Type);
if (r->out.type == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.data = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.data == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetPrinterDataEx(cli->pipes_struct, r);
@@ -9490,17 +9490,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.count = talloc_zero(mem_ctx, uint32_t);
if (r->out.count == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.info = talloc_zero(mem_ctx, struct spoolss_PrinterEnumValues *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumPrinterDataEx(cli->pipes_struct, r);
@@ -9512,17 +9512,17 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out._ndr_size = talloc_zero(mem_ctx, uint32_t);
if (r->out._ndr_size == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.key_buffer = talloc_zero(mem_ctx, union spoolss_KeyNames);
if (r->out.key_buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_EnumPrinterKey(cli->pipes_struct, r);
@@ -9577,12 +9577,12 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.status_code = r->in.status_code;
r->out.out_data = talloc_zero_array(mem_ctx, uint8_t, r->in.out_data_size);
if (r->out.out_data == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_XcvData(cli->pipes_struct, r);
@@ -9672,7 +9672,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
ZERO_STRUCT(r->out);
r->out.core_printer_drivers = talloc_zero_array(mem_ctx, struct spoolss_CorePrinterDriver, r->in.core_printer_driver_count);
if (r->out.core_printer_drivers == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetCorePrinterDrivers(cli->pipes_struct, r);
@@ -9691,7 +9691,7 @@ NTSTATUS rpc_spoolss_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
r->out.driver_package_cab = r->in.driver_package_cab;
r->out.required = talloc_zero(mem_ctx, uint32_t);
if (r->out.required == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _spoolss_GetPrinterDriverPackagePath(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_srvsvc.c b/librpc/gen_ndr/srv_srvsvc.c
index f024c177c4..96852f426e 100644
--- a/librpc/gen_ndr/srv_srvsvc.c
+++ b/librpc/gen_ndr/srv_srvsvc.c
@@ -4205,7 +4205,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.totalentries = talloc_zero(mem_ctx, uint32_t);
if (r->out.totalentries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetCharDevEnum(cli->pipes_struct, r);
@@ -4217,7 +4217,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union srvsvc_NetCharDevInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetCharDevGetInfo(cli->pipes_struct, r);
@@ -4237,7 +4237,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.totalentries = talloc_zero(mem_ctx, uint32_t);
if (r->out.totalentries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetCharDevQEnum(cli->pipes_struct, r);
@@ -4249,7 +4249,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union srvsvc_NetCharDevQInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetCharDevQGetInfo(cli->pipes_struct, r);
@@ -4283,7 +4283,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.totalentries = talloc_zero(mem_ctx, uint32_t);
if (r->out.totalentries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetConnEnum(cli->pipes_struct, r);
@@ -4297,7 +4297,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.totalentries = talloc_zero(mem_ctx, uint32_t);
if (r->out.totalentries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetFileEnum(cli->pipes_struct, r);
@@ -4309,7 +4309,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union srvsvc_NetFileInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetFileGetInfo(cli->pipes_struct, r);
@@ -4329,7 +4329,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.totalentries = talloc_zero(mem_ctx, uint32_t);
if (r->out.totalentries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetSessEnum(cli->pipes_struct, r);
@@ -4357,7 +4357,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.totalentries = talloc_zero(mem_ctx, uint32_t);
if (r->out.totalentries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetShareEnumAll(cli->pipes_struct, r);
@@ -4369,7 +4369,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union srvsvc_NetShareInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetShareGetInfo(cli->pipes_struct, r);
@@ -4401,7 +4401,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.type = talloc_zero(mem_ctx, enum srvsvc_ShareType);
if (r->out.type == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetShareCheck(cli->pipes_struct, r);
@@ -4413,7 +4413,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union srvsvc_NetSrvInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetSrvGetInfo(cli->pipes_struct, r);
@@ -4435,7 +4435,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.totalentries = talloc_zero(mem_ctx, uint32_t);
if (r->out.totalentries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetDiskEnum(cli->pipes_struct, r);
@@ -4447,7 +4447,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.stats = talloc_zero(mem_ctx, struct srvsvc_Statistics *);
if (r->out.stats == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetServerStatisticsGet(cli->pipes_struct, r);
@@ -4467,7 +4467,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.totalentries = talloc_zero(mem_ctx, uint32_t);
if (r->out.totalentries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetTransportEnum(cli->pipes_struct, r);
@@ -4485,7 +4485,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct srvsvc_NetRemoteTODInfo *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetRemoteTOD(cli->pipes_struct, r);
@@ -4503,7 +4503,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.pathtype = talloc_zero(mem_ctx, uint32_t);
if (r->out.pathtype == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetPathType(cli->pipes_struct, r);
@@ -4516,7 +4516,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.pathtype = r->in.pathtype;
r->out.can_path = talloc_zero_array(mem_ctx, uint8_t, r->in.maxbuf);
if (r->out.can_path == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetPathCanonicalize(cli->pipes_struct, r);
@@ -4554,7 +4554,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.totalentries = talloc_zero(mem_ctx, uint32_t);
if (r->out.totalentries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetShareEnum(cli->pipes_struct, r);
@@ -4566,7 +4566,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.hnd = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.hnd == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetShareDelStart(cli->pipes_struct, r);
@@ -4586,7 +4586,7 @@ NTSTATUS rpc_srvsvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.sd_buf = talloc_zero(mem_ctx, struct sec_desc_buf *);
if (r->out.sd_buf == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _srvsvc_NetGetFileSecurity(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_svcctl.c b/librpc/gen_ndr/srv_svcctl.c
index cd5a0eec65..e218c83026 100644
--- a/librpc/gen_ndr/srv_svcctl.c
+++ b/librpc/gen_ndr/srv_svcctl.c
@@ -3630,7 +3630,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.service_status = talloc_zero(mem_ctx, struct SERVICE_STATUS);
if (r->out.service_status == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_ControlService(cli->pipes_struct, r);
@@ -3648,7 +3648,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.lock = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.lock == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_LockServiceDatabase(cli->pipes_struct, r);
@@ -3660,12 +3660,12 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.buffer = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_QueryServiceObjectSecurity(cli->pipes_struct, r);
@@ -3683,7 +3683,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.service_status = talloc_zero(mem_ctx, struct SERVICE_STATUS);
if (r->out.service_status == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_QueryServiceStatus(cli->pipes_struct, r);
@@ -3721,7 +3721,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.tag_id = talloc_zero(mem_ctx, uint32_t);
if (r->out.tag_id == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_ChangeServiceConfigW(cli->pipes_struct, r);
@@ -3734,7 +3734,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.TagId = r->in.TagId;
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_CreateServiceW(cli->pipes_struct, r);
@@ -3746,17 +3746,17 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.service_status = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.service_status == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.services_returned = talloc_zero(mem_ctx, uint32_t);
if (r->out.services_returned == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_EnumDependentServicesW(cli->pipes_struct, r);
@@ -3769,17 +3769,17 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.service = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.service == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.services_returned = talloc_zero(mem_ctx, uint32_t);
if (r->out.services_returned == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_EnumServicesStatusW(cli->pipes_struct, r);
@@ -3791,7 +3791,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_OpenSCManagerW(cli->pipes_struct, r);
@@ -3803,7 +3803,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_OpenServiceW(cli->pipes_struct, r);
@@ -3815,12 +3815,12 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.query = talloc_zero(mem_ctx, struct QUERY_SERVICE_CONFIG);
if (r->out.query == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_QueryServiceConfigW(cli->pipes_struct, r);
@@ -3832,12 +3832,12 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.lock_status = talloc_zero(mem_ctx, struct SERVICE_LOCK_STATUS);
if (r->out.lock_status == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_QueryServiceLockStatusW(cli->pipes_struct, r);
@@ -3856,7 +3856,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.display_name_length = r->in.display_name_length;
r->out.display_name = talloc_zero(mem_ctx, const char *);
if (r->out.display_name == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_GetServiceDisplayNameW(cli->pipes_struct, r);
@@ -3869,7 +3869,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.display_name_length = r->in.display_name_length;
r->out.key_name = talloc_zero(mem_ctx, const char *);
if (r->out.key_name == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_GetServiceKeyNameW(cli->pipes_struct, r);
@@ -3887,7 +3887,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.tag_id = talloc_zero(mem_ctx, uint32_t);
if (r->out.tag_id == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_ChangeServiceConfigA(cli->pipes_struct, r);
@@ -3899,7 +3899,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.TagId = talloc_zero(mem_ctx, uint32_t);
if (r->out.TagId == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_CreateServiceA(cli->pipes_struct, r);
@@ -3911,17 +3911,17 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.service_status = talloc_zero(mem_ctx, struct ENUM_SERVICE_STATUSA);
if (r->out.service_status == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.services_returned = talloc_zero(mem_ctx, uint32_t);
if (r->out.services_returned == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_EnumDependentServicesA(cli->pipes_struct, r);
@@ -3934,17 +3934,17 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.service = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.service == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.services_returned = talloc_zero(mem_ctx, uint32_t);
if (r->out.services_returned == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_EnumServicesStatusA(cli->pipes_struct, r);
@@ -3956,7 +3956,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_OpenSCManagerA(cli->pipes_struct, r);
@@ -3974,12 +3974,12 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.query = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.query == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_QueryServiceConfigA(cli->pipes_struct, r);
@@ -3991,12 +3991,12 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.lock_status = talloc_zero(mem_ctx, struct SERVICE_LOCK_STATUS);
if (r->out.lock_status == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_QueryServiceLockStatusA(cli->pipes_struct, r);
@@ -4015,7 +4015,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.display_name_length = r->in.display_name_length;
r->out.display_name = talloc_zero(mem_ctx, const char *);
if (r->out.display_name == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_GetServiceDisplayNameA(cli->pipes_struct, r);
@@ -4028,7 +4028,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.display_name_length = r->in.display_name_length;
r->out.key_name = talloc_zero(mem_ctx, const char *);
if (r->out.key_name == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_GetServiceKeyNameA(cli->pipes_struct, r);
@@ -4064,12 +4064,12 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.buffer = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_QueryServiceConfig2A(cli->pipes_struct, r);
@@ -4081,12 +4081,12 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.buffer = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_QueryServiceConfig2W(cli->pipes_struct, r);
@@ -4098,12 +4098,12 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.buffer = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.buffer == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _svcctl_QueryServiceStatusEx(cli->pipes_struct, r);
@@ -4116,22 +4116,22 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.services = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.services == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.service_returned = talloc_zero(mem_ctx, uint32_t);
if (r->out.service_returned == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.group_name = talloc_zero(mem_ctx, const char *);
if (r->out.group_name == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _EnumServicesStatusExA(cli->pipes_struct, r);
@@ -4144,17 +4144,17 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.services = talloc_zero_array(mem_ctx, uint8_t, r->in.offered);
if (r->out.services == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.service_returned = talloc_zero(mem_ctx, uint32_t);
if (r->out.service_returned == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _EnumServicesStatusExW(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_winreg.c b/librpc/gen_ndr/srv_winreg.c
index ce266c7681..c242fd4a6f 100644
--- a/librpc/gen_ndr/srv_winreg.c
+++ b/librpc/gen_ndr/srv_winreg.c
@@ -2862,7 +2862,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_OpenHKCR(cli->pipes_struct, r);
@@ -2874,7 +2874,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_OpenHKCU(cli->pipes_struct, r);
@@ -2886,7 +2886,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_OpenHKLM(cli->pipes_struct, r);
@@ -2898,7 +2898,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_OpenHKPD(cli->pipes_struct, r);
@@ -2910,7 +2910,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_OpenHKU(cli->pipes_struct, r);
@@ -2931,7 +2931,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.action_taken = r->in.action_taken;
r->out.new_handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.new_handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_CreateKey(cli->pipes_struct, r);
@@ -3003,7 +3003,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_OpenKey(cli->pipes_struct, r);
@@ -3016,42 +3016,42 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.classname = r->in.classname;
r->out.num_subkeys = talloc_zero(mem_ctx, uint32_t);
if (r->out.num_subkeys == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.max_subkeylen = talloc_zero(mem_ctx, uint32_t);
if (r->out.max_subkeylen == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.max_classlen = talloc_zero(mem_ctx, uint32_t);
if (r->out.max_classlen == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.num_values = talloc_zero(mem_ctx, uint32_t);
if (r->out.num_values == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.max_valnamelen = talloc_zero(mem_ctx, uint32_t);
if (r->out.max_valnamelen == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.max_valbufsize = talloc_zero(mem_ctx, uint32_t);
if (r->out.max_valbufsize == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.secdescsize = talloc_zero(mem_ctx, uint32_t);
if (r->out.secdescsize == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.last_changed_time = talloc_zero(mem_ctx, NTTIME);
if (r->out.last_changed_time == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_QueryInfoKey(cli->pipes_struct, r);
@@ -3122,7 +3122,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.version = talloc_zero(mem_ctx, uint32_t);
if (r->out.version == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_GetVersion(cli->pipes_struct, r);
@@ -3134,7 +3134,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_OpenHKCC(cli->pipes_struct, r);
@@ -3146,7 +3146,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_OpenHKDD(cli->pipes_struct, r);
@@ -3180,7 +3180,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_OpenHKPT(cli->pipes_struct, r);
@@ -3192,7 +3192,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.handle = talloc_zero(mem_ctx, struct policy_handle);
if (r->out.handle == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_OpenHKPN(cli->pipes_struct, r);
@@ -3206,7 +3206,7 @@ NTSTATUS rpc_winreg_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.buffer = r->in.buffer;
r->out.needed = talloc_zero(mem_ctx, uint32_t);
if (r->out.needed == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _winreg_QueryMultipleValues2(cli->pipes_struct, r);
diff --git a/librpc/gen_ndr/srv_wkssvc.c b/librpc/gen_ndr/srv_wkssvc.c
index eab971f42b..d5ab4b1005 100644
--- a/librpc/gen_ndr/srv_wkssvc.c
+++ b/librpc/gen_ndr/srv_wkssvc.c
@@ -2419,7 +2419,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union wkssvc_NetWkstaInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetWkstaGetInfo(cli->pipes_struct, r);
@@ -2441,7 +2441,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.entries_read = talloc_zero(mem_ctx, uint32_t);
if (r->out.entries_read == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetWkstaEnumUsers(cli->pipes_struct, r);
@@ -2453,7 +2453,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, union wkssvc_NetrWkstaUserInfo);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetrWkstaUserGetInfo(cli->pipes_struct, r);
@@ -2475,7 +2475,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.total_entries = talloc_zero(mem_ctx, uint32_t);
if (r->out.total_entries == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetWkstaTransportEnum(cli->pipes_struct, r);
@@ -2509,7 +2509,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.ctr = talloc_zero(mem_ctx, union wkssvc_NetrUseGetInfoCtr);
if (r->out.ctr == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetrUseGetInfo(cli->pipes_struct, r);
@@ -2529,7 +2529,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.resume_handle = r->in.resume_handle;
r->out.entries_read = talloc_zero(mem_ctx, uint32_t);
if (r->out.entries_read == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetrUseEnum(cli->pipes_struct, r);
@@ -2547,7 +2547,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.info = talloc_zero(mem_ctx, struct wkssvc_NetrWorkstationStatistics *);
if (r->out.info == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetrWorkstationStatisticsGet(cli->pipes_struct, r);
@@ -2596,7 +2596,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.name_buffer = r->in.name_buffer;
r->out.name_type = talloc_zero(mem_ctx, enum wkssvc_NetJoinStatus);
if (r->out.name_type == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetrGetJoinInformation(cli->pipes_struct, r);
@@ -2609,7 +2609,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.num_ous = r->in.num_ous;
r->out.ous = talloc_zero(mem_ctx, const char **);
if (r->out.ous == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetrGetJoinableOus(cli->pipes_struct, r);
@@ -2646,7 +2646,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
r->out.num_ous = r->in.num_ous;
r->out.ous = talloc_zero(mem_ctx, const char **);
if (r->out.ous == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetrGetJoinableOus2(cli->pipes_struct, r);
@@ -2676,7 +2676,7 @@ NTSTATUS rpc_wkssvc_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c
ZERO_STRUCT(r->out);
r->out.ctr = talloc_zero(mem_ctx, struct wkssvc_ComputerNamesCtr *);
if (r->out.ctr == NULL) {
- return NT_STATUS_NO_MEMORY;
+ return NT_STATUS_NO_MEMORY;
}
r->out.result = _wkssvc_NetrEnumerateComputerNames(cli->pipes_struct, r);