summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-11-03 11:34:53 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-11-07 08:57:17 -0500
commitfd21ca460115a5d51d0db6e5ac759b8aff51ab99 (patch)
tree6578221e2125a0b057984592f6549fdcc30dfe4a /src
parent515470a32aeab1eb64a9c4f1adf0c6b4a8ab94f1 (diff)
downloadsssd-fd21ca460115a5d51d0db6e5ac759b8aff51ab99.tar.gz
sssd-fd21ca460115a5d51d0db6e5ac759b8aff51ab99.tar.bz2
sssd-fd21ca460115a5d51d0db6e5ac759b8aff51ab99.zip
Use correct state struct in sdap_initgr_rfc2307bis_next_base
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_async_initgroups.c5
1 files changed, 3 insertions, 2 deletions
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(