summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/providers/ldap/sdap_async_accounts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_async_accounts.c b/src/providers/ldap/sdap_async_accounts.c
index 8fd7cf2a..1ece3d80 100644
--- a/src/providers/ldap/sdap_async_accounts.c
+++ b/src/providers/ldap/sdap_async_accounts.c
@@ -2722,7 +2722,7 @@ static int sdap_initgr_nested_store_group(struct sysdb_ctx *sysdb,
}
sysdb_grouplist[i] = NULL;
} else if (ret == ENOENT) {
- direct_sysdb_groups = NULL;
+ sysdb_grouplist = NULL;
direct_sysdb_count = 0;
} else {
DEBUG(2, ("sysdb_search_entry failed: [%d]: %s\n", ret, strerror(ret)));