diff options
author | Pavel Březina <pbrezina@redhat.com> | 2014-07-03 12:45:43 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-22 18:28:45 +0200 |
commit | e6fa71b990d7068d66b98015ae54aae399cc84f1 (patch) | |
tree | 83e5dc792fa38a78ddcd28c5739404cfe128516a | |
parent | d8dc383c438fad9b3b5ce4ad9e5c67271b22bf3a (diff) | |
download | sssd-e6fa71b990d7068d66b98015ae54aae399cc84f1.tar.gz sssd-e6fa71b990d7068d66b98015ae54aae399cc84f1.tar.xz sssd-e6fa71b990d7068d66b98015ae54aae399cc84f1.zip |
ad: comment ENOENT when id mapping is disabled
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
-rw-r--r-- | src/providers/ldap/sdap_async_initgroups_ad.c | 3 |
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 5bcc1ec02..c3b801ab1 100644 --- a/src/providers/ldap/sdap_async_initgroups_ad.c +++ b/src/providers/ldap/sdap_async_initgroups_ad.c @@ -648,6 +648,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); |