diff options
-rw-r--r-- | src/providers/ldap/sdap_async.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c index a8ea53113..8979de466 100644 --- a/src/providers/ldap/sdap_async.c +++ b/src/providers/ldap/sdap_async.c @@ -1799,8 +1799,13 @@ static errno_t sdap_x_deref_parse_entry(struct sdap_handle *sh, } if (!ctrls) { + /* When we attempt to request attributes that are not present in + * the dereferenced links, some serves might not send the dereference + * control back at all. Be permissive and treat the search as if + * it didn't find anything. + */ DEBUG(SSSDBG_MINOR_FAILURE, "No controls found for entry\n"); - ret = ENOENT; + ret = EOK; goto done; } |