summaryrefslogtreecommitdiff
path: root/src/providers/ipa
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/ipa')
-rw-r--r--src/providers/ipa/ipa_id.h1
-rw-r--r--src/providers/ipa/ipa_s2n_exop.c3
-rw-r--r--src/providers/ipa/ipa_subdomains_id.c11
3 files changed, 1 insertions, 14 deletions
diff --git a/src/providers/ipa/ipa_id.h b/src/providers/ipa/ipa_id.h
index 82f2f489..e4464062 100644
--- a/src/providers/ipa/ipa_id.h
+++ b/src/providers/ipa/ipa_id.h
@@ -54,7 +54,6 @@ struct tevent_req *ipa_s2n_get_acct_info_send(TALLOC_CTX *mem_ctx,
struct sdap_options *opts,
struct sss_domain_info *dom,
struct sdap_handle *sh,
- const char **attrs,
int entry_type,
const char *user_name,
uid_t uid);
diff --git a/src/providers/ipa/ipa_s2n_exop.c b/src/providers/ipa/ipa_s2n_exop.c
index 64ee7752..9421c865 100644
--- a/src/providers/ipa/ipa_s2n_exop.c
+++ b/src/providers/ipa/ipa_s2n_exop.c
@@ -511,7 +511,6 @@ struct ipa_s2n_get_user_state {
struct sdap_options *opts;
struct sss_domain_info *dom;
struct sdap_handle *sh;
- const char **expected_attrs;
};
static void ipa_s2n_get_user_done(struct tevent_req *subreq);
@@ -521,7 +520,6 @@ struct tevent_req *ipa_s2n_get_acct_info_send(TALLOC_CTX *mem_ctx,
struct sdap_options *opts,
struct sss_domain_info *dom,
struct sdap_handle *sh,
- const char **attrs,
int entry_type,
const char *name,
uint32_t id)
@@ -547,7 +545,6 @@ struct tevent_req *ipa_s2n_get_acct_info_send(TALLOC_CTX *mem_ctx,
state->opts = opts;
state->dom = dom;
state->sh = sh;
- state->expected_attrs = attrs;
ret = s2n_encode_request(state, dom->name, entry_type, name, id, &bv_req);
if (ret != EOK) {
diff --git a/src/providers/ipa/ipa_subdomains_id.c b/src/providers/ipa/ipa_subdomains_id.c
index 264eb03c..9c4187b6 100644
--- a/src/providers/ipa/ipa_subdomains_id.c
+++ b/src/providers/ipa/ipa_subdomains_id.c
@@ -43,8 +43,6 @@ struct ipa_get_subdom_acct {
const char *filter;
int filter_type;
- const char **attrs;
-
int dp_error;
};
@@ -92,14 +90,8 @@ struct tevent_req *ipa_get_subdom_acct_send(TALLOC_CTX *memctx,
switch (state->entry_type) {
case BE_REQ_USER:
- ret = build_attrs_from_map(state, ctx->opts->user_map,
- SDAP_OPTS_USER, NULL,
- &state->attrs, NULL);
- break;
case BE_REQ_GROUP:
- ret = build_attrs_from_map(state, ctx->opts->group_map,
- SDAP_OPTS_GROUP, NULL,
- &state->attrs, NULL);
+ ret = EOK;
break;
case BE_REQ_INITGROUPS:
ret = ENOTSUP;
@@ -173,7 +165,6 @@ static void ipa_get_subdom_acct_connected(struct tevent_req *subreq)
state->ctx->opts,
state->domain,
sdap_id_op_handle(state->op),
- state->attrs,
state->entry_type,
name, id);
if (!subreq) {