summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/providers/ldap/ldap_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_common.c b/src/providers/ldap/ldap_common.c
index 6484556bd..da5786fbf 100644
--- a/src/providers/ldap/ldap_common.c
+++ b/src/providers/ldap/ldap_common.c
@@ -1491,7 +1491,7 @@ sdap_attrs_get_sid_str(TALLOC_CTX *mem_ctx,
DEBUG(SSSDBG_MINOR_FAILURE,
("No [%s] attribute while id-mapping. [%d][%s]\n",
sid_attr, el->num_values, strerror(ret)));
- return ret;
+ return ENOENT;
}
err = sss_idmap_bin_sid_to_sid(idmap_ctx->map,