summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/idmap_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_util.c b/source3/winbindd/idmap_util.c
index 7bd81a141d..e671acf837 100644
--- a/source3/winbindd/idmap_util.c
+++ b/source3/winbindd/idmap_util.c
@@ -70,7 +70,7 @@ backend:
if ( ! NT_STATUS_IS_OK(ret)) {
DEBUG(10, ("error mapping uid [%lu]: %s\n", (unsigned long)uid,
nt_errstr(ret)));
- return ret;
+ map.status = ID_UNMAPPED;
}
if (map.status != ID_MAPPED) {
@@ -134,7 +134,7 @@ backend:
if ( ! NT_STATUS_IS_OK(ret)) {
DEBUG(10, ("error mapping gid [%lu]: %s\n", (unsigned long)gid,
nt_errstr(ret)));
- return ret;
+ map.status = ID_UNMAPPED;
}
if (map.status != ID_MAPPED) {