From 7ac513a054d76fa8b758fefbee5ba3467aeab48a Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 24 Sep 2012 11:27:48 -0400 Subject: AD: Handle sysdb lookup failure during tokenGroups processing --- src/providers/ldap/sdap_async_initgroups_ad.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/providers') diff --git a/src/providers/ldap/sdap_async_initgroups_ad.c b/src/providers/ldap/sdap_async_initgroups_ad.c index 1333e308..7da3f508 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] = -- cgit