Title: #5881: SDAP: Do not fail ASQ search when parsing a referenced entry fails
thanks, so the behavior is insistent, depending on the value of `ldap_deref_threshold`. I
guess the reason is
in the branch which is taken if `ldap_deref_threshold = 0`. So the new option should be
evaluated here as well to make the behavior consistent.
I'm wondering what would be a good default? If we try to be secure by default we have
to assume that the LDAP permissions are unintentional and SSSD should fail. But this would
break existing setup which use `ldap_deref_threshold = 0` as a workaround. The latter
would mean that we might want to wait with this change of behavior until 2.7. @pbrezina ,
@alexey-tikhonov what do you think?
See the full comment at https://github.com/SSSD/sssd/pull/5881#issuecomment-975573308