Searched defs:data (Results 1 - 25 of 115) sorted by relevance

12345

/sssd/src/providers/data_provider/
H A Ddp_target_autofs.c35 struct dp_autofs_data *data; local
42 data = talloc_zero(sbus_req, struct dp_autofs_data);
43 if (data == NULL) {
47 data->mapname = mapname;
51 DPM_AUTOFS_HANDLER, dp_flags, data,
H A Ddp_target_subdomains.c34 struct dp_subdomains_data *data; local
37 data = talloc_zero(sbus_req, struct dp_subdomains_data);
38 if (data == NULL) {
42 data->domain_hint = domain_hint;
46 DPT_SUBDOMAINS, DPM_DOMAINS_HANDLER, 0, data,
H A Ddp_target_hostid.c36 struct dp_hostid_data *data; local
43 data = talloc_zero(sbus_req, struct dp_hostid_data);
44 if (data == NULL) {
48 data->name = name;
49 data->alias = SBUS_SET_STRING(alias);
51 key = talloc_asprintf(data, "%s:%s", name,
52 (data->alias == NULL ? "(null)" : data->alias));
54 talloc_free(data);
59 DPM_HOSTID_HANDLER, dp_flags, data,
[all...]
H A Ddp_builtin.c34 void *data,
80 void *data,
33 dp_access_permit_handler_send(TALLOC_CTX *mem_ctx, void *data, struct pam_data *pd, struct dp_req_params *params) argument
79 dp_access_deny_handler_send(TALLOC_CTX *mem_ctx, void *data, struct pam_data *pd, struct dp_req_params *params) argument
H A Ddp_client.c91 void *data,
100 dp_cli = talloc_get_type(data, struct dp_client);
166 errno_t dp_client_init(struct sbus_connection *conn, void *data) argument
179 provider = talloc_get_type(data, struct data_provider);
90 dp_client_register(struct sbus_request *sbus_req, void *data, const char *client_name) argument
H A Ddp_target_sudo.c174 struct dp_sudo_data *data; local
180 data = talloc_zero(sbus_req, struct dp_sudo_data);
181 if (data == NULL) {
185 ret = dp_sudo_parse_message(data, sbus_req->message, &dp_flags,
186 &data->type, &data->rules);
191 key = dp_sudo_get_key(data->type);
192 name = dp_sudo_get_name(data->type);
195 DPM_SUDO_HANDLER, dp_flags, data,
/sssd/src/responder/common/cache_req/
H A Dcache_req_data.c30 struct cache_req_data *data; local
33 data = talloc_zero(mem_ctx, struct cache_req_data);
34 if (data == NULL) {
39 data->type = type;
55 data->name.input = talloc_strdup(data, input->name.input);
56 if (data->name.input == NULL) {
68 data->cert = talloc_strdup(data, input->cert);
69 if (data
[all...]
H A Dcache_req_private.h35 struct cache_req_data *data; member in struct:cache_req
43 * FIXME: This is currently needed for data provider calls. We should
59 /* Input data. */
89 struct cache_req_data *data);
/sssd/src/sss_client/libwbclient/
H A Dwbc_util_common.c35 free(b->blob.data);
45 uint8_t *data,
85 blob->blob.data = (uint8_t *)malloc(length);
86 BAIL_ON_PTR_ERROR(blob->blob.data, wbc_status);
87 memcpy(blob->blob.data, data, length);
41 wbcAddNamedBlob(size_t *num_blobs, struct wbcNamedBlob **pblobs, const char *name, uint32_t flags, uint8_t *data, size_t length) argument
/sssd/src/tests/cmocka/
H A Dtest_ldap_auth.c43 struct check_pwexpire_policy_wrap_indata *data = local
46 ret = check_pwexpire_policy(data->type, data->time_fmt, NULL, 0);
76 struct check_pwexpire_policy_wrap_indata data; local
77 data.type = type;
78 data.time_fmt = (void*)tc->future_time;
81 (void*)&data,
85 data.time_fmt = (void*)tc->past_time;
88 (void*)&data,
/sssd/src/util/
H A Dsss_ssh.h29 uint8_t *data; member in struct:sss_ssh_pubkey
H A Dchild_common.h47 uint8_t *data; member in struct:io_buffer
/sssd/src/tools/common/
H A Dsss_colondb.h54 union sss_colondb_write_data data; member in struct:sss_colondb_write_field
59 union sss_colondb_read_data data; member in struct:sss_colondb_read_field
89 * @param[in] table Array with data. It is expected that last item has
/sssd/src/providers/
H A Ddp_pam_data_util.c182 int len, const uint8_t *data)
191 new->data = talloc_memdup(pd, data, len);
192 if (new->data == NULL) return ENOMEM;
181 pam_add_response(struct pam_data *pd, enum response_type type, int len, const uint8_t *data) argument
/sssd/src/responder/common/cache_req/plugins/
H A Dcache_req_initgroups_by_upn.c31 struct cache_req_data *data,
36 if (cr->data->name.name == NULL) {
45 name = talloc_strdup(data, cr->data->name.name);
50 talloc_zfree(data->name.lookup);
51 data->name.lookup = talloc_steal(data, name);
58 struct cache_req_data *data,
61 return talloc_strdup(mem_ctx, data->name.lookup);
67 struct cache_req_data *data)
30 cache_req_initgroups_by_upn_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
57 cache_req_initgroups_by_upn_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
65 cache_req_initgroups_by_upn_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
73 cache_req_initgroups_by_upn_ncache_add(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
81 cache_req_initgroups_by_upn_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
[all...]
H A Dcache_req_user_by_upn.c31 struct cache_req_data *data,
36 if (cr->data->name.name == NULL) {
45 name = talloc_strdup(data, cr->data->name.name);
50 talloc_zfree(data->name.lookup);
51 data->name.lookup = talloc_steal(data, name);
58 struct cache_req_data *data,
61 return talloc_strdup(mem_ctx, data->name.lookup);
67 struct cache_req_data *data)
30 cache_req_user_by_upn_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
57 cache_req_user_by_upn_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
65 cache_req_user_by_upn_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
73 cache_req_user_by_upn_ncache_add(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
81 cache_req_user_by_upn_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
[all...]
H A Dcache_req_group_by_filter.c31 struct cache_req_data *data,
38 if (cr->data->name.name == NULL) {
48 name = sss_get_cased_name(tmp_ctx, cr->data->name.name,
61 talloc_zfree(data->name.lookup);
62 data->name.lookup = talloc_steal(data, name);
73 struct cache_req_data *data,
76 return talloc_strdup(mem_ctx, data->name.lookup);
82 struct cache_req_data *data,
95 ret = sysdb_enumgrent_filter_with_views(mem_ctx, domain, data
30 cache_req_group_by_filter_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
72 cache_req_group_by_filter_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
80 cache_req_group_by_filter_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
145 struct cache_req_data *data; local
[all...]
H A Dcache_req_group_by_id.c31 struct cache_req_data *data,
34 return talloc_asprintf(mem_ctx, "GID:%d@%s", data->id, domain->name);
40 struct cache_req_data *data)
42 return sss_ncache_check_gid(ncache, NULL, data->id);
47 struct cache_req_data *data)
49 return sss_ncache_set_gid(ncache, false, NULL, data->id);
55 struct cache_req_data *data,
59 return sysdb_getgrgid_with_views(mem_ctx, domain, data->id, _result);
72 *_id = cr->data->id;
135 struct cache_req_data *data; local
30 cache_req_group_by_id_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
38 cache_req_group_by_id_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
46 cache_req_group_by_id_global_ncache_add(struct sss_nc_ctx *ncache, struct cache_req_data *data) argument
53 cache_req_group_by_id_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
[all...]
H A Dcache_req_group_by_name.c31 struct cache_req_data *data,
38 if (cr->data->name.name == NULL) {
48 name = sss_get_cased_name(tmp_ctx, cr->data->name.name,
67 talloc_zfree(data->name.lookup);
68 data->name.lookup = talloc_steal(data, name);
79 struct cache_req_data *data,
82 return talloc_strdup(mem_ctx, data->name.lookup);
88 struct cache_req_data *data)
90 return sss_ncache_check_group(ncache, domain, data
30 cache_req_group_by_name_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
78 cache_req_group_by_name_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
86 cache_req_group_by_name_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
94 cache_req_group_by_name_ncache_add(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
102 cache_req_group_by_name_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
185 struct cache_req_data *data; local
[all...]
H A Dcache_req_initgroups_by_name.c31 struct cache_req_data *data,
38 if (cr->data->name.name == NULL) {
48 name = sss_get_cased_name(tmp_ctx, cr->data->name.name,
67 talloc_zfree(data->name.lookup);
68 data->name.lookup = talloc_steal(data, name);
79 struct cache_req_data *data,
82 return talloc_strdup(mem_ctx, data->name.lookup);
88 struct cache_req_data *data)
90 return sss_ncache_check_user(ncache, domain, data
30 cache_req_initgroups_by_name_prepare_domain_data(struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain) argument
78 cache_req_initgroups_by_name_create_debug_name(TALLOC_CTX *mem_ctx, struct cache_req_data *data, struct sss_domain_info *domain) argument
86 cache_req_initgroups_by_name_ncache_check(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
94 cache_req_initgroups_by_name_ncache_add(struct sss_nc_ctx *ncache, struct sss_domain_info *domain, struct cache_req_data *data) argument
102 cache_req_initgroups_by_name_lookup(TALLOC_CTX *mem_ctx, struct cache_req *cr, struct cache_req_data *data, struct sss_domain_info *domain, struct ldb_result **_result) argument
198 struct cache_req_data *data; local
[all...]
/sssd/src/sss_client/
H A Dnss_compat.h54 char *data; member in struct:__netgrent
/sssd/src/krb5_plugin/
H A Dsssd_krb5_localauth_plugin.c36 krb5_localauth_moddata data,
110 krb5_localauth_moddata data,
170 krb5_localauth_moddata data, char *str)
35 sss_userok(krb5_context context, krb5_localauth_moddata data, krb5_const_principal aname, const char *lname) argument
109 sss_an2ln(krb5_context context, krb5_localauth_moddata data, const char *type, const char *residual, krb5_const_principal aname, char **lname_out) argument
169 sss_freestr(krb5_context context, krb5_localauth_moddata data, char *str) argument
/sssd/src/providers/ldap/
H A Dsdap_online_check.c184 void *data,
238 struct dp_reply_std *data)
246 *data = state->reply;
182 sdap_online_check_handler_send(TALLOC_CTX *mem_ctx, struct sdap_id_ctx *id_ctx, void *data, struct dp_req_params *params) argument
236 sdap_online_check_handler_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, struct dp_reply_std *data) argument
H A Dsdap_sudo.c42 struct dp_sudo_data *data,
56 state->type = data->type;
58 switch (data->type) {
65 subreq = sdap_sudo_rules_refresh_send(state, sudo_ctx, data->rules);
68 DEBUG(SSSDBG_CRIT_FAILURE, "Invalid request type: %d\n", data->type);
74 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to send request: %d\n", data->type);
131 struct dp_reply_std *data)
139 *data = state->reply;
40 sdap_sudo_handler_send(TALLOC_CTX *mem_ctx, struct sdap_sudo_ctx *sudo_ctx, struct dp_sudo_data *data, struct dp_req_params *params) argument
129 sdap_sudo_handler_recv(TALLOC_CTX *mem_ctx, struct tevent_req *req, struct dp_reply_std *data) argument
/sssd/src/providers/proxy/
H A Dproxy_client.c37 void *data,
50 proxy_cli = talloc_get_type(data, struct proxy_client);
52 DEBUG(SSSDBG_FATAL_FAILURE, "Connection holds no valid init data\n");
127 int proxy_client_init(struct sbus_connection *conn, void *data) argument
140 auth_ctx = talloc_get_type(data, struct proxy_auth_ctx);
36 proxy_client_register(struct sbus_request *sbus_req, void *data, uint32_t cli_id) argument

Completed in 248 milliseconds

12345