/sssd-io/src/db/ |
H A D | sysdb_domain_resolution_order.c | 33 TALLOC_CTX *tmp_ctx; local 38 tmp_ctx = talloc_new(NULL); 39 if (tmp_ctx == NULL) { 43 ret = ldb_search(sysdb->ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, attrs, 72 talloc_free(tmp_ctx); 82 TALLOC_CTX *tmp_ctx; local 87 tmp_ctx = talloc_new(NULL); 88 if (tmp_ctx == NULL) { 93 tmp_ctx, sysdb, dn, attrs, &domain_resolution_order); 112 talloc_free(tmp_ctx); 121 TALLOC_CTX *tmp_ctx; local [all...] |
H A D | sysdb_certmap.c | 79 TALLOC_CTX *tmp_ctx; local 82 tmp_ctx = talloc_new(NULL); 83 if (tmp_ctx == NULL) { 88 msg = ldb_msg_new(tmp_ctx); 95 msg->dn = ldb_dn_new_fmt(tmp_ctx, sysdb->ldb, 135 el = talloc_zero(tmp_ctx, struct ldb_message_element); 195 talloc_zfree(tmp_ctx); 273 TALLOC_CTX *tmp_ctx = NULL; local 289 tmp_ctx = talloc_new(NULL); 290 if (tmp_ctx [all...] |
H A D | sysdb_idmap.c | 58 TALLOC_CTX *tmp_ctx; local 67 tmp_ctx = talloc_new(NULL); 68 if (!tmp_ctx) return ENOMEM; 70 dn = sysdb_idmap_dn(tmp_ctx, domain, dom_sid); 76 update_msg = ldb_msg_new(tmp_ctx); 93 ret = sysdb_search_entry(tmp_ctx, domain->sysdb, dn, LDB_SCOPE_BASE, 273 talloc_free(tmp_ctx); 284 TALLOC_CTX *tmp_ctx; local 288 tmp_ctx = talloc_new(NULL); 289 if (!tmp_ctx) retur [all...] |
/sssd-io/src/providers/ad/ |
H A D | ad_pac_common.c | 37 TALLOC_CTX *tmp_ctx; local 39 tmp_ctx = talloc_new(NULL); 40 if (tmp_ctx == NULL) { 48 ndr_pull = ndr_pull_init_blob(&blob, tmp_ctx); 56 pac_data = talloc_zero(tmp_ctx, struct PAC_DATA); 83 talloc_free(tmp_ctx);
|
/sssd-io/src/providers/ldap/ |
H A D | sdap_range.c | 36 TALLOC_CTX *tmp_ctx; local 44 tmp_ctx = talloc_new(NULL); 45 if (!tmp_ctx) return ENOMEM; 63 base = talloc_strndup(tmp_ctx, attr_desc, 140 talloc_free(tmp_ctx);
|
H A D | sdap_domain.c | 53 TALLOC_CTX *tmp_ctx = NULL; local 57 tmp_ctx = talloc_new(NULL); 58 if (tmp_ctx == NULL) { 63 if (sss_ldap_dn_in_search_bases_len(tmp_ctx, dn, sditer->search_bases, 65 || sss_ldap_dn_in_search_bases_len(tmp_ctx, dn, 67 || sss_ldap_dn_in_search_bases_len(tmp_ctx, dn, 69 || sss_ldap_dn_in_search_bases_len(tmp_ctx, dn, 71 || sss_ldap_dn_in_search_bases_len(tmp_ctx, dn, 73 || sss_ldap_dn_in_search_bases_len(tmp_ctx, dn, 75 || sss_ldap_dn_in_search_bases_len(tmp_ctx, d [all...] |
H A D | sdap_reinit.c | 126 TALLOC_CTX *tmp_ctx = NULL; local 134 tmp_ctx = talloc_new(NULL); 135 if (tmp_ctx == NULL) { 147 ret = sysdb_search_users(tmp_ctx, domain, 157 ret = sysdb_search_groups(tmp_ctx, domain, "", attrs, &msgs_num, &msgs); 166 ret = sysdb_search_services(tmp_ctx, domain, "", attrs, &msgs_num, &msgs); 192 talloc_free(tmp_ctx); 256 TALLOC_CTX *tmp_ctx = NULL; local 265 tmp_ctx = talloc_new(NULL); 266 if (tmp_ctx [all...] |
/sssd-io/src/tests/cmocka/ |
H A D | test_find_uid.c | 67 TALLOC_CTX *tmp_ctx; local 72 tmp_ctx = talloc_new(NULL); 73 assert_true(tmp_ctx != NULL); 75 ret = get_uid_table(tmp_ctx, &table); 93 talloc_free(tmp_ctx);
|
/sssd-io/src/tests/ |
H A D | find_uid-tests.c | 69 TALLOC_CTX *tmp_ctx; local 74 tmp_ctx = talloc_new(NULL); 75 fail_unless(tmp_ctx != NULL, "talloc_new failed."); 77 ret = get_uid_table(tmp_ctx, &table); 97 talloc_free(tmp_ctx);
|
/sssd-io/src/tools/sssctl/ |
H A D | sssctl_config.c | 48 TALLOC_CTX *tmp_ctx = NULL; local 56 tmp_ctx = talloc_new(NULL); 57 init_data = sss_ini_initdata_init(tmp_ctx); 96 ret = sss_ini_call_validators_strs(tmp_ctx, init_data,
|
/sssd-io/src/util/ |
H A D | backup_file.c | 31 TALLOC_CTX *tmp_ctx = NULL; local 48 tmp_ctx = talloc_new(NULL); 49 if (!tmp_ctx) { 57 dst_file = talloc_asprintf(tmp_ctx, "%s.bak", src_file); 59 dst_file = talloc_asprintf(tmp_ctx, "%s.bak%d", src_file, i); 118 talloc_free(tmp_ctx);
|
H A D | sss_nss.c | 35 TALLOC_CTX *tmp_ctx = NULL; local 49 tmp_ctx = talloc_new(NULL); 50 if (!tmp_ctx) return NULL; 52 copy = talloc_strdup(tmp_ctx, template); 58 result = talloc_strdup(tmp_ctx, ""); 81 username = sss_output_name(tmp_ctx, homedir_ctx->username, 98 username = sss_output_name(tmp_ctx, homedir_ctx->username, 137 username = sss_output_name(tmp_ctx, homedir_ctx->username, 219 talloc_zfree(tmp_ctx);
|
H A D | sss_ssh.c | 33 TALLOC_CTX *tmp_ctx; local 40 tmp_ctx = talloc_new(NULL); 41 if (!tmp_ctx) { 52 res = talloc_zero(tmp_ctx, struct sss_ssh_ent); 109 talloc_free(tmp_ctx); 150 TALLOC_CTX *tmp_ctx; local 157 tmp_ctx = talloc_new(NULL); 158 if (!tmp_ctx) { 166 blob = sss_base64_encode(tmp_ctx, pubkey->data, pubkey->data_len); 172 ret = sss_ssh_get_pubkey_algorithm(tmp_ctx, pubke [all...] |
/sssd-io/src/providers/proxy/ |
H A D | proxy_netgroup.c | 139 TALLOC_CTX *tmp_ctx = NULL; local 151 tmp_ctx = talloc_new(NULL); 152 if (tmp_ctx == NULL) { 158 attrs = sysdb_new_attrs(tmp_ctx); 204 talloc_free(tmp_ctx);
|
/sssd-io/src/responder/common/cache_req/plugins/ |
H A D | cache_req_group_by_filter.c | 34 TALLOC_CTX *tmp_ctx; local 43 tmp_ctx = talloc_new(NULL); 44 if (tmp_ctx == NULL) { 48 name = sss_get_cased_name(tmp_ctx, cr->data->name.name, 55 name = sss_reverse_replace_space(tmp_ctx, name, cr->rctx->override_space); 67 talloc_free(tmp_ctx);
|
H A D | cache_req_user_by_filter.c | 34 TALLOC_CTX *tmp_ctx; local 43 tmp_ctx = talloc_new(NULL); 44 if (tmp_ctx == NULL) { 48 name = sss_get_cased_name(tmp_ctx, cr->data->name.name, 55 name = sss_reverse_replace_space(tmp_ctx, name, cr->rctx->override_space); 67 talloc_free(tmp_ctx);
|
H A D | cache_req_netgroup_by_name.c | 34 TALLOC_CTX *tmp_ctx; local 43 tmp_ctx = talloc_new(NULL); 44 if (tmp_ctx == NULL) { 48 name = sss_get_cased_name(tmp_ctx, cr->data->name.name, 61 talloc_free(tmp_ctx);
|
H A D | cache_req_object_by_name.c | 78 TALLOC_CTX *tmp_ctx; local 87 tmp_ctx = talloc_new(NULL); 88 if (tmp_ctx == NULL) { 92 name = sss_get_cased_name(tmp_ctx, cr->data->name.name, 99 name = sss_reverse_replace_space(tmp_ctx, name, cr->rctx->override_space); 105 name = sss_create_internal_fqname(tmp_ctx, name, domain->name); 117 talloc_free(tmp_ctx);
|
H A D | cache_req_svc_by_name.c | 35 TALLOC_CTX *tmp_ctx; local 45 tmp_ctx = talloc_new(NULL); 46 if (tmp_ctx == NULL) { 50 name = sss_get_cased_name(tmp_ctx, data->svc.name->name, 60 protocol = sss_get_cased_name(tmp_ctx, data->svc.protocol.name, 76 talloc_free(tmp_ctx);
|
/sssd-io/src/tests/cwrap/ |
H A D | test_become_user.c | 77 TALLOC_CTX *tmp_ctx; local 83 tmp_ctx = talloc_new(global_talloc_context); 84 assert_non_null(tmp_ctx); 92 check_leaks_push(tmp_ctx); 94 ret = switch_creds(tmp_ctx, sssd->pw_uid, sssd->pw_gid, 108 ret = switch_creds(tmp_ctx, sssd->pw_uid, sssd->pw_gid, 122 assert_true(check_leaks_pop(tmp_ctx)); 123 talloc_free(tmp_ctx);
|
/sssd-io/src/tools/ |
H A D | sssd_check_socket_activated_responders.c | 42 TALLOC_CTX *tmp_ctx; local 44 tmp_ctx = talloc_new(NULL); 45 if (tmp_ctx == NULL) { 142 talloc_free(tmp_ctx);
|
/sssd-io/src/util/crypto/libcrypto/ |
H A D | crypto_base64.c | 78 TALLOC_CTX *tmp_ctx = NULL; local 80 tmp_ctx = talloc_new(NULL); 81 if (!tmp_ctx) { 85 in_dup = talloc_size(tmp_ctx, inlen+1); 131 talloc_free(tmp_ctx);
|
/sssd-io/src/providers/files/ |
H A D | files_init.c | 34 TALLOC_CTX *tmp_ctx = NULL; local 48 tmp_ctx = talloc_new(NULL); 49 if (tmp_ctx == NULL) { 78 ret = confdb_get_string(be_ctx->cdb, tmp_ctx, be_ctx->conf_path, 86 ret = confdb_get_string(be_ctx->cdb, tmp_ctx, be_ctx->conf_path, 94 ret = split_on_separator(tmp_ctx, conf_passwd_files, ',', true, true, 102 passwd_files = talloc_zero_array(tmp_ctx, const char *, 122 ret = split_on_separator(tmp_ctx, conf_group_files, ',', true, true, 130 group_files = talloc_zero_array(tmp_ctx, const char *, 154 talloc_free(tmp_ctx); [all...] |
/sssd-io/src/responder/common/cache_req/ |
H A D | cache_req_sr_overlay.c | 124 TALLOC_CTX *tmp_ctx = NULL; local 137 tmp_ctx = talloc_new(NULL); 138 if (tmp_ctx == NULL) { 159 ret = sss_output_fqname(tmp_ctx, result->domain, name, 184 enabled_str = talloc_strdup(tmp_ctx, enabled ? "TRUE" : "FALSE"); 203 talloc_free_children(tmp_ctx); 210 talloc_zfree(tmp_ctx); 234 TALLOC_CTX *tmp_ctx = NULL; local 247 tmp_ctx = talloc_new(NULL); 248 if (tmp_ctx [all...] |
/sssd-io/src/responder/ifp/ |
H A D | ifp_iface_nodes.c | 42 TALLOC_CTX *tmp_ctx; local 51 tmp_ctx = talloc_new(NULL); 52 if (tmp_ctx == NULL) { 63 ret = ifp_cache_list_domains(tmp_ctx, ifp_ctx->rctx->domains, 71 nodes = talloc_zero_array(tmp_ctx, const char *, num_paths + 1); 87 talloc_free(tmp_ctx); 92 talloc_free(tmp_ctx);
|