/sssd/src/sbus/ |
H A D | sssd_dbus_invokers.h | 29 struct sbus_request *sbus_req, 33 struct sbus_request *sbus_req, 37 struct sbus_request *sbus_req, 41 struct sbus_request *sbus_req, 45 struct sbus_request *sbus_req, 49 struct sbus_request *sbus_req, 53 struct sbus_request *sbus_req, 57 struct sbus_request *sbus_req, 61 struct sbus_request *sbus_req, 65 struct sbus_request *sbus_req, [all...] |
H A D | sssd_dbus_invokers.c | 35 sbus_invoke_get_basic(struct sbus_request *sbus_req, argument 46 handler_fn(sbus_req, sbus_req->intf->handler_data, value_ptr); 59 sbus_invoke_get_string(struct sbus_request *sbus_req, argument 70 handler_fn(sbus_req, sbus_req->intf->handler_data, &value); 79 sbus_invoke_get_array(struct sbus_request *sbus_req, argument 95 handler_fn(sbus_req, sbus_req->intf->handler_data, &values, &num_values); 121 struct sbus_request *sbus_req, 120 sbus_invoke_get_y(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 130 sbus_invoke_get_b(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 140 sbus_invoke_get_n(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 150 sbus_invoke_get_q(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 160 sbus_invoke_get_i(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 170 sbus_invoke_get_u(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 180 sbus_invoke_get_x(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 190 sbus_invoke_get_t(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 200 sbus_invoke_get_d(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 210 sbus_invoke_get_s(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 218 sbus_invoke_get_o(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 226 sbus_invoke_get_ay(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 234 sbus_invoke_get_an(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 242 sbus_invoke_get_aq(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 250 sbus_invoke_get_ai(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 258 sbus_invoke_get_au(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 266 sbus_invoke_get_ax(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 274 sbus_invoke_get_at(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 282 sbus_invoke_get_ad(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 290 sbus_invoke_get_as(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 298 sbus_invoke_get_ao(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 306 sbus_invoke_get_aDOsasDE(DBusMessageIter *iter, struct sbus_request *sbus_req, void *function_ptr) argument 424 sbus_invoke_get(struct sbus_request *sbus_req, const char *type, sbus_get_invoker_fn invoker_fn, sbus_msg_handler_fn handler_fn) argument 478 sbus_invoke_get_all(struct sbus_request *sbus_req) argument [all...] |
H A D | sssd_dbus_properties.c | 47 static int sbus_properties_get(struct sbus_request *sbus_req, void *pvt); 48 static int sbus_properties_set(struct sbus_request *sbus_req, void *pvt); 49 static int sbus_properties_get_all(struct sbus_request *sbus_req, void *pvt); 129 sbus_properties_subreq(struct sbus_request *sbus_req, argument 137 sbus_subreq = sbus_new_request(sbus_req->conn, iface, sbus_req->message); 142 talloc_steal(sbus_subreq, sbus_req); 147 static int sbus_properties_get(struct sbus_request *sbus_req, void *pvt) argument 161 CHECK_SIGNATURE_OR_FAIL(sbus_req, error, fail, "ss"); 163 bret = sbus_request_parse_or_finish(sbus_req, 220 sbus_properties_set(struct sbus_request *sbus_req, void *pvt) argument 299 sbus_properties_get_all(struct sbus_request *sbus_req, void *pvt) argument [all...] |
H A D | sssd_dbus_meta.h | 51 struct sbus_request *sbus_req, 54 typedef void (* sbus_get_all_invoker_fn)(struct sbus_request *sbus_req); 56 typedef int (* sbus_method_invoker_fn)(struct sbus_request *sbus_req,
|
/sssd/src/responder/ifp/ |
H A D | ifp_users.h | 35 int ifp_users_find_by_name(struct sbus_request *sbus_req, 39 int ifp_users_find_by_id(struct sbus_request *sbus_req, 43 int ifp_users_find_by_cert(struct sbus_request *sbus_req, 47 int ifp_users_list_by_name(struct sbus_request *sbus_req, 52 int ifp_users_list_by_domain_and_name(struct sbus_request *sbus_req, 63 void ifp_users_user_get_name(struct sbus_request *sbus_req, 67 void ifp_users_user_get_uid_number(struct sbus_request *sbus_req, 71 void ifp_users_user_get_gid_number(struct sbus_request *sbus_req, 75 void ifp_users_user_get_gecos(struct sbus_request *sbus_req, 79 void ifp_users_user_get_home_directory(struct sbus_request *sbus_req, [all...] |
H A D | ifp_groups.h | 35 int ifp_groups_find_by_name(struct sbus_request *sbus_req, 39 int ifp_groups_find_by_id(struct sbus_request *sbus_req, 43 int ifp_groups_list_by_name(struct sbus_request *sbus_req, 48 int ifp_groups_list_by_domain_and_name(struct sbus_request *sbus_req, 56 int ifp_groups_group_update_member_list(struct sbus_request *sbus_req, 59 void ifp_groups_group_get_name(struct sbus_request *sbus_req, 63 void ifp_groups_group_get_gid_number(struct sbus_request *sbus_req, 67 void ifp_groups_group_get_unique_id(struct sbus_request *sbus_req, 71 void ifp_groups_group_get_users(struct sbus_request *sbus_req, 76 void ifp_groups_group_get_groups(struct sbus_request *sbus_req, [all...] |
H A D | ifp_cache.h | 40 int ifp_cache_list(struct sbus_request *sbus_req, 44 int ifp_cache_list_by_domain(struct sbus_request *sbus_req, 51 int ifp_cache_object_store(struct sbus_request *sbus_req, 55 int ifp_cache_object_remove(struct sbus_request *sbus_req,
|
H A D | ifp_users.c | 88 int ifp_users_find_by_name(struct sbus_request *sbus_req, argument 101 req = cache_req_user_by_name_send(sbus_req, ctx->rctx->ev, ctx->rctx, 107 tevent_req_set_callback(req, ifp_users_find_by_name_done, sbus_req); 116 struct sbus_request *sbus_req; local 122 sbus_req = tevent_req_callback_data(req, struct sbus_request); 124 ret = cache_req_user_by_name_recv(sbus_req, req, &result, &domain, NULL); 127 error = sbus_error_new(sbus_req, SBUS_ERROR_NOT_FOUND, 131 error = sbus_error_new(sbus_req, DBUS_ERROR_FAILED, "Failed to fetch " 136 object_path = ifp_users_build_path_from_msg(sbus_req, domain, 139 error = sbus_error_new(sbus_req, SBUS_ERROR_INTERNA 158 ifp_users_find_by_id(struct sbus_request *sbus_req, void *data, uint32_t id) argument 186 struct sbus_request *sbus_req; local 226 ifp_users_find_by_cert(struct sbus_request *sbus_req, void *data, const char *pem_cert) argument 271 struct sbus_request *sbus_req; local 334 ifp_users_list_by_name(struct sbus_request *sbus_req, void *data, const char *filter, uint32_t limit) argument 378 struct sbus_request *sbus_req; local 426 ifp_users_list_by_domain_and_name(struct sbus_request *sbus_req, void *data, const char *domain, const char *filter, uint32_t limit) argument 462 struct sbus_request *sbus_req; local 511 ifp_users_user_get(struct sbus_request *sbus_req, struct ifp_ctx *ifp_ctx, uid_t *_uid, struct sss_domain_info **_domain, struct ldb_message **_user) argument 558 ifp_users_get_as_string(struct sbus_request *sbus_req, void *data, const char *attr, const char **_out) argument 591 ifp_users_get_name(struct sbus_request *sbus_req, void *data, const char *attr, const char **_out) argument 630 ifp_users_get_as_uint32(struct sbus_request *sbus_req, void *data, const char *attr, uint32_t *_out) argument 665 ifp_users_user_update_groups_list(struct sbus_request *sbus_req, void *data) argument 708 struct sbus_request *sbus_req; local 735 ifp_users_user_get_name(struct sbus_request *sbus_req, void *data, const char **_out) argument 742 ifp_users_user_get_uid_number(struct sbus_request *sbus_req, void *data, uint32_t *_out) argument 749 ifp_users_user_get_gid_number(struct sbus_request *sbus_req, void *data, uint32_t *_out) argument 756 ifp_users_user_get_gecos(struct sbus_request *sbus_req, void *data, const char **_out) argument 763 ifp_users_user_get_home_directory(struct sbus_request *sbus_req, void *data, const char **_out) argument 770 ifp_users_user_get_login_shell(struct sbus_request *sbus_req, void *data, const char **_out) argument 777 ifp_users_user_get_unique_id(struct sbus_request *sbus_req, void *data, const char **_out) argument 784 ifp_users_user_get_groups(struct sbus_request *sbus_req, void *data, const char ***_out, int *_size) argument 867 ifp_users_user_get_extra_attributes(struct sbus_request *sbus_req, void *data, hash_table_t **_out) argument 980 ifp_cache_list_user(struct sbus_request *sbus_req, void *data) argument 986 ifp_cache_list_by_domain_user(struct sbus_request *sbus_req, void *data, const char *domain) argument 993 ifp_cache_object_store_user(struct sbus_request *sbus_req, void *data) argument 1012 ifp_cache_object_remove_user(struct sbus_request *sbus_req, void *data) argument [all...] |
H A D | ifp_groups.c | 107 int ifp_groups_find_by_name(struct sbus_request *sbus_req, argument 120 req = cache_req_group_by_name_send(sbus_req, ctx->rctx->ev, ctx->rctx, 126 tevent_req_set_callback(req, ifp_groups_find_by_name_done, sbus_req); 135 struct sbus_request *sbus_req; local 141 sbus_req = tevent_req_callback_data(req, struct sbus_request); 143 ret = cache_req_group_by_name_recv(sbus_req, req, &result, &domain, NULL); 146 error = sbus_error_new(sbus_req, SBUS_ERROR_NOT_FOUND, 150 error = sbus_error_new(sbus_req, DBUS_ERROR_FAILED, "Failed to fetch " 155 object_path = ifp_groups_build_path_from_msg(sbus_req, domain, 158 error = sbus_error_new(sbus_req, SBUS_ERROR_INTERNA 177 ifp_groups_find_by_id(struct sbus_request *sbus_req, void *data, uint32_t id) argument 205 struct sbus_request *sbus_req; local 247 ifp_groups_list_by_name(struct sbus_request *sbus_req, void *data, const char *filter, uint32_t limit) argument 291 struct sbus_request *sbus_req; local 339 ifp_groups_list_by_domain_and_name(struct sbus_request *sbus_req, void *data, const char *domain, const char *filter, uint32_t limit) argument 375 struct sbus_request *sbus_req; local 415 ifp_groups_group_get(struct sbus_request *sbus_req, void *data, gid_t *_gid, struct sss_domain_info **_domain, struct ldb_message **_group) argument 471 struct sbus_request *sbus_req; member in struct:resolv_ghosts_state 484 resolv_ghosts_send(TALLOC_CTX *mem_ctx, struct tevent_context *ev, struct sbus_request *sbus_req, void *data) argument 655 ifp_groups_group_update_member_list(struct sbus_request *sbus_req, void *data) argument 681 struct sbus_request *sbus_req; local 700 ifp_groups_group_get_name(struct sbus_request *sbus_req, void *data, const char **_out) argument 735 ifp_groups_group_get_gid_number(struct sbus_request *sbus_req, void *data, uint32_t *_out) argument 754 ifp_groups_group_get_unique_id(struct sbus_request *sbus_req, void *data, const char **_out) argument 774 ifp_groups_group_get_members(TALLOC_CTX *mem_ctx, struct sbus_request *sbus_req, void *data, const char ***_users, int *_num_users, const char ***_groups, int *_num_groups) argument 898 ifp_groups_group_get_users(struct sbus_request *sbus_req, void *data, const char ***_out, int *_size) argument 915 ifp_groups_group_get_groups(struct sbus_request *sbus_req, void *data, const char ***_out, int *_size) argument 932 ifp_cache_list_group(struct sbus_request *sbus_req, void *data) argument 938 ifp_cache_list_by_domain_group(struct sbus_request *sbus_req, void *data, const char *domain) argument 945 ifp_cache_object_store_group(struct sbus_request *sbus_req, void *data) argument 964 ifp_cache_object_remove_group(struct sbus_request *sbus_req, void *data) argument [all...] |
H A D | ifp_cache.c | 211 int ifp_cache_list(struct sbus_request *sbus_req, argument 227 ret = ifp_cache_list_domains(sbus_req, ifp_ctx->rctx->domains, type, 230 error = sbus_error_new(sbus_req, DBUS_ERROR_FAILED, 233 return sbus_request_fail_and_finish(sbus_req, error); 236 iface_ifp_cache_List_finish(sbus_req, paths, num_paths); 241 int ifp_cache_list_by_domain(struct sbus_request *sbus_req, argument 261 error = sbus_error_new(sbus_req, DBUS_ERROR_FAILED, "Unknown domain"); 262 return sbus_request_fail_and_finish(sbus_req, error); 265 ret = ifp_cache_get_cached_objects(sbus_req, type, domain, 268 error = sbus_error_new(sbus_req, DBUS_ERROR_FAILE 312 ifp_cache_object_store(struct sbus_request *sbus_req, struct sss_domain_info *domain, struct ldb_dn *dn) argument 329 ifp_cache_object_remove(struct sbus_request *sbus_req, struct sss_domain_info *domain, struct ldb_dn *dn) argument [all...] |
H A D | ifp_domains.h | 97 int ifp_domains_domain_is_online(struct sbus_request *sbus_req, 100 int ifp_domains_domain_list_services(struct sbus_request *sbus_req, 103 int ifp_domains_domain_active_server(struct sbus_request *sbus_req, 107 int ifp_domains_domain_list_servers(struct sbus_request *sbus_req,
|
/sssd/src/providers/data_provider/ |
H A D | dp_iface.h | 34 errno_t dp_get_account_info_handler(struct sbus_request *sbus_req, 43 errno_t dp_pam_handler(struct sbus_request *sbus_req, void *dp_cli); 45 errno_t dp_sudo_handler(struct sbus_request *sbus_req, void *dp_cli); 47 errno_t dp_host_handler(struct sbus_request *sbus_req, 53 errno_t dp_autofs_handler(struct sbus_request *sbus_req, 58 errno_t dp_subdomains_handler(struct sbus_request *sbus_req, 63 errno_t dp_backend_is_online(struct sbus_request *sbus_req, 68 errno_t dp_failover_list_services(struct sbus_request *sbus_req, 72 errno_t dp_failover_active_server(struct sbus_request *sbus_req, 76 errno_t dp_failover_list_servers(struct sbus_request *sbus_req, [all...] |
H A D | dp_target_subdomains.c | 30 errno_t dp_subdomains_handler(struct sbus_request *sbus_req, argument 37 data = talloc_zero(sbus_req, struct dp_subdomains_data); 45 dp_req_with_reply(dp_cli, NULL, "Subdomains", key, sbus_req,
|
H A D | dp_iface_backend.c | 31 errno_t dp_backend_is_online(struct sbus_request *sbus_req, argument 46 sbus_request_reply_error(sbus_req, SBUS_ERROR_UNKNOWN_DOMAIN, 58 iface_dp_backend_IsOnline_finish(sbus_req, online);
|
H A D | dp_target_autofs.c | 30 errno_t dp_autofs_handler(struct sbus_request *sbus_req, argument 42 data = talloc_zero(sbus_req, struct dp_autofs_data); 50 dp_req_with_reply(dp_cli, NULL, "AutoFS", key, sbus_req, DPT_AUTOFS,
|
H A D | dp_target_hostid.c | 30 errno_t dp_host_handler(struct sbus_request *sbus_req, argument 43 data = talloc_zero(sbus_req, struct dp_hostid_data); 58 dp_req_with_reply(dp_cli, NULL, "HostID", key, sbus_req, DPT_HOSTID,
|
H A D | dp_target_auth.c | 32 static void dp_pam_reply(struct sbus_request *sbus_req, argument 42 reply = dbus_message_new_method_return(sbus_req->message); 57 sbus_request_finish(sbus_req, reply); 63 struct sbus_request *sbus_req, 72 bret = dp_unpack_pam_request(sbus_req->message, mem_ctx, &pd, &dbus_error); 172 struct sbus_request *sbus_req; member in struct:dp_pam_handler_state 179 errno_t dp_pam_handler(struct sbus_request *sbus_req, void *sbus_data) argument 194 state = talloc_zero(sbus_req, struct dp_pam_handler_state); 200 ret = pam_data_create(state, sbus_req, provider->be_ctx, &pd); 207 state->sbus_req 62 pam_data_create(TALLOC_CTX *mem_ctx, struct sbus_request *sbus_req, struct be_ctx *be_ctx, struct pam_data **_pd) argument [all...] |
H A D | dp_private.h | 134 struct sbus_request *sbus_req, 138 struct sbus_request *sbus_req, 155 struct sbus_request *sbus_req; member in struct:dp_sbus_req_item 175 struct sbus_request *sbus_req); 190 void dp_req_reply_error(struct sbus_request *sbus_req, 198 struct sbus_request *sbus_req, 210 * If req_key is NULL, address of sbus_req is used. 215 #define dp_req_with_reply_pp(dp_cli, domain, req_name, req_key, sbus_req, \ 228 _dp_req_with_reply(dp_cli, domain, req_name, req_key, sbus_req, \ 234 #define dp_req_with_reply(dp_cli, domain, req_name, req_key, sbus_req, targe [all...] |
H A D | dp_request_reply.c | 33 struct sbus_request *sbus_req, 38 sbus_request_return_and_finish(sbus_req, DBUS_TYPE_INVALID); 81 void dp_req_reply_error(struct sbus_request *sbus_req, argument 87 error = dp_req_reply_gen_error(sbus_req, req_name, ret); 91 talloc_free(sbus_req); 95 sbus_request_fail_and_finish(sbus_req, error); 113 talloc_free(item->sbus_req); 121 sbus_request_fail_and_finish(item->sbus_req, error); 140 reply_fn(request_name, item->sbus_req, output_data); 161 struct sbus_request *sbus_req, 32 dp_req_reply_default(const char *req_name, struct sbus_request *sbus_req, void *data) argument 173 _dp_req_with_reply(struct dp_client *dp_cli, const char *domain, const char *request_name, const char *custom_key, struct sbus_request *sbus_req, enum dp_targets target, enum dp_methods method, uint32_t dp_flags, void *request_data, dp_req_post_fn postprocess_fn, void *postprocess_data, dp_req_reply_fn reply_fn, const char *output_dtype) argument 256 dp_req_with_reply_step(struct data_provider *provider, struct dp_client *dp_cli, const char *domain, const char *request_name, const char *custom_key, struct sbus_request *sbus_req, enum dp_targets target, enum dp_methods method, uint32_t dp_flags, void *request_data, dp_req_post_fn postprocess_fn, void *postprocess_data, dp_req_reply_fn reply_fn, const char *output_dtype) argument [all...] |
H A D | dp_custom_data.h | 71 struct sbus_request *sbus_req,
|
H A D | dp_iface_failover.c | 179 errno_t dp_failover_list_services(struct sbus_request *sbus_req, argument 198 sbus_request_reply_error(sbus_req, SBUS_ERROR_UNKNOWN_DOMAIN, 235 services = talloc_zero_array(sbus_req, const char *, num_services); 267 iface_dp_failover_ListServices_finish(sbus_req, services, num_services); 271 errno_t dp_failover_active_server(struct sbus_request *sbus_req, argument 291 sbus_request_reply_error(sbus_req, SBUS_ERROR_NOT_FOUND, 302 sbus_request_reply_error(sbus_req, SBUS_ERROR_INTERNAL, 308 iface_dp_failover_ActiveServer_finish(sbus_req, server); 312 errno_t dp_failover_list_servers(struct sbus_request *sbus_req, argument 333 sbus_request_reply_error(sbus_req, SBUS_ERROR_NOT_FOUN [all...] |
H A D | dp_request_table.c | 60 struct sbus_request *sbus_req) 64 /* Attach to sbus_request so we ensure that this sbus_req is removed 67 item = talloc_zero(sbus_req, struct dp_sbus_req_item); 74 item->sbus_req = sbus_req; 122 struct sbus_request *sbus_req) 144 table_value->list = dp_sbus_req_item_new(table_value, sbus_req); 178 struct sbus_request *sbus_req) 182 item = dp_sbus_req_item_new(table_value, sbus_req); 195 struct sbus_request *sbus_req) 59 dp_sbus_req_item_new(struct dp_table_value *value, struct sbus_request *sbus_req) argument 119 dp_req_table_new_item(hash_table_t *table, const char *key, struct tevent_req *req, struct sbus_request *sbus_req) argument 176 dp_req_table_mod_item(hash_table_t *table, struct dp_table_value *table_value, struct sbus_request *sbus_req) argument 192 dp_req_table_add(hash_table_t *table, const char *key, struct tevent_req *req, struct sbus_request *sbus_req) argument [all...] |
/sssd/src/tests/cmocka/data_provider/ |
H A D | test_dp_request_table.c | 82 struct sbus_request *sbus_req; local 94 sbus_req = talloc(test_ctx, struct sbus_request); 95 assert_non_null(sbus_req); 97 ret = dp_req_table_add(test_ctx->table, key, req, sbus_req); 116 talloc_free(sbus_req); 148 struct sbus_request *sbus_req; local 166 sbus_req = talloc(test_ctx, struct sbus_request); 167 assert_non_null(sbus_req); 169 ret = dp_req_table_add(table, key, req, sbus_req); 178 assert_ptr_equal(tv->list->sbus_req, sbus_re 227 struct sbus_request *sbus_req[N]; local [all...] |
/sssd/src/responder/common/data_provider/ |
H A D | rdp.h | 63 void _rdp_message_send_and_reply(struct sbus_request *sbus_req, 72 #define rdp_message_send_and_reply(sbus_req, rctx, domain, path, iface, \ 74 _rdp_message_send_and_reply(sbus_req, rctx, domain, path, iface, method, \
|
H A D | rdp_message.c | 234 void _rdp_message_send_and_reply(struct sbus_request *sbus_req, argument 248 rdp_message_send_and_reply_done, sbus_req, 255 talloc_free(sbus_req); 262 struct sbus_request *sbus_req; local 269 sbus_req = talloc_get_type(ptr, struct sbus_request); 271 ret = rdp_process_pending_call(sbus_req, pending, &reply); 282 sender = dbus_message_get_sender(sbus_req->message); 283 serial = dbus_message_get_serial(sbus_req->message); 299 sbus_request_finish(sbus_req, reply); 306 talloc_free(sbus_req); [all...] |