diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-09-24 11:27:48 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-24 18:15:57 +0200 |
commit | 7ac513a054d76fa8b758fefbee5ba3467aeab48a (patch) | |
tree | 53d29b1f1253b48d52b510e010a5fa36b0b6d833 /src/providers | |
parent | c3f27432d012dd72f0282bc2c0962264bafacabd (diff) | |
download | sssd-7ac513a054d76fa8b758fefbee5ba3467aeab48a.tar.gz sssd-7ac513a054d76fa8b758fefbee5ba3467aeab48a.tar.xz sssd-7ac513a054d76fa8b758fefbee5ba3467aeab48a.zip |
AD: Handle sysdb lookup failure during tokenGroups processing
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ldap/sdap_async_initgroups_ad.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups_ad.c b/src/providers/ldap/sdap_async_initgroups_ad.c index 1333e3080..7da3f5088 100644 --- a/src/providers/ldap/sdap_async_initgroups_ad.c +++ b/src/providers/ldap/sdap_async_initgroups_ad.c @@ -489,6 +489,12 @@ sdap_get_ad_tokengroups_initgroups_lookup_done(struct tevent_req *subreq) strerror(ret))); goto done; } + } else { + /* Unexpected error */ + DEBUG(SSSDBG_MINOR_FAILURE, + ("Could not look up group in sysdb: [%s]\n", + strerror(ret))); + goto done; } ldap_grouplist[group_count] = |