summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2012-09-24 11:27:48 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-09-24 18:15:57 +0200
commit7ac513a054d76fa8b758fefbee5ba3467aeab48a (patch)
tree53d29b1f1253b48d52b510e010a5fa36b0b6d833 /src
parentc3f27432d012dd72f0282bc2c0962264bafacabd (diff)
downloadsssd-7ac513a054d76fa8b758fefbee5ba3467aeab48a.tar.gz
sssd-7ac513a054d76fa8b758fefbee5ba3467aeab48a.tar.bz2
sssd-7ac513a054d76fa8b758fefbee5ba3467aeab48a.zip
AD: Handle sysdb lookup failure during tokenGroups processing
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_initgroups_ad.c6
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 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] =