From fd21ca460115a5d51d0db6e5ac759b8aff51ab99 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 3 Nov 2011 11:34:53 +0100 Subject: Use correct state struct in sdap_initgr_rfc2307bis_next_base --- src/providers/ldap/sdap_async_initgroups.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/providers/ldap/sdap_async_initgroups.c b/src/providers/ldap/sdap_async_initgroups.c index 9056dcc5..8a9160d4 100644 --- a/src/providers/ldap/sdap_async_initgroups.c +++ b/src/providers/ldap/sdap_async_initgroups.c @@ -1244,6 +1244,7 @@ struct sdap_initgr_rfc2307bis_state { struct sdap_handle *sh; const char *name; const char *base_filter; + char *filter; const char **attrs; const char *orig_dn; @@ -1347,9 +1348,9 @@ done: static errno_t sdap_initgr_rfc2307bis_next_base(struct tevent_req *req) { struct tevent_req *subreq; - struct sdap_initgr_rfc2307_state *state; + struct sdap_initgr_rfc2307bis_state *state; - state = tevent_req_data(req, struct sdap_initgr_rfc2307_state); + state = tevent_req_data(req, struct sdap_initgr_rfc2307bis_state); talloc_zfree(state->filter); state->filter = sdap_get_id_specific_filter( -- cgit