summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2014-07-03 12:45:43 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-22 18:32:59 +0200
commitc123f5352ac406b5d02acab88642a9564fe31381 (patch)
treef65fdea0b5e0fb47c6271996611a8bd68da5af1a
parent5001bab712149a27ab37697d487b3f51082df26d (diff)
downloadsssd-c123f5352ac406b5d02acab88642a9564fe31381.tar.gz
sssd-c123f5352ac406b5d02acab88642a9564fe31381.tar.xz
sssd-c123f5352ac406b5d02acab88642a9564fe31381.zip
ad: comment ENOENT when id mapping is disabled
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> (cherry picked from commit e6fa71b990d7068d66b98015ae54aae399cc84f1)
-rw-r--r--src/providers/ldap/sdap_async_initgroups_ad.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups_ad.c b/src/providers/ldap/sdap_async_initgroups_ad.c
index 0ca8f2b04..635498d4f 100644
--- a/src/providers/ldap/sdap_async_initgroups_ad.c
+++ b/src/providers/ldap/sdap_async_initgroups_ad.c
@@ -650,6 +650,9 @@ static void sdap_ad_resolve_sids_done(struct tevent_req *subreq)
talloc_zfree(subreq);
if (ret == EOK && sdap_error == ENOENT && dp_error == DP_ERR_OK) {
+ /* Group was not found, we will ignore the error and continue with
+ * next group. This may happen for example if the group is built-in,
+ * but a custom search base is provided. */
DEBUG(SSSDBG_CRIT_FAILURE,
"Unable to resolve SID %s - will try next sid.\n",
state->current_sid);