mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
idmap_tdb: If one SID fails to map, try the rest
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
0e2e635205
commit
6f2ccb5973
@ -577,8 +577,11 @@ static NTSTATUS idmap_tdb_common_sids_to_unixids_action(struct db_context *db,
|
||||
ret =
|
||||
idmap_tdb_common_new_mapping(state->dom,
|
||||
state->ids[i]);
|
||||
DBG_DEBUG("idmap_tdb_common_new_mapping returned %s\n",
|
||||
nt_errstr(ret));
|
||||
if (!NT_STATUS_IS_OK(ret)) {
|
||||
goto done;
|
||||
ret = STATUS_SOME_UNMAPPED;
|
||||
continue;
|
||||
}
|
||||
num_mapped += 1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user