summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_initgroups_ad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_initgroups_ad.c b/src/providers/ldap/sdap_async_initgroups_ad.c
index 394a5b0e9..351aca5da 100644
--- a/src/providers/ldap/sdap_async_initgroups_ad.c
+++ b/src/providers/ldap/sdap_async_initgroups_ad.c
@@ -569,7 +569,7 @@ sdap_ad_resolve_sids_send(TALLOC_CTX *mem_ctx,
state->sids = sids;
state->index = 0;
- if (state->sids == NULL) {
+ if (state->sids == NULL || state->sids[0] == NULL) {
ret = EOK;
goto immediately;
}