From 8437b42229251153b7e84a3ccf1731797c441622 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pavel=20B=C5=99ezina?= <pbrezina@redhat.com>
Date: Fri, 16 Dec 2011 14:21:55 +0100
Subject: [PATCH 2/2] Logically dead code in sdap_nested_group_lookup_group

https://fedorahosted.org/sssd/ticket/1113
---
 src/providers/ldap/sdap_async_groups.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/providers/ldap/sdap_async_groups.c b/src/providers/ldap/sdap_async_groups.c
index d27e038..663db5a 100644
--- a/src/providers/ldap/sdap_async_groups.c
+++ b/src/providers/ldap/sdap_async_groups.c
@@ -2584,7 +2584,7 @@ static errno_t sdap_nested_group_lookup_group(struct tevent_req *req)
      */
     if (!sss_ldap_dn_in_search_bases(state, state->member_dn,
                                      state->opts->group_search_bases,
-                                     &filter)) {
+                                     &search_bases_filter)) {
         if (state->derefctx) {
             if (state->derefctx->expired_groups_index <
                 state->derefctx->expired_groups_num) {
-- 
1.7.6.4
