summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-12-18 15:53:21 +0100
committerVolker Lendecke <vl@samba.org>2019-01-08 09:32:10 +0100
commit6f2ccb59734440e5844d6ef703a41e032f7d1663 (patch)
tree35077090ef83fbee925db7496e9ddadeed71e4e2 /source3/winbindd
parent0e2e6352054a9b4f2c211e9fa3ca3563421e792b (diff)
downloadsamba-6f2ccb59734440e5844d6ef703a41e032f7d1663.tar.gz
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>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_tdb_common.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/winbindd/idmap_tdb_common.c b/source3/winbindd/idmap_tdb_common.c
index e130be08245..34269e3fe56 100644
--- a/source3/winbindd/idmap_tdb_common.c
+++ b/source3/winbindd/idmap_tdb_common.c
@@ -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;
}