diff options
author | Simo Sorce <simo@redhat.com> | 2013-01-06 02:04:58 -0500 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-15 10:49:20 +0100 |
commit | 9675bccabff4e79d224f64611ad9ff3e073b488e (patch) | |
tree | 39f5a16b37263395930a6e0ed209a3244ae22c81 /src/providers/ldap | |
parent | de526c8425886ca3bed8f07a0f092ba5ac325654 (diff) | |
download | sssd-9675bccabff4e79d224f64611ad9ff3e073b488e.tar.gz sssd-9675bccabff4e79d224f64611ad9ff3e073b488e.tar.bz2 sssd-9675bccabff4e79d224f64611ad9ff3e073b488e.zip |
Make sysdb_custom_subtree_dn() require a domain.
Diffstat (limited to 'src/providers/ldap')
-rw-r--r-- | src/providers/ldap/sdap_async_sudo.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/providers/ldap/sdap_async_sudo.c b/src/providers/ldap/sdap_async_sudo.c index 89e28d89..974d3b17 100644 --- a/src/providers/ldap/sdap_async_sudo.c +++ b/src/providers/ldap/sdap_async_sudo.c @@ -87,6 +87,7 @@ static int sdap_sudo_load_sudoers_recv(struct tevent_req *req, static void sdap_sudo_refresh_load_done(struct tevent_req *subreq); static int sdap_sudo_purge_sudoers(struct sysdb_ctx *sysdb_ctx, + struct sss_domain_info *dom, const char *filter, struct sdap_attr_map *map, size_t rules_count, @@ -486,7 +487,7 @@ static void sdap_sudo_refresh_load_done(struct tevent_req *subreq) in_transaction = true; /* purge cache */ - ret = sdap_sudo_purge_sudoers(state->sysdb, state->sysdb_filter, + ret = sdap_sudo_purge_sudoers(state->sysdb, state->domain, state->sysdb_filter, state->opts->sudorule_map, rules_count, rules); if (ret != EOK) { goto done; @@ -533,6 +534,7 @@ done: } static int sdap_sudo_purge_sudoers(struct sysdb_ctx *sysdb_ctx, + struct sss_domain_info *dom, const char *filter, struct sdap_attr_map *map, size_t rules_count, @@ -570,7 +572,7 @@ static int sdap_sudo_purge_sudoers(struct sysdb_ctx *sysdb_ctx, ret = EOK; } else { /* purge cache by provided filter */ - ret = sysdb_sudo_purge_byfilter(sysdb_ctx, filter); + ret = sysdb_sudo_purge_byfilter(sysdb_ctx, dom, filter); if (ret != EOK) { goto done; } |