s4-lsa: fixed breakage of lsa server
[ira/wip.git] / source4 / rpc_server / lsa / lsa_lookup.c
index 27371ea8d1d339673dca39be023c0590ecf67234..a164ad6d94ecb831b05a9c92eae1ca8f8f917775 100644 (file)
@@ -419,6 +419,7 @@ static NTSTATUS dcesrv_lsa_lookup_name(struct tevent_context *ev_ctx,
                        return STATUS_SOME_UNMAPPED;
                }
 
+               dom_sid_split_rid(NULL, *sid, NULL, rid);
                return NT_STATUS_OK;
        }