diff options
author | Sumit Bose <sbose@redhat.com> | 2013-04-24 11:08:21 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-05-02 19:33:56 +0200 |
commit | 44c379a27a2d8de0ad933ebb2558b5e82b05fd56 (patch) | |
tree | 08e96cbfeba38febf27111548b2167c24f3764bc | |
parent | b5afbc39c09baaef57b5300b636307e277c59d66 (diff) | |
download | sssd-44c379a27a2d8de0ad933ebb2558b5e82b05fd56.tar.gz sssd-44c379a27a2d8de0ad933ebb2558b5e82b05fd56.tar.bz2 sssd-44c379a27a2d8de0ad933ebb2558b5e82b05fd56.zip |
Remove unused attribute list
-rw-r--r-- | src/providers/ipa/ipa_id.h | 1 | ||||
-rw-r--r-- | src/providers/ipa/ipa_s2n_exop.c | 3 | ||||
-rw-r--r-- | src/providers/ipa/ipa_subdomains_id.c | 11 |
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) { |