1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

s4:rpc_server: Implement epmapper LookupHandleFree

Signed-off-by: Samuel Cabrero <scabrero@samba.org>
Reviewed-by: David Mulder <dmulder@suse.com>
Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Samuel Cabrero <scabrero@samba.org>
Autobuild-Date(master): Tue Jul  7 13:43:14 UTC 2020 on sn-devel-184
This commit is contained in:
Samuel Cabrero 2020-06-29 12:49:33 +02:00 committed by Samuel Cabrero
parent 072cdbd371
commit 61e93698e5
2 changed files with 10 additions and 2 deletions

View File

@ -88,7 +88,6 @@
^samba4.rpc.wkssvc
^samba4.rpc.handles.*.lsarpc-shared
^samba4.rpc.epmapper.*.Lookup_simple
^samba4.rpc.epmapper.*.Lookup_terminate_search
^samba4.rpc.epmapper.*.Map_simple
^samba4.rpc.epmapper.*.Map_full
^samba4.rpc.lsalookup on ncalrpc

View File

@ -261,7 +261,16 @@ failed:
static error_status_t dcesrv_epm_LookupHandleFree(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,
struct epm_LookupHandleFree *r)
{
DCESRV_FAULT(DCERPC_FAULT_OP_RNG_ERROR);
struct dcesrv_handle *h = NULL;
r->out.entry_handle = r->in.entry_handle;
DCESRV_PULL_HANDLE_FAULT(h, r->in.entry_handle, HTYPE_LOOKUP);
TALLOC_FREE(h);
ZERO_STRUCTP(r->out.entry_handle);
return EPMAPPER_STATUS_OK;
}
static error_status_t dcesrv_epm_InqObject(struct dcesrv_call_state *dce_call, TALLOC_CTX *mem_ctx,