summaryrefslogtreecommitdiff
path: root/source4/rpc_server/lsa
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-04-29 11:48:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:14 -0500
commit657325d684b838ee7dd6379a4a6034c1fedabcae (patch)
tree1cdb644eee717fbdb46bf4e660801f0c896cd960 /source4/rpc_server/lsa
parenta3b8cfbc8f5b18a342dee79fd9928cbcc2fbb025 (diff)
downloadsamba-657325d684b838ee7dd6379a4a6034c1fedabcae.tar.gz
samba-657325d684b838ee7dd6379a4a6034c1fedabcae.tar.bz2
samba-657325d684b838ee7dd6379a4a6034c1fedabcae.zip
r15319: remove unneeded macros
metze (This used to be commit 9611c8aa9ce0eba1703d5eecc52e67a9e5fba15f)
Diffstat (limited to 'source4/rpc_server/lsa')
-rw-r--r--source4/rpc_server/lsa/dcesrv_lsa.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c
index 9d3b55c9e6..ff819985a8 100644
--- a/source4/rpc_server/lsa/dcesrv_lsa.c
+++ b/source4/rpc_server/lsa/dcesrv_lsa.c
@@ -1088,7 +1088,7 @@ static NTSTATUS lsa_lookup_sid(struct lsa_policy_state *state, TALLOC_CTX *mem_c
*name = ldb_msg_find_string(res[0], "name", NULL);
if (!*name) {
*name = talloc_strdup(mem_ctx, sid_str);
- NTSTATUS_TALLOC_CHECK(*name);
+ NT_STATUS_HAVE_NO_MEMORY(*name);
}
}
@@ -2425,14 +2425,14 @@ static NTSTATUS lsa_GetUserName(struct dcesrv_call_state *dce_call, TALLOC_CTX *
authority_name = talloc_reference(mem_ctx, dce_call->conn->auth_state.session_info->server_info->domain_name);
_account_name = talloc(mem_ctx, struct lsa_String);
- NTSTATUS_TALLOC_CHECK(_account_name);
+ NT_STATUS_HAVE_NO_MEMORY(_account_name);
_account_name->string = account_name;
if (r->in.authority_name) {
_authority_name = talloc(mem_ctx, struct lsa_StringPointer);
- NTSTATUS_TALLOC_CHECK(_authority_name);
+ NT_STATUS_HAVE_NO_MEMORY(_authority_name);
_authority_name->string = talloc(mem_ctx, struct lsa_String);
- NTSTATUS_TALLOC_CHECK(_authority_name->string);
+ NT_STATUS_HAVE_NO_MEMORY(_authority_name->string);
_authority_name->string->string = authority_name;
}