summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/providers/ldap/sdap_sudo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/sdap_sudo.c b/src/providers/ldap/sdap_sudo.c
index acdc9a91..4d83978d 100644
--- a/src/providers/ldap/sdap_sudo.c
+++ b/src/providers/ldap/sdap_sudo.c
@@ -415,7 +415,7 @@ static char *sdap_sudo_get_filter(TALLOC_CTX *mem_ctx,
char *filter = NULL;
if (!sudo_ctx->use_host_filter) {
- return talloc_strdup(mem_ctx, filter);
+ return talloc_strdup(mem_ctx, rule_filter);
}
tmp_ctx = talloc_new(NULL);