Searched defs:memctx (Results 1 - 25 of 43) sorted by relevance

12

/sssd/src/util/
H A Dmemory.c33 int password_destructor(void *memctx) argument
35 char *password = (char *)memctx;
/sssd/src/providers/
H A Ddata_provider_opts.c83 int dp_get_options(TALLOC_CTX *memctx, argument
93 opts = talloc_zero_array(memctx, struct dp_option, num_opts);
191 static int dp_copy_options_ex(TALLOC_CTX *memctx, argument
200 opts = talloc_zero_array(memctx, struct dp_option, num_opts);
285 int dp_copy_options(TALLOC_CTX *memctx, argument
290 return dp_copy_options_ex(memctx, true, src_opts, num_opts, _opts);
293 int dp_copy_defaults(TALLOC_CTX *memctx, argument
298 return dp_copy_options_ex(memctx, false, src_opts, num_opts, _opts);
H A Ddata_provider_fo.c186 int be_fo_service_add_callback(TALLOC_CTX *memctx, argument
198 callback = talloc_zero(memctx, struct be_svc_callback);
505 struct tevent_req *be_resolve_server_send(TALLOC_CTX *memctx, argument
515 req = tevent_req_create(memctx, &state, struct be_resolve_server_state);
/sssd/src/providers/ipa/
H A Dipa_hostid.c50 hosts_get_send(TALLOC_CTX *memctx, argument
63 req = tevent_req_create(memctx, &state, struct hosts_get_state);
H A Dipa_auth.c48 static struct tevent_req *get_password_migration_flag_send(TALLOC_CTX *memctx, argument
62 req = tevent_req_create(memctx, &state,
H A Dipa_common.c40 int ipa_get_options(TALLOC_CTX *memctx, argument
54 opts = talloc_zero(memctx, struct ipa_options);
922 int ipa_service_init(TALLOC_CTX *memctx, struct be_ctx *ctx, argument
1004 ret = be_fo_service_add_callback(memctx, ctx, "IPA",
1015 *_service = talloc_steal(memctx, service);
H A Dipa_id.c34 ipa_id_get_account_info_send(TALLOC_CTX *memctx, struct tevent_context *ev,
75 ipa_resolve_user_list_send(TALLOC_CTX *memctx, struct tevent_context *ev, argument
84 req = tevent_req_create(memctx, &state,
229 ipa_initgr_get_overrides_send(TALLOC_CTX *memctx, argument
241 req = tevent_req_create(memctx, &state,
504 ipa_id_get_account_info_send(TALLOC_CTX *memctx, struct tevent_context *ev, argument
513 req = tevent_req_create(memctx, &state,
1045 static struct tevent_req *ipa_id_get_netgroup_send(TALLOC_CTX *memctx, argument
1059 req = tevent_req_create(memctx, &state, struct ipa_id_get_netgroup_state);
/sssd/src/providers/ldap/
H A Dldap_id_netgroup.c60 struct tevent_req *ldap_netgroup_get_send(TALLOC_CTX *memctx, argument
73 req = tevent_req_create(memctx, &state, struct ldap_netgroup_get_state);
H A Dldap_id_cleanup.c113 static int cleanup_groups(TALLOC_CTX *memctx,
364 static int cleanup_groups(TALLOC_CTX *memctx, argument
383 tmpctx = talloc_new(memctx);
H A Dldap_options.c26 int ldap_get_options(TALLOC_CTX *memctx, argument
56 opts = talloc_zero(memctx, struct sdap_options);
316 ret = sss_password_decrypt(memctx, (char *) authtok_blob.data,
482 int ldap_get_autofs_options(TALLOC_CTX *memctx, argument
H A Dsdap_async_enum.c35 static struct tevent_req *enum_users_send(TALLOC_CTX *memctx,
43 static struct tevent_req *enum_groups_send(TALLOC_CTX *memctx,
81 sdap_dom_enum_ex_send(TALLOC_CTX *memctx, argument
94 req = tevent_req_create(memctx, &state, struct sdap_dom_enum_ex_state);
507 sdap_dom_enum_send(TALLOC_CTX *memctx, argument
513 return sdap_dom_enum_ex_send(memctx, ev, ctx, sdom, conn, conn, conn);
534 static struct tevent_req *enum_users_send(TALLOC_CTX *memctx, argument
546 req = tevent_req_create(memctx, &state, struct enum_users_state);
710 static struct tevent_req *enum_groups_send(TALLOC_CTX *memctx, argument
723 req = tevent_req_create(memctx,
[all...]
H A Dsdap_async_netgroups.c41 static errno_t sdap_save_netgroup(TALLOC_CTX *memctx, argument
55 ret = sdap_get_netgroup_primary_name(memctx, opts, attrs, dom, &name);
63 netgroup_attrs = sysdb_new_attrs(memctx);
93 timestamp = talloc_strdup(memctx, (const char*)el->values[0].data);
232 struct tevent_req *netgr_translate_members_send(TALLOC_CTX *memctx, argument
256 req = tevent_req_create(memctx, &state,
585 struct tevent_req *sdap_get_netgroups_send(TALLOC_CTX *memctx, argument
600 req = tevent_req_create(memctx, &state, struct sdap_get_netgroups_state);
H A Dsdap_async_services.c54 sdap_save_services(TALLOC_CTX *memctx,
71 sdap_get_services_send(TALLOC_CTX *memctx, argument
87 req = tevent_req_create(memctx, &state, struct sdap_get_services_state);
528 enum_services_send(TALLOC_CTX *memctx, argument
539 req = tevent_req_create(memctx, &state, struct enum_services_state);
H A Dldap_child.c272 static krb5_error_code ldap_child_get_tgt_sync(TALLOC_CTX *memctx, argument
301 tmp_ctx = talloc_new(memctx);
521 *ccname_out = talloc_steal(memctx, ccname);
H A Dsdap_async_autofs.c446 sdap_get_automntmap_send(TALLOC_CTX *memctx, argument
460 req = tevent_req_create(memctx, &state, struct sdap_get_automntmap_state);
648 sdap_autofs_setautomntent_send(TALLOC_CTX *memctx, argument
663 req = tevent_req_create(memctx, &state,
H A Dsdap_async_users.c116 int sdap_save_user(TALLOC_CTX *memctx, argument
205 ret = sdap_get_user_primary_name(memctx, opts, attrs, dom, &user_name);
515 *_usn_value = talloc_steal(memctx, usn_value);
518 talloc_steal(memctx, user_attrs);
534 int sdap_save_users(TALLOC_CTX *memctx, argument
556 tmpctx = talloc_new(memctx);
605 *_usn_value = talloc_steal(memctx, higher_usn);
648 struct tevent_req *sdap_search_user_send(TALLOC_CTX *memctx, argument
663 req = tevent_req_create(memctx, &state, struct sdap_search_user_state);
838 int sdap_search_user_recv(TALLOC_CTX *memctx, struc argument
876 sdap_get_users_send(TALLOC_CTX *memctx, struct tevent_context *ev, struct sss_domain_info *dom, struct sysdb_ctx *sysdb, struct sdap_options *opts, struct sdap_search_base **search_bases, struct sdap_handle *sh, const char **attrs, const char *filter, int timeout, enum sdap_entry_lookup_type lookup_type) argument
976 sdap_fallback_local_user(TALLOC_CTX *memctx, const char *name, uid_t uid, struct sysdb_attrs ***reply) argument
[all...]
H A Dsdap_id_op.c104 int sdap_id_conn_cache_create(TALLOC_CTX *memctx, argument
109 struct sdap_id_conn_cache *conn_cache = talloc_zero(memctx, struct sdap_id_conn_cache);
291 struct sdap_id_op *sdap_id_op_create(TALLOC_CTX *memctx, struct sdap_id_conn_cache *conn_cache) argument
293 struct sdap_id_op *op = talloc_zero(memctx, struct sdap_id_op);
388 TALLOC_CTX *memctx,
395 if (!memctx) {
409 req = tevent_req_create(memctx, &state, struct sdap_id_op_connect_state);
387 sdap_id_op_connect_send(struct sdap_id_op *op, TALLOC_CTX *memctx, int *ret_out) argument
/sssd/src/responder/common/
H A Dresponder_cmd.c205 errno_t setent_add_ref(TALLOC_CTX *memctx, argument
212 entry = talloc_zero(memctx, struct setent_req_list);
/sssd/src/responder/secrets/
H A Dsecsrv_cmd.c168 static void sec_append_string(TALLOC_CTX *memctx, char **dest, argument
174 *dest = talloc_strndup(memctx, src, len);
/sssd/src/tests/cmocka/
H A Dtest_negcache.c125 TALLOC_CTX *memctx; local
128 memctx = talloc_new(NULL);
129 assert_non_null(memctx);
131 ret = sss_ncache_init(memctx, SHORTSPAN, 0, &ctx);
135 talloc_free(memctx);
H A Dtest_responder_common.c144 int __real_sss_parse_name_for_domains(TALLOC_CTX *memctx,
149 int __wrap_sss_parse_name_for_domains(TALLOC_CTX *memctx, argument
158 return __real_sss_parse_name_for_domains(memctx, domains,
/sssd/src/util/crypto/nss/
H A Dnss_sha512crypt.c333 int s3crypt_sha512(TALLOC_CTX *memctx, argument
342 hash = talloc_size(memctx, hlen);
354 int s3crypt_gen_salt(TALLOC_CTX *memctx, char **_salt) argument
366 salt = talloc_size(memctx, SALT_LEN_MAX + 1);
/sssd/src/util/crypto/libcrypto/
H A Dcrypto_sha512crypt.c343 int s3crypt_sha512(TALLOC_CTX *memctx, argument
352 hash = talloc_size(memctx, hlen);
364 int s3crypt_gen_salt(TALLOC_CTX *memctx, char **_salt) argument
371 salt = talloc_size(memctx, SALT_LEN_MAX + 1);
/sssd/src/providers/proxy/
H A Dproxy_id.c1191 static int get_initgr_groups_process(TALLOC_CTX *memctx,
1346 static int get_initgr_groups_process(TALLOC_CTX *memctx, argument
1366 gids = talloc_size(memctx, size);
1393 gids = talloc_realloc_size(memctx, gids, size);
1412 ret = get_gr_gid(memctx, ctx, sysdb, dom, gids[i], now);
/sssd/src/tests/
H A Dkrb5_child-test.c85 int re_destructor(void *memctx) argument
87 struct krb5_ctx *ctx = (struct krb5_ctx *) memctx;

Completed in 4976 milliseconds

12