/sssd/src/providers/ldap/ |
H A D | ldap_access.c | 40 struct sdap_access_ctx *access_ctx, 58 params->domain, access_ctx, 59 access_ctx->id_ctx->conn, pd); 39 sdap_pam_access_handler_send(TALLOC_CTX *mem_ctx, struct sdap_access_ctx *access_ctx, struct pam_data *pd, struct dp_req_params *params) argument
|
H A D | ldap_init.c | 244 struct sdap_access_ctx *access_ctx, 253 access_ctx->filter = NULL; 255 order = dp_opt_get_cstring(access_ctx->id_ctx->opts->basic, 274 access_ctx->access_rule[c] = LDAP_ACCESS_FILTER; 275 if (get_access_filter(mem_ctx, opts, &access_ctx->filter) != EOK) { 280 access_ctx->access_rule[c] = LDAP_ACCESS_EXPIRE; 286 access_ctx->access_rule[c] = LDAP_ACCESS_SERVICE; 288 access_ctx->access_rule[c] = LDAP_ACCESS_HOST; 290 access_ctx->access_rule[c] = LDAP_ACCESS_LOCKOUT; 293 access_ctx 243 set_access_rules(TALLOC_CTX *mem_ctx, struct sdap_access_ctx *access_ctx, struct sdap_options *opts) argument 586 struct sdap_access_ctx *access_ctx; local [all...] |
H A D | sdap_access.c | 73 struct sdap_access_ctx *access_ctx, 83 struct sdap_access_ctx *access_ctx, 92 static errno_t sdap_account_expired(struct sdap_access_ctx *access_ctx, 109 struct sdap_access_ctx *access_ctx; member in struct:sdap_access_req_ctx 127 struct sdap_access_ctx *access_ctx, 147 state->access_ctx = access_ctx; 154 if (access_ctx->access_rule[0] == LDAP_ACCESS_EMPTY) { 210 switch (state->access_ctx->access_rule[state->current_rule]) { 224 state->access_ctx, 123 sdap_access_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct be_ctx *be_ctx, struct sss_domain_info *domain, struct sdap_access_ctx *access_ctx, struct sdap_id_conn_ctx *conn, struct pam_data *pd) argument 702 sdap_account_expired(struct sdap_access_ctx *access_ctx, struct pam_data *pd, struct ldb_message *user_entry) argument 814 struct sdap_access_ctx *access_ctx; member in struct:sdap_access_filter_req_ctx 831 sdap_access_filter_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct be_ctx *be_ctx, struct sss_domain_info *domain, struct sdap_access_ctx *access_ctx, struct sdap_id_conn_ctx *conn, const char *username, struct ldb_message *user_entry) argument 1311 struct sdap_access_ctx *access_ctx; member in struct:sdap_access_ppolicy_req_ctx 1327 sdap_access_ppolicy_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct be_ctx *be_ctx, struct sss_domain_info *domain, struct sdap_access_ctx *access_ctx, struct sdap_id_conn_ctx *conn, const char *username, struct ldb_message *user_entry, enum sdap_pwpolicy_mode pwpol_mode) argument [all...] |
/sssd/src/providers/ad/ |
H A D | ad_access.c | 468 struct ad_access_ctx *access_ctx, 486 params->domain, access_ctx, pd); 467 ad_pam_access_handler_send(TALLOC_CTX *mem_ctx, struct ad_access_ctx *access_ctx, struct pam_data *pd, struct dp_req_params *params) argument
|
H A D | ad_init.c | 217 static errno_t ad_init_sdap_access_ctx(struct ad_access_ctx *access_ctx) argument 219 struct dp_option *options = access_ctx->ad_options; 220 struct sdap_id_ctx *sdap_id_ctx = access_ctx->ad_id_ctx->sdap_id_ctx; 224 sdap_access_ctx = talloc_zero(access_ctx, struct sdap_access_ctx); 253 access_ctx->sdap_access_ctx = sdap_access_ctx; 258 errno_t ad_gpo_parse_map_options(struct ad_access_ctx *access_ctx); 260 static errno_t ad_init_gpo(struct ad_access_ctx *access_ctx) argument 267 options = access_ctx->ad_options; 274 access_ctx->gpo_access_control_mode = GPO_ACCESS_CONTROL_DISABLED; 276 access_ctx 548 struct ad_access_ctx *access_ctx; local [all...] |
H A D | ad_gpo.c | 163 struct ad_access_ctx *access_ctx, 435 ad_gpo_parse_map_options(struct ad_access_ctx *access_ctx) argument 446 char *entry_config = dp_opt_get_string(access_ctx->ad_options, 449 ret = ad_gpo_parse_map_option(access_ctx, entry.gpo_map_type, 450 access_ctx->gpo_map_options_table, 462 dp_opt_get_string(access_ctx->ad_options, AD_GPO_DEFAULT_RIGHT); 497 access_ctx->gpo_default_right = gpo_default_right; 1553 struct ad_access_ctx *access_ctx; member in struct:ad_gpo_access_state 1673 state->access_ctx = ctx; 2014 state->access_ctx, 3515 struct ad_access_ctx *access_ctx; member in struct:ad_gpo_process_gpo_state 3540 ad_gpo_process_gpo_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sdap_id_op *sdap_op, struct sdap_options *opts, char *server_hostname, struct sss_domain_info *host_domain, struct ad_access_ctx *access_ctx, int timeout, struct gp_som **som_list) argument 4308 struct ad_access_ctx *access_ctx; member in struct:ad_gpo_get_sd_referral_state 4326 ad_gpo_get_sd_referral_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct ad_access_ctx *access_ctx, struct sdap_options *opts, const char *referral, struct sss_domain_info *host_domain, int timeout) argument [all...] |
/sssd/src/providers/ipa/ |
H A D | ipa_init.c | 771 struct ipa_access_ctx *access_ctx; local 779 access_ctx = talloc_zero(mem_ctx, struct ipa_access_ctx); 780 if (access_ctx == NULL) { 785 access_ctx->sdap_ctx = id_ctx->sdap_id_ctx; 786 access_ctx->host_map = id_ctx->ipa_options->host_map; 787 access_ctx->hostgroup_map = id_ctx->ipa_options->hostgroup_map; 788 access_ctx->host_search_bases = id_ctx->ipa_options->host_search_bases; 789 access_ctx->hbac_search_bases = id_ctx->ipa_options->hbac_search_bases; 791 ret = dp_copy_options(access_ctx, id_ctx->ipa_options->basic, 792 IPA_OPTS_BASIC, &access_ctx [all...] |
H A D | ipa_access.c | 91 struct ipa_access_ctx *access_ctx; member in struct:ipa_fetch_hbac_state 130 struct ipa_access_ctx *access_ctx) 147 state->access_ctx = access_ctx; 148 state->sdap_ctx = access_ctx->sdap_ctx; 149 state->ipa_options = access_ctx->ipa_options; 150 state->tr_ctx = access_ctx->tr_ctx; 151 state->search_bases = access_ctx->hbac_search_bases; 173 if (offline || now < access_ctx->last_update + refresh_interval) { 279 state->access_ctx 127 ipa_fetch_hbac_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct be_ctx *be_ctx, struct ipa_access_ctx *access_ctx) argument 708 struct ipa_access_ctx *access_ctx; member in struct:ipa_pam_access_handler_state 716 ipa_pam_access_handler_send(TALLOC_CTX *mem_ctx, struct ipa_access_ctx *access_ctx, struct pam_data *pd, struct dp_req_params *params) argument [all...] |