summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_access.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_access.c b/src/providers/ipa/ipa_access.c
index 7e2bf8df..42731f24 100644
--- a/src/providers/ipa/ipa_access.c
+++ b/src/providers/ipa/ipa_access.c
@@ -145,6 +145,11 @@ static errno_t hbac_sysdb_data_recv(TALLOC_CTX *mem_ctx,
ret = sysdb_search_custom(mem_ctx, sysdb, domain, filter, subtree_name,
search_attrs, count, &msgs);
if (ret != EOK) {
+ if (ret == ENOENT) {
+ *count = 0;
+ *reply_attrs = NULL;
+ return EOK;
+ }
DEBUG(1, ("sysdb_search_custom failed.\n"));
return ret;
}