summaryrefslogtreecommitdiff
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2012-04-23 14:54:58 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-06-29 11:37:16 -0400
commit4cab4191f9e0d8d2cc04084964c71454a62852fe (patch)
treead75ce38af78a5f45ee4e85cf909b368f4310005 /src/providers/ldap
parent2b5b66499301dab74d2a96c3ecd1f3959de8392d (diff)
downloadsssd-4cab4191f9e0d8d2cc04084964c71454a62852fe.tar.gz
sssd-4cab4191f9e0d8d2cc04084964c71454a62852fe.tar.bz2
sssd-4cab4191f9e0d8d2cc04084964c71454a62852fe.zip
sudo ldap provider: add domain info in sdap_sudo_refresh_state
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_async_sudo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap_async_sudo.c b/src/providers/ldap/sdap_async_sudo.c
index 1de1fde2..10e613e1 100644
--- a/src/providers/ldap/sdap_async_sudo.c
+++ b/src/providers/ldap/sdap_async_sudo.c
@@ -40,6 +40,7 @@ struct sdap_sudo_refresh_state {
struct sdap_id_op *sdap_op;
struct sdap_id_conn_cache *sdap_conn_cache;
struct sysdb_ctx *sysdb;
+ struct sss_domain_info *domain;
const char *ldap_filter; /* search */
const char *sysdb_filter; /* delete */
@@ -115,6 +116,7 @@ struct tevent_req *sdap_sudo_refresh_send(TALLOC_CTX *mem_ctx,
state->sdap_op = NULL;
state->sdap_conn_cache = conn_cache;
state->sysdb = be_ctx->sysdb;
+ state->domain = be_ctx->domain;
state->ldap_filter = talloc_strdup(state, ldap_filter);
state->sysdb_filter = talloc_strdup(state, sysdb_filter);
state->dp_error = DP_ERR_OK;