tmp_ctx 114 lib/smbconf/smbconf.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 125 lib/smbconf/smbconf.c tmp_ctx = talloc_stackframe(); tmp_ctx 127 lib/smbconf/smbconf.c werr = smbconf_get_share_names(ctx, tmp_ctx, &tmp_num_shares, tmp_ctx 133 lib/smbconf/smbconf.c tmp_services = talloc_array(tmp_ctx, struct smbconf_service *, tmp_ctx 160 lib/smbconf/smbconf.c talloc_free(tmp_ctx); tmp_ctx 302 lib/smbconf/smbconf_txt.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 316 lib/smbconf/smbconf_txt.c tmp_ctx = talloc_stackframe(); tmp_ctx 322 lib/smbconf/smbconf_txt.c werr = smbconf_add_string_to_array(tmp_ctx, &tmp_share_names, tmp_ctx 331 lib/smbconf/smbconf_txt.c werr = smbconf_add_string_to_array(tmp_ctx, &tmp_share_names, tmp_ctx 346 lib/smbconf/smbconf_txt.c werr = smbconf_add_string_to_array(tmp_ctx, &tmp_share_names, tmp_ctx 363 lib/smbconf/smbconf_txt.c talloc_free(tmp_ctx); tmp_ctx 405 lib/smbconf/smbconf_txt.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 421 lib/smbconf/smbconf_txt.c tmp_ctx = talloc_stackframe(); tmp_ctx 423 lib/smbconf/smbconf_txt.c tmp_service = talloc_zero(tmp_ctx, struct smbconf_service); tmp_ctx 462 lib/smbconf/smbconf_txt.c talloc_free(tmp_ctx); tmp_ctx 549 lib/smbconf/smbconf_txt.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 566 lib/smbconf/smbconf_txt.c tmp_ctx = talloc_stackframe(); tmp_ctx 572 lib/smbconf/smbconf_txt.c werr = smbconf_add_string_to_array(tmp_ctx, tmp_ctx 597 lib/smbconf/smbconf_txt.c talloc_free(tmp_ctx); tmp_ctx 483 libcli/nbt/nbtname.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 487 libcli/nbt/nbtname.c nbt_hex_encode(tmp_ctx, name->name), tmp_ctx 489 libcli/nbt/nbtname.c nbt_hex_encode(tmp_ctx, name->scope)); tmp_ctx 492 libcli/nbt/nbtname.c nbt_hex_encode(tmp_ctx, name->name), tmp_ctx 495 libcli/nbt/nbtname.c talloc_free(tmp_ctx); tmp_ctx 69 libcli/nbt/nbtsocket.c TALLOC_CTX *tmp_ctx = talloc_new(nbtsock); tmp_ctx 81 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 96 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 104 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 159 libcli/nbt/nbtsocket.c TALLOC_CTX *tmp_ctx = talloc_new(nbtsock); tmp_ctx 170 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 174 libcli/nbt/nbtsocket.c blob = data_blob_talloc(tmp_ctx, NULL, dsize); tmp_ctx 176 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 181 libcli/nbt/nbtsocket.c tmp_ctx, &src); tmp_ctx 183 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 187 libcli/nbt/nbtsocket.c packet = talloc(tmp_ctx, struct nbt_name_packet); tmp_ctx 189 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 200 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 216 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 230 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 236 libcli/nbt/nbtsocket.c talloc_free(tmp_ctx); tmp_ctx 187 libcli/nbt/tools/nmblookup.c TALLOC_CTX *tmp_ctx = talloc_new(NULL); tmp_ctx 196 libcli/nbt/tools/nmblookup.c name = strupper_talloc(tmp_ctx, name); tmp_ctx 209 libcli/nbt/tools/nmblookup.c node_name = talloc_strndup(tmp_ctx, name, PTR_DIFF(p,name)); tmp_ctx 212 libcli/nbt/tools/nmblookup.c node_name = talloc_strdup(tmp_ctx, name); tmp_ctx 215 libcli/nbt/tools/nmblookup.c nbtsock = nbt_name_socket_init(tmp_ctx, ev, lp_iconv_convenience(lp_ctx)); tmp_ctx 218 libcli/nbt/tools/nmblookup.c all_zero_addr = socket_address_from_strings(tmp_ctx, nbtsock->sock->backend_name, tmp_ctx 222 libcli/nbt/tools/nmblookup.c talloc_free(tmp_ctx); tmp_ctx 229 libcli/nbt/tools/nmblookup.c talloc_free(tmp_ctx); tmp_ctx 236 libcli/nbt/tools/nmblookup.c talloc_free(tmp_ctx); tmp_ctx 264 libcli/nbt/tools/nmblookup.c talloc_free(tmp_ctx); tmp_ctx 827 source3/auth/auth_util.c TALLOC_CTX *tmp_ctx; tmp_ctx 837 source3/auth/auth_util.c tmp_ctx = talloc_new(NULL); tmp_ctx 838 source3/auth/auth_util.c if (tmp_ctx == NULL) { tmp_ctx 843 source3/auth/auth_util.c if (!lookup_name_smbconf(tmp_ctx, username, LOOKUP_NAME_ALL, tmp_ctx 862 source3/auth/auth_util.c if ( !(sam_acct = samu_new( tmp_ctx )) ) { tmp_ctx 878 source3/auth/auth_util.c result = pdb_enum_group_memberships(tmp_ctx, sam_acct, tmp_ctx 948 source3/auth/auth_util.c pass = getpwuid_alloc(tmp_ctx, *uid); tmp_ctx 955 source3/auth/auth_util.c if (!getgroups_unix_user(tmp_ctx, username, pass->pw_gid, tmp_ctx 963 source3/auth/auth_util.c group_sids = TALLOC_ARRAY(tmp_ctx, DOM_SID, num_group_sids); tmp_ctx 1004 source3/auth/auth_util.c group_sids = TALLOC_ARRAY(tmp_ctx, DOM_SID, num_group_sids); tmp_ctx 1048 source3/auth/auth_util.c result = add_sid_to_array_unique(tmp_ctx, &unix_group_sid, tmp_ctx 1066 source3/auth/auth_util.c TALLOC_FREE(tmp_ctx); tmp_ctx 130 source3/auth/token_util.c TALLOC_CTX *tmp_ctx; tmp_ctx 132 source3/auth/token_util.c if (!(tmp_ctx = talloc_init("add_aliases"))) { tmp_ctx 139 source3/auth/token_util.c status = pdb_enum_alias_memberships(tmp_ctx, domain_sid, tmp_ctx 163 source3/auth/token_util.c TALLOC_FREE(tmp_ctx); tmp_ctx 323 source3/groupdb/mapping_ldb.c TALLOC_CTX *tmp_ctx; tmp_ctx 325 source3/groupdb/mapping_ldb.c tmp_ctx = talloc_new(ldb); tmp_ctx 326 source3/groupdb/mapping_ldb.c if (tmp_ctx == NULL) goto failed; tmp_ctx 331 source3/groupdb/mapping_ldb.c basedn = ldb_dn_string_compose(tmp_ctx, NULL, "domain=%s", name); tmp_ctx 336 source3/groupdb/mapping_ldb.c ret = ldb_search(ldb, tmp_ctx, &res, basedn, LDB_SCOPE_SUBTREE, tmp_ctx 339 source3/groupdb/mapping_ldb.c ret = ldb_search(ldb, tmp_ctx, &res, basedn, LDB_SCOPE_SUBTREE, tmp_ctx 361 source3/groupdb/mapping_ldb.c talloc_free(tmp_ctx); tmp_ctx 365 source3/groupdb/mapping_ldb.c talloc_free(tmp_ctx); tmp_ctx 429 source3/groupdb/mapping_ldb.c TALLOC_CTX *tmp_ctx; tmp_ctx 443 source3/groupdb/mapping_ldb.c tmp_ctx = talloc_new(NULL); tmp_ctx 444 source3/groupdb/mapping_ldb.c if (tmp_ctx == NULL) { tmp_ctx 448 source3/groupdb/mapping_ldb.c msg.dn = mapping_dn(tmp_ctx, alias); tmp_ctx 455 source3/groupdb/mapping_ldb.c el.name = talloc_strdup(tmp_ctx, "member"); tmp_ctx 463 source3/groupdb/mapping_ldb.c talloc_free(tmp_ctx); tmp_ctx 227 source3/include/passdb.h NTSTATUS (*create_user)(struct pdb_methods *, TALLOC_CTX *tmp_ctx, tmp_ctx 231 source3/include/passdb.h NTSTATUS (*delete_user)(struct pdb_methods *, TALLOC_CTX *tmp_ctx, tmp_ctx 227 source3/lib/dbwrap_ctdb.c TALLOC_CTX *tmp_ctx; tmp_ctx 237 source3/lib/dbwrap_ctdb.c tmp_ctx = talloc_new(h); tmp_ctx 239 source3/lib/dbwrap_ctdb.c rh = fetch_locked_internal(ctx, tmp_ctx, key, true); tmp_ctx 242 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 250 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 260 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 265 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 460 source3/lib/dbwrap_ctdb.c TALLOC_CTX *tmp_ctx = talloc_new(h); tmp_ctx 480 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 492 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 500 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 505 source3/lib/dbwrap_ctdb.c rec.dptr = (uint8_t *)talloc_size(tmp_ctx, rec.dsize); tmp_ctx 508 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 516 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 588 source3/lib/dbwrap_ctdb.c TALLOC_CTX *tmp_ctx = talloc_new(h); tmp_ctx 590 source3/lib/dbwrap_ctdb.c if (db_ctdb_transaction_fetch(h->ctx, tmp_ctx, key, &data2) != 0) { tmp_ctx 591 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 597 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 600 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 1039 source3/lib/dbwrap_ctdb.c TALLOC_CTX *tmp_ctx = talloc_new(state->db); tmp_ctx 1041 source3/lib/dbwrap_ctdb.c rec = db_ctdb_fetch_locked(state->db, tmp_ctx, key); tmp_ctx 1045 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 1053 source3/lib/dbwrap_ctdb.c TALLOC_CTX *tmp_ctx = talloc_new(state->db); tmp_ctx 1056 source3/lib/dbwrap_ctdb.c rec = db_ctdb_fetch_locked(state->db, tmp_ctx, kbuf); tmp_ctx 1060 source3/lib/dbwrap_ctdb.c talloc_free(tmp_ctx); tmp_ctx 157 source3/lib/ldb/common/ldb.c TALLOC_CTX *tmp_ctx; tmp_ctx 168 source3/lib/ldb/common/ldb.c tmp_ctx = talloc_new(ldb); tmp_ctx 169 source3/lib/ldb/common/ldb.c ret = ldb_search(ldb, ldb, &res, ldb_dn_new(tmp_ctx), LDB_SCOPE_BASE, tmp_ctx 179 source3/lib/ldb/common/ldb.c talloc_free(tmp_ctx); tmp_ctx 937 source3/lib/ldb/ldb_tdb/ldb_tdb.c TALLOC_CTX *tmp_ctx = talloc_new(req); tmp_ctx 939 source3/lib/ldb/ldb_tdb/ldb_tdb.c struct ldb_dn *dn = ldb_dn_explode(tmp_ctx, LTDB_BASEINFO); tmp_ctx 942 source3/lib/ldb/ldb_tdb/ldb_tdb.c if (tmp_ctx == NULL) { tmp_ctx 943 source3/lib/ldb/ldb_tdb/ldb_tdb.c talloc_free(tmp_ctx); tmp_ctx 947 source3/lib/ldb/ldb_tdb/ldb_tdb.c msg = talloc(tmp_ctx, struct ldb_message); tmp_ctx 949 source3/lib/ldb/ldb_tdb/ldb_tdb.c talloc_free(tmp_ctx); tmp_ctx 957 source3/lib/ldb/ldb_tdb/ldb_tdb.c talloc_free(tmp_ctx); tmp_ctx 983 source3/lib/ldb/ldb_tdb/ldb_tdb.c talloc_free(tmp_ctx); tmp_ctx 938 source3/lib/ldb/modules/ldb_map_outbound.c void *tmp_ctx; tmp_ctx 961 source3/lib/ldb/modules/ldb_map_outbound.c tmp_ctx = talloc_new(ac); tmp_ctx 962 source3/lib/ldb/modules/ldb_map_outbound.c if (tmp_ctx == NULL) { tmp_ctx 967 source3/lib/ldb/modules/ldb_map_outbound.c tree_attrs = talloc_array(tmp_ctx, const char *, 1); tmp_ctx 969 source3/lib/ldb/modules/ldb_map_outbound.c talloc_free(tmp_ctx); tmp_ctx 975 source3/lib/ldb/modules/ldb_map_outbound.c ret = ldb_parse_tree_collect_attrs(module, tmp_ctx, &tree_attrs, tree); tmp_ctx 981 source3/lib/ldb/modules/ldb_map_outbound.c ret = map_attrs_merge(module, tmp_ctx, &tree_attrs, search_attrs); tmp_ctx 998 source3/lib/ldb/modules/ldb_map_outbound.c talloc_free(tmp_ctx); tmp_ctx 70 source3/lib/ldb/tools/ldbtest.c TALLOC_CTX *tmp_ctx = talloc_new(ldb); tmp_ctx 72 source3/lib/ldb/tools/ldbtest.c name = talloc_asprintf(tmp_ctx, "Test%d", i); tmp_ctx 74 source3/lib/ldb/tools/ldbtest.c msg.dn = ldb_dn_build_child(tmp_ctx, "cn", name, basedn); tmp_ctx 79 source3/lib/ldb/tools/ldbtest.c el[0].name = talloc_strdup(tmp_ctx, "cn"); tmp_ctx 89 source3/lib/ldb/tools/ldbtest.c vals[1][0].data = (uint8_t *)talloc_asprintf(tmp_ctx, "The title of %s", name); tmp_ctx 93 source3/lib/ldb/tools/ldbtest.c el[2].name = talloc_strdup(tmp_ctx, "uid"); tmp_ctx 96 source3/lib/ldb/tools/ldbtest.c vals[2][0].data = (uint8_t *)ldb_casefold(ldb, tmp_ctx, name); tmp_ctx 100 source3/lib/ldb/tools/ldbtest.c el[3].name = talloc_strdup(tmp_ctx, "mail"); tmp_ctx 103 source3/lib/ldb/tools/ldbtest.c vals[3][0].data = (uint8_t *)talloc_asprintf(tmp_ctx, "%s@example.com", name); tmp_ctx 107 source3/lib/ldb/tools/ldbtest.c el[4].name = talloc_strdup(tmp_ctx, "objectClass"); tmp_ctx 110 source3/lib/ldb/tools/ldbtest.c vals[4][0].data = (uint8_t *)talloc_strdup(tmp_ctx, "OpenLDAPperson"); tmp_ctx 114 source3/lib/ldb/tools/ldbtest.c el[5].name = talloc_strdup(tmp_ctx, "sn"); tmp_ctx 130 source3/lib/ldb/tools/ldbtest.c talloc_free(tmp_ctx); tmp_ctx 152 source3/lib/ldb/tools/ldbtest.c TALLOC_CTX *tmp_ctx = talloc_new(ldb); tmp_ctx 154 source3/lib/ldb/tools/ldbtest.c name = talloc_asprintf(tmp_ctx, "Test%d", i); tmp_ctx 155 source3/lib/ldb/tools/ldbtest.c msg.dn = ldb_dn_build_child(tmp_ctx, "cn", name, basedn); tmp_ctx 161 source3/lib/ldb/tools/ldbtest.c el[0].name = talloc_strdup(tmp_ctx, "mail"); tmp_ctx 165 source3/lib/ldb/tools/ldbtest.c el[1].name = talloc_strdup(tmp_ctx, "mail"); tmp_ctx 168 source3/lib/ldb/tools/ldbtest.c vals[1].data = (uint8_t *)talloc_asprintf(tmp_ctx, "%s@other.example.com", name); tmp_ctx 172 source3/lib/ldb/tools/ldbtest.c el[2].name = talloc_strdup(tmp_ctx, "mail"); tmp_ctx 175 source3/lib/ldb/tools/ldbtest.c vals[2].data = (uint8_t *)talloc_asprintf(tmp_ctx, "%s@other2.example.com", name); tmp_ctx 186 source3/lib/ldb/tools/ldbtest.c talloc_free(tmp_ctx); tmp_ctx 293 source3/lib/netapi/netapi.c struct libnetapi_ctx *tmp_ctx = ctx; tmp_ctx 295 source3/lib/netapi/netapi.c if (!tmp_ctx) { tmp_ctx 296 source3/lib/netapi/netapi.c status = libnetapi_getctx(&tmp_ctx); tmp_ctx 302 source3/lib/netapi/netapi.c if (tmp_ctx->error_string) { tmp_ctx 303 source3/lib/netapi/netapi.c return tmp_ctx->error_string; tmp_ctx 43 source3/lib/smbconf/smbconf_init.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 55 source3/lib/smbconf/smbconf_init.c backend = talloc_strdup(tmp_ctx, source); tmp_ctx 93 source3/lib/smbconf/smbconf_init.c talloc_free(tmp_ctx); tmp_ctx 228 source3/lib/smbconf/smbconf_reg.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 235 source3/lib/smbconf/smbconf_reg.c value = TALLOC_ZERO_P(tmp_ctx, struct registry_value); tmp_ctx 239 source3/lib/smbconf/smbconf_reg.c value->v.multi_sz.strings = TALLOC_ARRAY(tmp_ctx, char *, num_strings); tmp_ctx 261 source3/lib/smbconf/smbconf_reg.c talloc_free(tmp_ctx); tmp_ctx 322 source3/lib/smbconf/smbconf_reg.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 332 source3/lib/smbconf/smbconf_reg.c werr = reg_queryvalue(tmp_ctx, key, INCLUDES_VALNAME, &value); tmp_ctx 344 source3/lib/smbconf/smbconf_reg.c werr = smbconf_add_string_to_array(tmp_ctx, tmp_ctx 366 source3/lib/smbconf/smbconf_reg.c talloc_free(tmp_ctx); tmp_ctx 380 source3/lib/smbconf/smbconf_reg.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 398 source3/lib/smbconf/smbconf_reg.c tmp_ctx = talloc_stackframe(); tmp_ctx 401 source3/lib/smbconf/smbconf_reg.c werr = reg_enumvalue(tmp_ctx, key, count, &valname, &valvalue), tmp_ctx 411 source3/lib/smbconf/smbconf_reg.c werr = smbconf_add_string_to_array(tmp_ctx, tmp_ctx 418 source3/lib/smbconf/smbconf_reg.c valstring = smbconf_format_registry_value(tmp_ctx, valvalue); tmp_ctx 419 source3/lib/smbconf/smbconf_reg.c werr = smbconf_add_string_to_array(tmp_ctx, &tmp_valstrings, tmp_ctx 431 source3/lib/smbconf/smbconf_reg.c werr = smbconf_reg_get_includes_internal(tmp_ctx, key, &num_includes, tmp_ctx 437 source3/lib/smbconf/smbconf_reg.c werr = smbconf_add_string_to_array(tmp_ctx, &tmp_valnames, tmp_ctx 443 source3/lib/smbconf/smbconf_reg.c werr = smbconf_add_string_to_array(tmp_ctx, &tmp_valstrings, tmp_ctx 463 source3/lib/smbconf/smbconf_reg.c talloc_free(tmp_ctx); tmp_ctx 713 source3/lib/smbconf/smbconf_reg.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 723 source3/lib/smbconf/smbconf_reg.c tmp_ctx = talloc_stackframe(); tmp_ctx 728 source3/lib/smbconf/smbconf_reg.c werr = smbconf_add_string_to_array(tmp_ctx, &tmp_share_names, tmp_ctx 738 source3/lib/smbconf/smbconf_reg.c werr = smbconf_add_string_to_array(tmp_ctx, &tmp_share_names, tmp_ctx 747 source3/lib/smbconf/smbconf_reg.c werr = reg_enumkey(tmp_ctx, rpd(ctx)->base_key, count, tmp_ctx 756 source3/lib/smbconf/smbconf_reg.c werr = smbconf_add_string_to_array(tmp_ctx, tmp_ctx 778 source3/lib/smbconf/smbconf_reg.c talloc_free(tmp_ctx); tmp_ctx 834 source3/lib/smbconf/smbconf_reg.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 836 source3/lib/smbconf/smbconf_reg.c werr = smbconf_reg_open_service_key(tmp_ctx, ctx, servicename, tmp_ctx 842 source3/lib/smbconf/smbconf_reg.c tmp_service = TALLOC_ZERO_P(tmp_ctx, struct smbconf_service); tmp_ctx 866 source3/lib/smbconf/smbconf_reg.c talloc_free(tmp_ctx); tmp_ctx 1003 source3/lib/smbconf/smbconf_reg.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 1005 source3/lib/smbconf/smbconf_reg.c werr = smbconf_reg_open_service_key(tmp_ctx, ctx, service, tmp_ctx 1015 source3/lib/smbconf/smbconf_reg.c talloc_free(tmp_ctx); tmp_ctx 1026 source3/lib/smbconf/smbconf_reg.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 1028 source3/lib/smbconf/smbconf_reg.c werr = smbconf_reg_open_service_key(tmp_ctx, ctx, service, tmp_ctx 1045 source3/lib/smbconf/smbconf_reg.c talloc_free(tmp_ctx); tmp_ctx 1054 source3/lib/smbconf/smbconf_reg.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 1056 source3/lib/smbconf/smbconf_reg.c werr = smbconf_reg_open_service_key(tmp_ctx, ctx, service, tmp_ctx 1070 source3/lib/smbconf/smbconf_reg.c talloc_free(tmp_ctx); tmp_ctx 555 source3/lib/substitute.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 570 source3/lib/substitute.c tmp_ctx = talloc_stackframe(); tmp_ctx 591 source3/lib/substitute.c pass = Get_Pwnam_alloc(tmp_ctx, r); tmp_ctx 641 source3/lib/substitute.c a_string = realloc_string_sub(a_string, "%T", current_timestring(tmp_ctx, False)); tmp_ctx 694 source3/lib/substitute.c TALLOC_FREE(tmp_ctx); tmp_ctx 713 source3/lib/substitute.c TALLOC_CTX *tmp_ctx; tmp_ctx 715 source3/lib/substitute.c if (!(tmp_ctx = talloc_new(mem_ctx))) { tmp_ctx 720 source3/lib/substitute.c a_string = talloc_strdup(tmp_ctx, input_string); tmp_ctx 733 source3/lib/substitute.c tmp_ctx, a_string, "%U", username); tmp_ctx 737 source3/lib/substitute.c tmp_ctx, a_string, "%u", username); tmp_ctx 742 source3/lib/substitute.c tmp_ctx, a_string, "%G", tmp_ctx 746 source3/lib/substitute.c tmp_ctx, a_string, tmp_ctx 753 source3/lib/substitute.c tmp_ctx, a_string, "%g", tmp_ctx 757 source3/lib/substitute.c tmp_ctx, a_string, "%g", "NO_GROUP"); tmp_ctx 761 source3/lib/substitute.c a_string = talloc_string_sub(tmp_ctx, a_string, tmp_ctx 766 source3/lib/substitute.c tmp_ctx, a_string, "%N", tmp_ctx 785 source3/lib/substitute.c TALLOC_FREE(tmp_ctx); tmp_ctx 162 source3/lib/util_reg_api.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 164 source3/lib/util_reg_api.c strings = TALLOC_ARRAY(tmp_ctx, char *, tmp_ctx 170 source3/lib/util_reg_api.c string_lengths = TALLOC_ARRAY(tmp_ctx, size_t, tmp_ctx 173 source3/lib/util_reg_api.c TALLOC_FREE(tmp_ctx); tmp_ctx 187 source3/lib/util_reg_api.c TALLOC_FREE(tmp_ctx); tmp_ctx 196 source3/lib/util_reg_api.c TALLOC_FREE(tmp_ctx); tmp_ctx 209 source3/lib/util_reg_api.c TALLOC_FREE(tmp_ctx); tmp_ctx 106 source3/libgpo/gpext/security.c struct gp_inifile_context *tmp_ctx = NULL; tmp_ctx 109 source3/libgpo/gpext/security.c GPTTMPL_UNIX_PATH, &tmp_ctx); tmp_ctx 112 source3/libgpo/gpext/security.c status = gpttmpl_parse_header(tmp_ctx->dict, &version); tmp_ctx 116 source3/libgpo/gpext/security.c TALLOC_FREE(tmp_ctx); tmp_ctx 120 source3/libgpo/gpext/security.c *ini_ctx = tmp_ctx; tmp_ctx 56 source3/libgpo/gpo_reg.c struct gp_registry_context *tmp_ctx; tmp_ctx 68 source3/libgpo/gpo_reg.c tmp_ctx = TALLOC_ZERO_P(mem_ctx, struct gp_registry_context); tmp_ctx 69 source3/libgpo/gpo_reg.c W_ERROR_HAVE_NO_MEMORY(tmp_ctx); tmp_ctx 72 source3/libgpo/gpo_reg.c tmp_ctx->token = token; tmp_ctx 74 source3/libgpo/gpo_reg.c tmp_ctx->token = registry_create_system_token(mem_ctx); tmp_ctx 76 source3/libgpo/gpo_reg.c if (!tmp_ctx->token) { tmp_ctx 77 source3/libgpo/gpo_reg.c TALLOC_FREE(tmp_ctx); tmp_ctx 87 source3/libgpo/gpo_reg.c tmp_ctx->path = talloc_strdup(mem_ctx, initial_path); tmp_ctx 88 source3/libgpo/gpo_reg.c if (!tmp_ctx->path) { tmp_ctx 89 source3/libgpo/gpo_reg.c TALLOC_FREE(tmp_ctx); tmp_ctx 93 source3/libgpo/gpo_reg.c werr = reg_open_path(mem_ctx, tmp_ctx->path, desired_access, tmp_ctx 94 source3/libgpo/gpo_reg.c tmp_ctx->token, &tmp_ctx->curr_key); tmp_ctx 96 source3/libgpo/gpo_reg.c TALLOC_FREE(tmp_ctx); tmp_ctx 101 source3/libgpo/gpo_reg.c *reg_ctx = tmp_ctx; tmp_ctx 712 source3/libnet/libnet_dssync.c TALLOC_CTX *tmp_ctx; tmp_ctx 714 source3/libnet/libnet_dssync.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 715 source3/libnet/libnet_dssync.c if (!tmp_ctx) { tmp_ctx 719 source3/libnet/libnet_dssync.c status = libnet_dssync_init(tmp_ctx, ctx); tmp_ctx 724 source3/libnet/libnet_dssync.c status = libnet_dssync_process(tmp_ctx, ctx); tmp_ctx 730 source3/libnet/libnet_dssync.c TALLOC_FREE(tmp_ctx); tmp_ctx 462 source3/librpc/ndr/ndr_string.c TALLOC_CTX *tmp_ctx; tmp_ctx 469 source3/librpc/ndr/ndr_string.c tmp_ctx = ndr->current_mem_ctx; tmp_ctx 472 source3/librpc/ndr/ndr_string.c ndr->current_mem_ctx = tmp_ctx; tmp_ctx 504 source3/librpc/ndr/ndr_string.c TALLOC_CTX *tmp_ctx; tmp_ctx 511 source3/librpc/ndr/ndr_string.c tmp_ctx = ndr->current_mem_ctx; tmp_ctx 514 source3/librpc/ndr/ndr_string.c ndr->current_mem_ctx = tmp_ctx; tmp_ctx 238 source3/modules/vfs_shadow_copy2.c TALLOC_CTX *tmp_ctx = talloc_new(handle->data); tmp_ctx 243 source3/modules/vfs_shadow_copy2.c snapdir = shadow_copy2_find_snapdir(tmp_ctx, handle); tmp_ctx 246 source3/modules/vfs_shadow_copy2.c talloc_free(tmp_ctx); tmp_ctx 250 source3/modules/vfs_shadow_copy2.c basedir = shadow_copy2_find_basedir(tmp_ctx, handle); tmp_ctx 253 source3/modules/vfs_shadow_copy2.c talloc_free(tmp_ctx); tmp_ctx 266 source3/modules/vfs_shadow_copy2.c talloc_free(tmp_ctx); tmp_ctx 279 source3/modules/vfs_shadow_copy2.c talloc_free(tmp_ctx); tmp_ctx 502 source3/modules/vfs_shadow_copy2.c TALLOC_CTX *tmp_ctx = talloc_new(handle->data); tmp_ctx 504 source3/modules/vfs_shadow_copy2.c snapdir = shadow_copy2_find_snapdir(tmp_ctx, handle); tmp_ctx 509 source3/modules/vfs_shadow_copy2.c talloc_free(tmp_ctx); tmp_ctx 518 source3/modules/vfs_shadow_copy2.c talloc_free(tmp_ctx); tmp_ctx 523 source3/modules/vfs_shadow_copy2.c talloc_free(tmp_ctx); tmp_ctx 79 source3/modules/vfs_syncops.c TALLOC_CTX *tmp_ctx = talloc_new(NULL); tmp_ctx 81 source3/modules/vfs_syncops.c parent1 = parent_dir(tmp_ctx, name1); tmp_ctx 82 source3/modules/vfs_syncops.c parent2 = parent_dir(tmp_ctx, name2); tmp_ctx 84 source3/modules/vfs_syncops.c talloc_free(tmp_ctx); tmp_ctx 91 source3/modules/vfs_syncops.c talloc_free(tmp_ctx); tmp_ctx 44 source3/passdb/lookup_sid.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 46 source3/passdb/lookup_sid.c if (tmp_ctx == NULL) { tmp_ctx 54 source3/passdb/lookup_sid.c domain = talloc_strndup(tmp_ctx, full_name, tmp_ctx 56 source3/passdb/lookup_sid.c name = talloc_strdup(tmp_ctx, p+1); tmp_ctx 58 source3/passdb/lookup_sid.c domain = talloc_strdup(tmp_ctx, ""); tmp_ctx 59 source3/passdb/lookup_sid.c name = talloc_strdup(tmp_ctx, full_name); tmp_ctx 64 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 82 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 96 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 114 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 123 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 128 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 140 source3/passdb/lookup_sid.c lookup_wellknown_name(tmp_ctx, name, &sid, &domain)) tmp_ctx 165 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 181 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 207 source3/passdb/lookup_sid.c domain = talloc_strdup(tmp_ctx, builtin_domain_name()); tmp_ctx 222 source3/passdb/lookup_sid.c domain = talloc_strdup(tmp_ctx, get_global_sam_name()); tmp_ctx 231 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 240 source3/passdb/lookup_sid.c domain = talloc_strdup(tmp_ctx, lp_workgroup()); tmp_ctx 267 source3/passdb/lookup_sid.c if (!winbind_lookup_sid(tmp_ctx, &dom_sid, &domain, NULL, tmp_ctx 272 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 284 source3/passdb/lookup_sid.c domain = talloc_strdup(tmp_ctx, unix_users_domain_name()); tmp_ctx 290 source3/passdb/lookup_sid.c domain = talloc_strdup(tmp_ctx, unix_groups_domain_name()); tmp_ctx 299 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 305 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 316 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 324 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 339 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 418 source3/passdb/lookup_sid.c TALLOC_CTX *tmp_ctx; tmp_ctx 420 source3/passdb/lookup_sid.c if (!(tmp_ctx = talloc_init("wb_lookup_rids"))) { tmp_ctx 424 source3/passdb/lookup_sid.c if (!winbind_lookup_rids(tmp_ctx, domain_sid, num_rids, rids, tmp_ctx 428 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 434 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 439 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 444 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 455 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 459 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 464 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 737 source3/passdb/lookup_sid.c TALLOC_CTX *tmp_ctx; tmp_ctx 744 source3/passdb/lookup_sid.c if (!(tmp_ctx = talloc_new(mem_ctx))) { tmp_ctx 896 source3/passdb/lookup_sid.c if (!(rids = TALLOC_ARRAY(tmp_ctx, uint32, dom->num_idxs))) { tmp_ctx 908 source3/passdb/lookup_sid.c if (!lookup_rids(tmp_ctx, &dom->sid, tmp_ctx 938 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 944 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 958 source3/passdb/lookup_sid.c TALLOC_CTX *tmp_ctx; tmp_ctx 963 source3/passdb/lookup_sid.c if (!(tmp_ctx = talloc_new(mem_ctx))) { tmp_ctx 968 source3/passdb/lookup_sid.c if (!NT_STATUS_IS_OK(lookup_sids(tmp_ctx, 1, &sid, 1, tmp_ctx 1000 source3/passdb/lookup_sid.c TALLOC_FREE(tmp_ctx); tmp_ctx 299 source3/passdb/pdb_interface.c TALLOC_CTX *tmp_ctx, const char *name, tmp_ctx 306 source3/passdb/pdb_interface.c if ((sam_pass = samu_new(tmp_ctx)) == NULL) { tmp_ctx 310 source3/passdb/pdb_interface.c if ( !(pwd = Get_Pwnam_alloc(tmp_ctx, name)) ) { tmp_ctx 316 source3/passdb/pdb_interface.c add_script = talloc_strdup(tmp_ctx, tmp_ctx 319 source3/passdb/pdb_interface.c add_script = talloc_strdup(tmp_ctx, tmp_ctx 333 source3/passdb/pdb_interface.c add_script = talloc_all_string_sub(tmp_ctx, tmp_ctx 349 source3/passdb/pdb_interface.c pwd = Get_Pwnam_alloc(tmp_ctx, name); tmp_ctx 1554 source3/passdb/pdb_ldap.c TALLOC_CTX *tmp_ctx = talloc_new(NULL); tmp_ctx 1555 source3/passdb/pdb_ldap.c if (tmp_ctx == NULL) { tmp_ctx 1559 source3/passdb/pdb_ldap.c attr_list = get_userattr_list(tmp_ctx, tmp_ctx 1561 source3/passdb/pdb_ldap.c append_attr(tmp_ctx, &attr_list, tmp_ctx 1565 source3/passdb/pdb_ldap.c append_attr(tmp_ctx, &attr_list, "uidNumber"); tmp_ctx 1568 source3/passdb/pdb_ldap.c TALLOC_FREE(tmp_ctx); tmp_ctx 4976 source3/passdb/pdb_ldap.c TALLOC_CTX *tmp_ctx, const char *name, tmp_ctx 5009 source3/passdb/pdb_ldap.c filter = talloc_asprintf(tmp_ctx, "(&(uid=%s)(objectClass=%s))", tmp_ctx 5018 source3/passdb/pdb_ldap.c talloc_autofree_ldapmsg(tmp_ctx, result); tmp_ctx 5038 source3/passdb/pdb_ldap.c tmp = smbldap_talloc_single_attribute(priv2ld(ldap_state), entry, "sambaSID", tmp_ctx); tmp_ctx 5045 source3/passdb/pdb_ldap.c dn = smbldap_talloc_dn(tmp_ctx, priv2ld(ldap_state), entry); tmp_ctx 5064 source3/passdb/pdb_ldap.c user = samu_new(tmp_ctx); tmp_ctx 5133 source3/passdb/pdb_ldap.c homedir = talloc_sub_specified(tmp_ctx, lp_template_homedir(), "SMB_workstations_home", ldap_state->domain_name, uid, gid); tmp_ctx 5134 source3/passdb/pdb_ldap.c shell = talloc_strdup(tmp_ctx, "/bin/false"); tmp_ctx 5136 source3/passdb/pdb_ldap.c homedir = talloc_sub_specified(tmp_ctx, lp_template_homedir(), name, ldap_state->domain_name, uid, gid); tmp_ctx 5137 source3/passdb/pdb_ldap.c shell = talloc_sub_specified(tmp_ctx, lp_template_shell(), name, ldap_state->domain_name, uid, gid); tmp_ctx 5139 source3/passdb/pdb_ldap.c uidstr = talloc_asprintf(tmp_ctx, "%u", (unsigned int)uid); tmp_ctx 5140 source3/passdb/pdb_ldap.c gidstr = talloc_asprintf(tmp_ctx, "%u", (unsigned int)gid); tmp_ctx 5149 source3/passdb/pdb_ldap.c dn = talloc_asprintf(tmp_ctx, "uid=%s,%s", escape_name, lp_ldap_machine_suffix ()); tmp_ctx 5151 source3/passdb/pdb_ldap.c dn = talloc_asprintf(tmp_ctx, "uid=%s,%s", escape_name, lp_ldap_user_suffix ()); tmp_ctx 5170 source3/passdb/pdb_ldap.c talloc_autofree_ldapmod(tmp_ctx, mods); tmp_ctx 5191 source3/passdb/pdb_ldap.c TALLOC_CTX *tmp_ctx, tmp_ctx 5202 source3/passdb/pdb_ldap.c static NTSTATUS ldapsam_delete_user(struct pdb_methods *my_methods, TALLOC_CTX *tmp_ctx, struct samu *sam_acct) tmp_ctx 5214 source3/passdb/pdb_ldap.c filter = talloc_asprintf(tmp_ctx, tmp_ctx 5230 source3/passdb/pdb_ldap.c talloc_autofree_ldapmsg(tmp_ctx, result); tmp_ctx 5250 source3/passdb/pdb_ldap.c dn = smbldap_talloc_dn(tmp_ctx, priv2ld(ldap_state), entry); tmp_ctx 5266 source3/passdb/pdb_ldap.c tmp_ctx, tmp_ctx 5282 source3/passdb/pdb_ldap.c tmp_ctx, tmp_ctx 5309 source3/passdb/pdb_ldap.c TALLOC_CTX *tmp_ctx, tmp_ctx 5331 source3/passdb/pdb_ldap.c filter = talloc_asprintf(tmp_ctx, "(&(cn=%s)(objectClass=%s))", tmp_ctx 5340 source3/passdb/pdb_ldap.c talloc_autofree_ldapmsg(tmp_ctx, result); tmp_ctx 5360 source3/passdb/pdb_ldap.c tmp = smbldap_talloc_single_attribute(priv2ld(ldap_state), entry, "sambaSID", tmp_ctx); tmp_ctx 5367 source3/passdb/pdb_ldap.c tmp = smbldap_talloc_single_attribute(priv2ld(ldap_state), entry, "gidNumber", tmp_ctx); tmp_ctx 5375 source3/passdb/pdb_ldap.c dn = smbldap_talloc_dn(tmp_ctx, priv2ld(ldap_state), entry); tmp_ctx 5395 source3/passdb/pdb_ldap.c gidstr = talloc_asprintf(tmp_ctx, "%u", (unsigned int)gid); tmp_ctx 5403 source3/passdb/pdb_ldap.c dn = talloc_asprintf(tmp_ctx, "cn=%s,%s", escape_name, lp_ldap_group_suffix()); tmp_ctx 5424 source3/passdb/pdb_ldap.c groupsidstr = talloc_strdup(tmp_ctx, sid_string_talloc(tmp_ctx, tmp_ctx 5426 source3/passdb/pdb_ldap.c grouptype = talloc_asprintf(tmp_ctx, "%d", SID_NAME_DOM_GRP); tmp_ctx 5437 source3/passdb/pdb_ldap.c talloc_autofree_ldapmod(tmp_ctx, mods); tmp_ctx 5463 source3/passdb/pdb_ldap.c static NTSTATUS ldapsam_delete_dom_group(struct pdb_methods *my_methods, TALLOC_CTX *tmp_ctx, uint32 rid) tmp_ctx 5478 source3/passdb/pdb_ldap.c filter = talloc_asprintf(tmp_ctx, tmp_ctx 5482 source3/passdb/pdb_ldap.c sid_string_talloc(tmp_ctx, &group_sid), tmp_ctx 5494 source3/passdb/pdb_ldap.c talloc_autofree_ldapmsg(tmp_ctx, result); tmp_ctx 5514 source3/passdb/pdb_ldap.c dn = smbldap_talloc_dn(tmp_ctx, priv2ld(ldap_state), entry); tmp_ctx 5520 source3/passdb/pdb_ldap.c gidstr = smbldap_talloc_single_attribute(priv2ld(ldap_state), entry, "gidNumber", tmp_ctx); tmp_ctx 5527 source3/passdb/pdb_ldap.c filter = talloc_asprintf(tmp_ctx, tmp_ctx 5540 source3/passdb/pdb_ldap.c talloc_autofree_ldapmsg(tmp_ctx, result); tmp_ctx 5558 source3/passdb/pdb_ldap.c TALLOC_CTX *tmp_ctx, tmp_ctx 5592 source3/passdb/pdb_ldap.c filter = talloc_asprintf(tmp_ctx, tmp_ctx 5596 source3/passdb/pdb_ldap.c sid_string_talloc(tmp_ctx, &member_sid), tmp_ctx 5609 source3/passdb/pdb_ldap.c talloc_autofree_ldapmsg(tmp_ctx, result); tmp_ctx 5633 source3/passdb/pdb_ldap.c gidstr = smbldap_talloc_single_attribute(priv2ld(ldap_state), entry, "gidNumber", tmp_ctx); tmp_ctx 5653 source3/passdb/pdb_ldap.c uidstr = smbldap_talloc_single_attribute(priv2ld(ldap_state), entry, "uid", tmp_ctx); tmp_ctx 5659 source3/passdb/pdb_ldap.c filter = talloc_asprintf(tmp_ctx, tmp_ctx 5663 source3/passdb/pdb_ldap.c sid_string_talloc(tmp_ctx, &group_sid), tmp_ctx 5673 source3/passdb/pdb_ldap.c talloc_autofree_ldapmsg(tmp_ctx, result); tmp_ctx 5693 source3/passdb/pdb_ldap.c dn = smbldap_talloc_dn(tmp_ctx, priv2ld(ldap_state), entry); tmp_ctx 5701 source3/passdb/pdb_ldap.c talloc_autofree_ldapmod(tmp_ctx, mods); tmp_ctx 5720 source3/passdb/pdb_ldap.c TALLOC_CTX *tmp_ctx, tmp_ctx 5724 source3/passdb/pdb_ldap.c return ldapsam_change_groupmem(my_methods, tmp_ctx, group_rid, member_rid, LDAP_MOD_ADD); tmp_ctx 5727 source3/passdb/pdb_ldap.c TALLOC_CTX *tmp_ctx, tmp_ctx 5731 source3/passdb/pdb_ldap.c return ldapsam_change_groupmem(my_methods, tmp_ctx, group_rid, member_rid, LDAP_MOD_DELETE); tmp_ctx 1580 source3/registry/reg_backend_db.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 1590 source3/registry/reg_backend_db.c tdbkey = talloc_asprintf(tmp_ctx, "%s/%s", REG_SECDESC_PREFIX, key); tmp_ctx 1597 source3/registry/reg_backend_db.c data = dbwrap_fetch_bystring(regdb, tmp_ctx, tdbkey); tmp_ctx 1613 source3/registry/reg_backend_db.c TALLOC_FREE(tmp_ctx); tmp_ctx 121 source3/rpc_client/cli_lsarpc.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 131 source3/rpc_client/cli_lsarpc.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 132 source3/rpc_client/cli_lsarpc.c if (!tmp_ctx) { tmp_ctx 251 source3/rpc_client/cli_lsarpc.c TALLOC_FREE(tmp_ctx); tmp_ctx 3299 source3/rpc_client/cli_pipe.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 3307 source3/rpc_client/cli_pipe.c status = rpc_pipe_open_tcp_port(tmp_ctx, host, 135, tmp_ctx 3315 source3/rpc_client/cli_pipe.c status = rpccli_anon_bind_data(tmp_ctx, &auth); tmp_ctx 3327 source3/rpc_client/cli_pipe.c map_binding = TALLOC_ZERO_P(tmp_ctx, struct dcerpc_binding); tmp_ctx 3338 source3/rpc_client/cli_pipe.c map_tower = TALLOC_ZERO_P(tmp_ctx, struct epm_twr_t); tmp_ctx 3344 source3/rpc_client/cli_pipe.c status = dcerpc_binding_build_tower(tmp_ctx, map_binding, tmp_ctx 3352 source3/rpc_client/cli_pipe.c res_towers = TALLOC_ARRAY(tmp_ctx, struct epm_twr_t, max_towers); tmp_ctx 3359 source3/rpc_client/cli_pipe.c entry_handle = TALLOC_ZERO_P(tmp_ctx, struct policy_handle); tmp_ctx 3368 source3/rpc_client/cli_pipe.c tmp_ctx, tmp_ctx 3388 source3/rpc_client/cli_pipe.c status = dcerpc_binding_from_tower(tmp_ctx, tmp_ctx 3404 source3/rpc_client/cli_pipe.c TALLOC_FREE(tmp_ctx); tmp_ctx 35 source3/rpcclient/cmd_epmapper.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 45 source3/rpcclient/cmd_epmapper.c status = dcerpc_binding_build_tower(tmp_ctx, &map_binding, tmp_ctx 57 source3/rpcclient/cmd_epmapper.c p, tmp_ctx, &abstract_syntax.uuid, tmp_ctx 73 source3/rpcclient/cmd_epmapper.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 80 source3/rpcclient/cmd_epmapper.c status = rpccli_epm_Lookup(p, tmp_ctx, tmp_ctx 100 source3/rpcclient/cmd_epmapper.c guid_string = GUID_string(tmp_ctx, &entry.object); tmp_ctx 105 source3/rpcclient/cmd_epmapper.c status = dcerpc_binding_from_tower(tmp_ctx, &entry.tower->tower, tmp_ctx 112 source3/rpcclient/cmd_epmapper.c dcerpc_binding_string(tmp_ctx, binding), tmp_ctx 115 source3/rpcclient/cmd_epmapper.c TALLOC_FREE(tmp_ctx); tmp_ctx 68 source3/smbd/dmapi.c TALLOC_CTX *tmp_ctx = talloc_new(NULL); tmp_ctx 73 source3/smbd/dmapi.c session_name = talloc_strdup(tmp_ctx, DMAPI_SESSION_NAME); tmp_ctx 75 source3/smbd/dmapi.c session_name = talloc_asprintf(tmp_ctx, "%s%u", DMAPI_SESSION_NAME, tmp_ctx 81 source3/smbd/dmapi.c talloc_free(tmp_ctx); tmp_ctx 88 source3/smbd/dmapi.c talloc_free(tmp_ctx); tmp_ctx 98 source3/smbd/dmapi.c new_sessions = TALLOC_REALLOC_ARRAY(tmp_ctx, sessions, tmp_ctx 101 source3/smbd/dmapi.c talloc_free(tmp_ctx); tmp_ctx 113 source3/smbd/dmapi.c talloc_free(tmp_ctx); tmp_ctx 140 source3/smbd/dmapi.c talloc_free(tmp_ctx); tmp_ctx 161 source3/smbd/dmapi.c talloc_free(tmp_ctx); tmp_ctx 207 source3/smbd/notify_internal.c TALLOC_CTX *tmp_ctx; tmp_ctx 220 source3/smbd/notify_internal.c tmp_ctx = talloc_new(notify); tmp_ctx 221 source3/smbd/notify_internal.c NT_STATUS_HAVE_NO_MEMORY(tmp_ctx); tmp_ctx 223 source3/smbd/notify_internal.c ndr_err = ndr_push_struct_blob(&blob, tmp_ctx, NULL, notify->array, tmp_ctx 226 source3/smbd/notify_internal.c talloc_free(tmp_ctx); tmp_ctx 239 source3/smbd/notify_internal.c talloc_free(tmp_ctx); tmp_ctx 254 source3/smbd/notify_internal.c TALLOC_CTX *tmp_ctx = talloc_new(notify); tmp_ctx 257 source3/smbd/notify_internal.c if (tmp_ctx == NULL) { tmp_ctx 261 source3/smbd/notify_internal.c ndr_err = ndr_pull_struct_blob(data, tmp_ctx, NULL, &ev, tmp_ctx 264 source3/smbd/notify_internal.c talloc_free(tmp_ctx); tmp_ctx 275 source3/smbd/notify_internal.c talloc_free(tmp_ctx); tmp_ctx 556 source3/smbd/notify_internal.c TALLOC_CTX *tmp_ctx; tmp_ctx 562 source3/smbd/notify_internal.c tmp_ctx = talloc_new(notify); tmp_ctx 564 source3/smbd/notify_internal.c ndr_err = ndr_push_struct_blob(&data, tmp_ctx, NULL, &ev, tmp_ctx 567 source3/smbd/notify_internal.c talloc_free(tmp_ctx); tmp_ctx 573 source3/smbd/notify_internal.c talloc_free(tmp_ctx); tmp_ctx 45 source3/utils/net_registry.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 52 source3/utils/net_registry.c werr = split_hive_key(tmp_ctx, path, &hivename, &tmp_subkeyname); tmp_ctx 62 source3/utils/net_registry.c werr = ntstatus_to_werror(registry_create_admin_token(tmp_ctx, &token)); tmp_ctx 75 source3/utils/net_registry.c TALLOC_FREE(tmp_ctx); tmp_ctx 86 source3/utils/net_registry.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 92 source3/utils/net_registry.c werr = open_hive(tmp_ctx, path, desired_access, &hive, &subkey_name); tmp_ctx 108 source3/utils/net_registry.c TALLOC_FREE(tmp_ctx); tmp_ctx 33 source3/utils/net_rpc_registry.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 35 source3/utils/net_rpc_registry.c werr = split_hive_key(tmp_ctx, fullname, &hivename, &tmp_keyname); tmp_ctx 74 source3/utils/net_rpc_registry.c TALLOC_FREE(tmp_ctx); tmp_ctx 514 source3/utils/net_rpc_registry.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 518 source3/utils/net_rpc_registry.c status = registry_openkey(tmp_ctx, pipe_hnd, argv[0], tmp_ctx 534 source3/utils/net_rpc_registry.c status = rpccli_winreg_QueryValue(pipe_hnd, tmp_ctx, &key_hnd, tmp_ctx 548 source3/utils/net_rpc_registry.c data = (uint8 *)TALLOC(tmp_ctx, data_size); tmp_ctx 551 source3/utils/net_rpc_registry.c status = rpccli_winreg_QueryValue(pipe_hnd, tmp_ctx, &key_hnd, tmp_ctx 565 source3/utils/net_rpc_registry.c werr = registry_pull_value(tmp_ctx, &value, type, data, tmp_ctx 575 source3/utils/net_rpc_registry.c rpccli_winreg_CloseKey(pipe_hnd, tmp_ctx, &key_hnd, NULL); tmp_ctx 576 source3/utils/net_rpc_registry.c rpccli_winreg_CloseKey(pipe_hnd, tmp_ctx, &hive_hnd, NULL); tmp_ctx 578 source3/utils/net_rpc_registry.c TALLOC_FREE(tmp_ctx); tmp_ctx 759 source3/winbindd/idmap_tdb.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 761 source3/winbindd/idmap_tdb.c keystr = sid_string_talloc(tmp_ctx, map->sid); tmp_ctx 771 source3/winbindd/idmap_tdb.c data = dbwrap_fetch_bystring(ctx->db, tmp_ctx, keystr); tmp_ctx 805 source3/winbindd/idmap_tdb.c talloc_free(tmp_ctx); tmp_ctx 612 source3/winbindd/idmap_tdb2.c TALLOC_CTX *tmp_ctx = talloc_stackframe(); tmp_ctx 617 source3/winbindd/idmap_tdb2.c keystr = sid_string_talloc(tmp_ctx, map->sid); tmp_ctx 627 source3/winbindd/idmap_tdb2.c data = dbwrap_fetch_bystring(idmap_tdb2, tmp_ctx, keystr); tmp_ctx 682 source3/winbindd/idmap_tdb2.c talloc_free(tmp_ctx); tmp_ctx 985 source3/winbindd/winbindd_ads.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 992 source3/winbindd/winbindd_ads.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 993 source3/winbindd/winbindd_ads.c if (!tmp_ctx) { tmp_ctx 1018 source3/winbindd/winbindd_ads.c if (!(ldap_exp = talloc_asprintf(tmp_ctx, "(objectSid=%s)", tmp_ctx 1032 source3/winbindd/winbindd_ads.c rc = ads_ranged_search(ads, tmp_ctx, LDAP_SCOPE_SUBTREE, ads->config.bind_path, tmp_ctx 1059 source3/winbindd/winbindd_ads.c (sid_mem_nocache) = TALLOC_ZERO_ARRAY(tmp_ctx, DOM_SID, num_members); tmp_ctx 1081 source3/winbindd/winbindd_ads.c rc = ads_get_sid_from_extended_dn(tmp_ctx, members[i], args.val, tmp_ctx 1124 source3/winbindd/winbindd_ads.c status = winbindd_lookup_sids(tmp_ctx, tmp_ctx 1139 source3/winbindd/winbindd_ads.c status = winbindd_lookup_sids(tmp_ctx, tmp_ctx 1192 source3/winbindd/winbindd_ads.c TALLOC_FREE(tmp_ctx); tmp_ctx 454 source3/winbindd/winbindd_group.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 464 source3/winbindd/winbindd_group.c tmp_ctx = talloc_new( ctx ); tmp_ctx 468 source3/winbindd/winbindd_group.c status = d->methods->lookup_groupmem(d, tmp_ctx, tmp_ctx 508 source3/winbindd/winbindd_group.c TALLOC_FREE( tmp_ctx ); tmp_ctx 515 source3/winbindd/winbindd_group.c TALLOC_FREE( tmp_ctx ); tmp_ctx 572 source3/winbindd/winbindd_passdb.c TALLOC_CTX *tmp_ctx; tmp_ctx 579 source3/winbindd/winbindd_passdb.c if (!(tmp_ctx = talloc_init("lookup_groupmem"))) { tmp_ctx 583 source3/winbindd/winbindd_passdb.c result = pdb_enum_group_members(tmp_ctx, group_sid, &rids, tmp_ctx 586 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 595 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 602 source3/winbindd/winbindd_passdb.c sids = TALLOC_ARRAY(tmp_ctx, const DOM_SID *, num_members); tmp_ctx 606 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 618 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 624 source3/winbindd/winbindd_passdb.c result = lookup_sids(tmp_ctx, num_members, sids, 1, tmp_ctx 627 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 640 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 651 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 666 source3/winbindd/winbindd_passdb.c TALLOC_CTX *tmp_ctx; tmp_ctx 673 source3/winbindd/winbindd_passdb.c if (!(tmp_ctx = talloc_init("trusted_domains"))) { tmp_ctx 677 source3/winbindd/winbindd_passdb.c nt_status = pdb_enum_trusteddoms(tmp_ctx, num_domains, &domains); tmp_ctx 679 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 689 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 702 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 708 source3/winbindd/winbindd_passdb.c TALLOC_FREE(tmp_ctx); tmp_ctx 674 source4/auth/kerberos/kerberos_pac.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 676 source4/auth/kerberos/kerberos_pac.c if (!tmp_ctx) { tmp_ctx 682 source4/auth/kerberos/kerberos_pac.c talloc_free(tmp_ctx); tmp_ctx 688 source4/auth/kerberos/kerberos_pac.c ndr_err = ndr_pull_union_blob(&pac_logon_info_in, tmp_ctx, iconv_convenience, &info, tmp_ctx 695 source4/auth/kerberos/kerberos_pac.c talloc_free(tmp_ctx); tmp_ctx 706 source4/auth/kerberos/kerberos_pac.c talloc_free(tmp_ctx); tmp_ctx 712 source4/auth/kerberos/kerberos_pac.c talloc_free(tmp_ctx); tmp_ctx 731 source4/auth/kerberos/kerberos_pac.c talloc_free(tmp_ctx); tmp_ctx 82 source4/auth/kerberos/krb5_init_context.c TALLOC_CTX *tmp_ctx = talloc_new(smb_krb5); tmp_ctx 88 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 92 source4/auth/kerberos/krb5_init_context.c blob = data_blob_talloc(tmp_ctx, NULL, dsize); tmp_ctx 95 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 101 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 108 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 117 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 369 source4/auth/kerberos/krb5_init_context.c TALLOC_CTX *tmp_ctx; tmp_ctx 375 source4/auth/kerberos/krb5_init_context.c tmp_ctx = talloc_new(parent_ctx); tmp_ctx 376 source4/auth/kerberos/krb5_init_context.c *smb_krb5_context = talloc(tmp_ctx, struct smb_krb5_context); tmp_ctx 378 source4/auth/kerberos/krb5_init_context.c if (!*smb_krb5_context || !tmp_ctx) { tmp_ctx 379 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 387 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 393 source4/auth/kerberos/krb5_init_context.c config_file = config_path(tmp_ctx, lp_ctx, "krb5.conf"); tmp_ctx 395 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 403 source4/auth/kerberos/krb5_init_context.c smb_get_krb5_error_message((*smb_krb5_context)->krb5_context, ret, tmp_ctx))); tmp_ctx 404 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 413 source4/auth/kerberos/krb5_init_context.c smb_get_krb5_error_message((*smb_krb5_context)->krb5_context, ret, tmp_ctx))); tmp_ctx 414 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 419 source4/auth/kerberos/krb5_init_context.c char *upper_realm = strupper_talloc(tmp_ctx, lp_realm(lp_ctx)); tmp_ctx 422 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 428 source4/auth/kerberos/krb5_init_context.c smb_get_krb5_error_message((*smb_krb5_context)->krb5_context, ret, tmp_ctx))); tmp_ctx 429 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 439 source4/auth/kerberos/krb5_init_context.c smb_get_krb5_error_message((*smb_krb5_context)->krb5_context, ret, tmp_ctx))); tmp_ctx 440 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 450 source4/auth/kerberos/krb5_init_context.c smb_get_krb5_error_message((*smb_krb5_context)->krb5_context, ret, tmp_ctx))); tmp_ctx 451 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 462 source4/auth/kerberos/krb5_init_context.c smb_get_krb5_error_message((*smb_krb5_context)->krb5_context, ret, tmp_ctx))); tmp_ctx 463 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 468 source4/auth/kerberos/krb5_init_context.c talloc_free(tmp_ctx); tmp_ctx 285 source4/auth/ntlm/auth_sam.c TALLOC_CTX *tmp_ctx; tmp_ctx 292 source4/auth/ntlm/auth_sam.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 293 source4/auth/ntlm/auth_sam.c if (!tmp_ctx) { tmp_ctx 297 source4/auth/ntlm/auth_sam.c sam_ctx = samdb_connect(tmp_ctx, ctx->auth_ctx->event_ctx, ctx->auth_ctx->lp_ctx, system_session(mem_ctx, ctx->auth_ctx->lp_ctx)); tmp_ctx 299 source4/auth/ntlm/auth_sam.c talloc_free(tmp_ctx); tmp_ctx 303 source4/auth/ntlm/auth_sam.c nt_status = authsam_search_account(tmp_ctx, sam_ctx, account_name, domain, &msgs, &domain_ref_msgs); tmp_ctx 305 source4/auth/ntlm/auth_sam.c talloc_free(tmp_ctx); tmp_ctx 309 source4/auth/ntlm/auth_sam.c nt_status = authsam_authenticate(ctx->auth_ctx, tmp_ctx, sam_ctx, msgs, domain_ref_msgs, user_info, tmp_ctx 312 source4/auth/ntlm/auth_sam.c talloc_free(tmp_ctx); tmp_ctx 316 source4/auth/ntlm/auth_sam.c nt_status = authsam_make_server_info(tmp_ctx, sam_ctx, lp_netbios_name(ctx->auth_ctx->lp_ctx), tmp_ctx 321 source4/auth/ntlm/auth_sam.c talloc_free(tmp_ctx); tmp_ctx 326 source4/auth/ntlm/auth_sam.c talloc_free(tmp_ctx); tmp_ctx 437 source4/auth/ntlm/auth_sam.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 438 source4/auth/ntlm/auth_sam.c if (!tmp_ctx) { tmp_ctx 442 source4/auth/ntlm/auth_sam.c sam_ctx = samdb_connect(tmp_ctx, auth_context->event_ctx, auth_context->lp_ctx, tmp_ctx 443 source4/auth/ntlm/auth_sam.c system_session(tmp_ctx, auth_context->lp_ctx)); tmp_ctx 445 source4/auth/ntlm/auth_sam.c talloc_free(tmp_ctx); tmp_ctx 449 source4/auth/ntlm/auth_sam.c nt_status = sam_get_results_principal(sam_ctx, tmp_ctx, principal, tmp_ctx 455 source4/auth/ntlm/auth_sam.c nt_status = authsam_make_server_info(tmp_ctx, sam_ctx, tmp_ctx 463 source4/auth/ntlm/auth_sam.c talloc_free(tmp_ctx); tmp_ctx 47 source4/auth/ntlm/auth_simple.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 49 source4/auth/ntlm/auth_simple.c if (!tmp_ctx) { tmp_ctx 53 source4/auth/ntlm/auth_simple.c nt_status = auth_context_create(tmp_ctx, tmp_ctx 58 source4/auth/ntlm/auth_simple.c talloc_free(tmp_ctx); tmp_ctx 62 source4/auth/ntlm/auth_simple.c user_info = talloc(tmp_ctx, struct auth_usersupplied_info); tmp_ctx 64 source4/auth/ntlm/auth_simple.c talloc_free(tmp_ctx); tmp_ctx 86 source4/auth/ntlm/auth_simple.c nt_status = auth_check_password(auth_context, tmp_ctx, user_info, &server_info); tmp_ctx 88 source4/auth/ntlm/auth_simple.c talloc_free(tmp_ctx); tmp_ctx 93 source4/auth/ntlm/auth_simple.c nt_status = auth_generate_session_info(tmp_ctx, ev, lp_ctx, server_info, session_info); tmp_ctx 100 source4/auth/ntlm/auth_simple.c talloc_free(tmp_ctx); tmp_ctx 277 source4/auth/sam.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 280 source4/auth/sam.c tmp_ctx, NULL, &group_msgs, group_attrs, tmp_ctx 284 source4/auth/sam.c talloc_free(tmp_ctx); tmp_ctx 303 source4/auth/sam.c talloc_free(tmp_ctx); tmp_ctx 396 source4/auth/sam.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 400 source4/auth/sam.c if (!tmp_ctx) { tmp_ctx 404 source4/auth/sam.c nt_status = crack_user_principal_name(sam_ctx, tmp_ctx, principal, &user_dn, &domain_dn); tmp_ctx 406 source4/auth/sam.c talloc_free(tmp_ctx); tmp_ctx 411 source4/auth/sam.c ret = gendb_search(sam_ctx, tmp_ctx, partitions_basedn, msgs_domain_ref, domain_ref_attrs, tmp_ctx 415 source4/auth/sam.c talloc_free(tmp_ctx); tmp_ctx 420 source4/auth/sam.c ret = gendb_search_dn(sam_ctx, tmp_ctx, user_dn, msgs, user_attrs); tmp_ctx 422 source4/auth/sam.c talloc_free(tmp_ctx); tmp_ctx 427 source4/auth/sam.c talloc_free(tmp_ctx); tmp_ctx 128 source4/cldap_server/cldap_server.c TALLOC_CTX *tmp_ctx = talloc_new(cldapd); tmp_ctx 144 source4/cldap_server/cldap_server.c const char *address = talloc_strdup(tmp_ctx, iface_n_ip(ifaces, i)); tmp_ctx 149 source4/cldap_server/cldap_server.c talloc_free(tmp_ctx); tmp_ctx 422 source4/cldap_server/netlogon.c TALLOC_CTX *tmp_ctx = talloc_new(cldap); tmp_ctx 431 source4/cldap_server/netlogon.c domain = talloc_strndup(tmp_ctx, tmp_ctx 436 source4/cldap_server/netlogon.c host = talloc_strndup(tmp_ctx, tmp_ctx 443 source4/cldap_server/netlogon.c enc_status = ldap_decode_ndr_GUID(tmp_ctx, tmp_ctx 446 source4/cldap_server/netlogon.c domain_guid = GUID_string(tmp_ctx, &guid); tmp_ctx 450 source4/cldap_server/netlogon.c domain_sid = talloc_strndup(tmp_ctx, tmp_ctx 455 source4/cldap_server/netlogon.c user = talloc_strndup(tmp_ctx, tmp_ctx 480 source4/cldap_server/netlogon.c status = fill_netlogon_samlogon_response(cldapd->samctx, tmp_ctx, domain, NULL, NULL, domain_guid, tmp_ctx 493 source4/cldap_server/netlogon.c talloc_free(tmp_ctx); tmp_ctx 499 source4/cldap_server/netlogon.c talloc_free(tmp_ctx); tmp_ctx 162 source4/cldap_server/rootdse.c TALLOC_CTX *tmp_ctx = talloc_new(cldap); tmp_ctx 171 source4/cldap_server/rootdse.c cldapd_rootdse_fill(cldapd, tmp_ctx, search, &reply.response, reply.result); tmp_ctx 176 source4/cldap_server/rootdse.c ldb_filter_from_tree(tmp_ctx, search->tree), nt_errstr(status))); tmp_ctx 179 source4/cldap_server/rootdse.c talloc_free(tmp_ctx); tmp_ctx 134 source4/dsdb/common/sidmap.c TALLOC_CTX *tmp_ctx; tmp_ctx 139 source4/dsdb/common/sidmap.c tmp_ctx = talloc_new(sidmap); tmp_ctx 141 source4/dsdb/common/sidmap.c ret = gendb_search(sidmap->samctx, tmp_ctx, NULL, &res, attrs, tmp_ctx 143 source4/dsdb/common/sidmap.c ldap_encode_ndr_dom_sid(tmp_ctx, sid)); tmp_ctx 152 source4/dsdb/common/sidmap.c dom_sid_string(tmp_ctx, sid))); tmp_ctx 153 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 161 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 171 source4/dsdb/common/sidmap.c dom_sid_string(tmp_ctx, sid))); tmp_ctx 172 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 176 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 186 source4/dsdb/common/sidmap.c s, dom_sid_string(tmp_ctx, sid))); tmp_ctx 187 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 191 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 197 source4/dsdb/common/sidmap.c status = sidmap_primary_domain_sid(sidmap, tmp_ctx, &domain_sid); tmp_ctx 199 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 208 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 215 source4/dsdb/common/sidmap.c dom_sid_string(tmp_ctx, sid))); tmp_ctx 217 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 229 source4/dsdb/common/sidmap.c TALLOC_CTX *tmp_ctx; tmp_ctx 235 source4/dsdb/common/sidmap.c tmp_ctx = talloc_new(sidmap); tmp_ctx 237 source4/dsdb/common/sidmap.c ret = gendb_search(sidmap->samctx, tmp_ctx, NULL, &res, attrs, tmp_ctx 238 source4/dsdb/common/sidmap.c "objectSid=%s", ldap_encode_ndr_dom_sid(tmp_ctx, sid)); tmp_ctx 241 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 245 source4/dsdb/common/sidmap.c status = sidmap_primary_domain_sid(sidmap, tmp_ctx, &domain_sid); tmp_ctx 247 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 254 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 259 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 273 source4/dsdb/common/sidmap.c TALLOC_CTX *tmp_ctx; tmp_ctx 278 source4/dsdb/common/sidmap.c tmp_ctx = talloc_new(sidmap); tmp_ctx 280 source4/dsdb/common/sidmap.c ret = gendb_search(sidmap->samctx, tmp_ctx, NULL, &res, attrs, tmp_ctx 281 source4/dsdb/common/sidmap.c "objectSid=%s", ldap_encode_ndr_dom_sid(tmp_ctx, sid)); tmp_ctx 289 source4/dsdb/common/sidmap.c dom_sid_string(tmp_ctx, sid))); tmp_ctx 290 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 298 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 308 source4/dsdb/common/sidmap.c s, dom_sid_string(tmp_ctx, sid))); tmp_ctx 309 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 313 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 322 source4/dsdb/common/sidmap.c DEBUG(0,("sAMAccountName '%s' for sid %s does not exist as a local group\n", s, dom_sid_string(tmp_ctx, sid))); tmp_ctx 323 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 327 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 332 source4/dsdb/common/sidmap.c status = sidmap_primary_domain_sid(sidmap, tmp_ctx, &domain_sid); tmp_ctx 334 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 342 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 348 source4/dsdb/common/sidmap.c dom_sid_string(tmp_ctx, sid))); tmp_ctx 350 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 365 source4/dsdb/common/sidmap.c TALLOC_CTX *tmp_ctx; tmp_ctx 386 source4/dsdb/common/sidmap.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 394 source4/dsdb/common/sidmap.c ret = gendb_search(sidmap->samctx, tmp_ctx, NULL, &res, attrs, tmp_ctx 400 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 414 source4/dsdb/common/sidmap.c ret = gendb_search(sidmap->samctx, tmp_ctx, NULL, &res, attrs, tmp_ctx 421 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 436 source4/dsdb/common/sidmap.c status = sidmap_primary_domain_sid(sidmap, tmp_ctx, &domain_sid); tmp_ctx 438 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 443 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 463 source4/dsdb/common/sidmap.c TALLOC_CTX *tmp_ctx; tmp_ctx 484 source4/dsdb/common/sidmap.c tmp_ctx = talloc_new(sidmap); tmp_ctx 492 source4/dsdb/common/sidmap.c ret = gendb_search(sidmap->samctx, tmp_ctx, NULL, &res, attrs, tmp_ctx 498 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 512 source4/dsdb/common/sidmap.c ret = gendb_search(sidmap->samctx, tmp_ctx, NULL, &res, attrs, tmp_ctx 519 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 534 source4/dsdb/common/sidmap.c status = sidmap_primary_domain_sid(sidmap, tmp_ctx, &domain_sid); tmp_ctx 536 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 541 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 562 source4/dsdb/common/sidmap.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 565 source4/dsdb/common/sidmap.c status = sidmap_primary_domain_sid(sidmap, tmp_ctx, &domain_sid); tmp_ctx 571 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 575 source4/dsdb/common/sidmap.c talloc_free(tmp_ctx); tmp_ctx 1048 source4/dsdb/common/util.c TALLOC_CTX *tmp_ctx; tmp_ctx 1063 source4/dsdb/common/util.c tmp_ctx = talloc_new(ldb); tmp_ctx 1064 source4/dsdb/common/util.c if (tmp_ctx == NULL) { tmp_ctx 1068 source4/dsdb/common/util.c ret = ldb_search(ldb, tmp_ctx, &res, ldb_get_default_basedn(ldb), LDB_SCOPE_BASE, attrs, "objectSid=*"); tmp_ctx 1078 source4/dsdb/common/util.c domain_sid = samdb_result_dom_sid(tmp_ctx, res->msgs[0], "objectSid"); tmp_ctx 1089 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1095 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1101 source4/dsdb/common/util.c TALLOC_CTX *tmp_ctx; tmp_ctx 1109 source4/dsdb/common/util.c tmp_ctx = talloc_new(ldb); tmp_ctx 1110 source4/dsdb/common/util.c if (tmp_ctx == NULL) { tmp_ctx 1114 source4/dsdb/common/util.c dom_sid_new = dom_sid_dup(tmp_ctx, dom_sid_in); tmp_ctx 1125 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1132 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1163 source4/dsdb/common/util.c TALLOC_CTX *tmp_ctx; tmp_ctx 1175 source4/dsdb/common/util.c tmp_ctx = talloc_new(ldb); tmp_ctx 1176 source4/dsdb/common/util.c if (tmp_ctx == NULL) { tmp_ctx 1181 source4/dsdb/common/util.c ret = ldb_search(ldb, tmp_ctx, &root_res, ldb_dn_new(tmp_ctx, ldb, ""), LDB_SCOPE_BASE, root_attrs, NULL); tmp_ctx 1192 source4/dsdb/common/util.c settings_dn = ldb_msg_find_attr_as_dn(ldb, tmp_ctx, root_res->msgs[0], "dsServiceName"); tmp_ctx 1200 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1206 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1215 source4/dsdb/common/util.c TALLOC_CTX *tmp_ctx; tmp_ctx 1227 source4/dsdb/common/util.c tmp_ctx = talloc_new(ldb); tmp_ctx 1228 source4/dsdb/common/util.c if (tmp_ctx == NULL) { tmp_ctx 1232 source4/dsdb/common/util.c ret = ldb_search(ldb, tmp_ctx, &res, samdb_ntds_settings_dn(ldb), LDB_SCOPE_BASE, attrs, NULL); tmp_ctx 1241 source4/dsdb/common/util.c invocation_id = talloc(tmp_ctx, struct GUID); tmp_ctx 1254 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1260 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1266 source4/dsdb/common/util.c TALLOC_CTX *tmp_ctx; tmp_ctx 1274 source4/dsdb/common/util.c tmp_ctx = talloc_new(ldb); tmp_ctx 1275 source4/dsdb/common/util.c if (tmp_ctx == NULL) { tmp_ctx 1279 source4/dsdb/common/util.c invocation_id_new = talloc(tmp_ctx, struct GUID); tmp_ctx 1292 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1299 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1308 source4/dsdb/common/util.c TALLOC_CTX *tmp_ctx; tmp_ctx 1320 source4/dsdb/common/util.c tmp_ctx = talloc_new(ldb); tmp_ctx 1321 source4/dsdb/common/util.c if (tmp_ctx == NULL) { tmp_ctx 1325 source4/dsdb/common/util.c ret = ldb_search(ldb, tmp_ctx, &res, samdb_ntds_settings_dn(ldb), LDB_SCOPE_BASE, attrs, NULL); tmp_ctx 1334 source4/dsdb/common/util.c ntds_guid = talloc(tmp_ctx, struct GUID); tmp_ctx 1347 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1353 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1359 source4/dsdb/common/util.c TALLOC_CTX *tmp_ctx; tmp_ctx 1366 source4/dsdb/common/util.c tmp_ctx = talloc_new(ldb); tmp_ctx 1367 source4/dsdb/common/util.c if (tmp_ctx == NULL) { tmp_ctx 1371 source4/dsdb/common/util.c ntds_guid_new = talloc(tmp_ctx, struct GUID); tmp_ctx 1384 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1391 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1428 source4/dsdb/common/util.c TALLOC_CTX *tmp_ctx; tmp_ctx 1432 source4/dsdb/common/util.c tmp_ctx = talloc_new(ldb); tmp_ctx 1433 source4/dsdb/common/util.c if (tmp_ctx == NULL) { tmp_ctx 1438 source4/dsdb/common/util.c ret = ldb_search(ldb, tmp_ctx, &dom_res, ldb_get_default_basedn(ldb), LDB_SCOPE_BASE, dom_attrs, NULL); tmp_ctx 1449 source4/dsdb/common/util.c pdc = ldb_msg_find_attr_as_dn(ldb, tmp_ctx, dom_res->msgs[0], "fSMORoleOwner"); tmp_ctx 1457 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1463 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1475 source4/dsdb/common/util.c TALLOC_CTX *tmp_ctx; tmp_ctx 1477 source4/dsdb/common/util.c tmp_ctx = talloc_new(ldb); tmp_ctx 1478 source4/dsdb/common/util.c if (tmp_ctx == NULL) { tmp_ctx 1484 source4/dsdb/common/util.c ret = ldb_search(ldb, tmp_ctx, &res, samdb_ntds_settings_dn(ldb), LDB_SCOPE_BASE, attrs, NULL); tmp_ctx 1486 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1490 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1495 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1953 source4/dsdb/common/util.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 1958 source4/dsdb/common/util.c if (!tmp_ctx) { tmp_ctx 1962 source4/dsdb/common/util.c split_realm = (const char **)str_list_make(tmp_ctx, dns_domain, "."); tmp_ctx 1964 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 1969 source4/dsdb/common/util.c binary_encoded = ldb_binary_encode_string(tmp_ctx, split_realm[i]); tmp_ctx 1973 source4/dsdb/common/util.c talloc_free(tmp_ctx); tmp_ctx 87 source4/dsdb/samdb/cracknames.c TALLOC_CTX *tmp_ctx; tmp_ctx 96 source4/dsdb/samdb/cracknames.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 97 source4/dsdb/samdb/cracknames.c if (!tmp_ctx) { tmp_ctx 101 source4/dsdb/samdb/cracknames.c service_dn = ldb_dn_new(tmp_ctx, ldb_ctx, "CN=Directory Service,CN=Windows NT,CN=Services"); tmp_ctx 105 source4/dsdb/samdb/cracknames.c service_dn_str = ldb_dn_alloc_linearized(tmp_ctx, service_dn); tmp_ctx 110 source4/dsdb/samdb/cracknames.c ret = ldb_search(ldb_ctx, tmp_ctx, &res, service_dn, LDB_SCOPE_BASE, tmp_ctx 128 source4/dsdb/samdb/cracknames.c talloc_free(tmp_ctx); tmp_ctx 134 source4/dsdb/samdb/cracknames.c mapping = talloc_strdup(tmp_ctx, tmp_ctx 138 source4/dsdb/samdb/cracknames.c talloc_free(tmp_ctx); tmp_ctx 148 source4/dsdb/samdb/cracknames.c talloc_free(tmp_ctx); tmp_ctx 163 source4/dsdb/samdb/cracknames.c talloc_free(tmp_ctx); tmp_ctx 169 source4/dsdb/samdb/cracknames.c talloc_free(tmp_ctx); tmp_ctx 132 source4/dsdb/schema/schema_description.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 133 source4/dsdb/schema/schema_description.c if (!tmp_ctx) { tmp_ctx 143 source4/dsdb/schema/schema_description.c NULL, NULL, talloc_asprintf(tmp_ctx, "'%s'", syntax), tmp_ctx 148 source4/dsdb/schema/schema_description.c talloc_free(tmp_ctx); tmp_ctx 155 source4/dsdb/schema/schema_description.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 156 source4/dsdb/schema/schema_description.c if (!tmp_ctx) { tmp_ctx 170 source4/dsdb/schema/schema_description.c GUID_hexstring(tmp_ctx, &attribute->schemaIDGUID), tmp_ctx 171 source4/dsdb/schema/schema_description.c GUID_hexstring(tmp_ctx, &attribute->attributeSecurityGUID), tmp_ctx 174 source4/dsdb/schema/schema_description.c talloc_free(tmp_ctx); tmp_ctx 319 source4/dsdb/schema/schema_description.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 320 source4/dsdb/schema/schema_description.c if (!tmp_ctx) { tmp_ctx 333 source4/dsdb/schema/schema_description.c dsdb_attribute_list(tmp_ctx, tmp_ctx 335 source4/dsdb/schema/schema_description.c dsdb_attribute_list(tmp_ctx, tmp_ctx 338 source4/dsdb/schema/schema_description.c talloc_free(tmp_ctx); tmp_ctx 351 source4/dsdb/schema/schema_description.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 353 source4/dsdb/schema/schema_description.c if (!tmp_ctx) { tmp_ctx 357 source4/dsdb/schema/schema_description.c aux_class_list = merge_attr_list(tmp_ctx, aux_class_list, sclass->systemAuxiliaryClass); tmp_ctx 358 source4/dsdb/schema/schema_description.c aux_class_list = merge_attr_list(tmp_ctx, aux_class_list, sclass->auxiliaryClass); tmp_ctx 384 source4/dsdb/schema/schema_description.c talloc_free(tmp_ctx); tmp_ctx 391 source4/dsdb/schema/schema_description.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 392 source4/dsdb/schema/schema_description.c if (!tmp_ctx) { tmp_ctx 409 source4/dsdb/schema/schema_description.c GUID_hexstring(tmp_ctx, &sclass->schemaIDGUID)); tmp_ctx 410 source4/dsdb/schema/schema_description.c talloc_free(tmp_ctx); tmp_ctx 1008 source4/dsdb/schema/schema_init.c TALLOC_CTX *tmp_ctx; tmp_ctx 1022 source4/dsdb/schema/schema_init.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 1023 source4/dsdb/schema/schema_init.c if (!tmp_ctx) { tmp_ctx 1031 source4/dsdb/schema/schema_init.c ret = ldb_search(ldb, tmp_ctx, &schema_res, tmp_ctx 1034 source4/dsdb/schema/schema_init.c talloc_free(tmp_ctx); tmp_ctx 1040 source4/dsdb/schema/schema_init.c talloc_free(tmp_ctx); tmp_ctx 1047 source4/dsdb/schema/schema_init.c talloc_free(tmp_ctx); tmp_ctx 1054 source4/dsdb/schema/schema_init.c ret = ldb_search(ldb, tmp_ctx, &a_res, tmp_ctx 1061 source4/dsdb/schema/schema_init.c talloc_free(tmp_ctx); tmp_ctx 1068 source4/dsdb/schema/schema_init.c ret = fetch_objectclass_schema(ldb, schema_dn, tmp_ctx, &c_res, &error_string); tmp_ctx 1072 source4/dsdb/schema/schema_init.c talloc_free(tmp_ctx); tmp_ctx 1076 source4/dsdb/schema/schema_init.c ret = dsdb_schema_from_ldb_results(tmp_ctx, ldb, tmp_ctx 1083 source4/dsdb/schema/schema_init.c talloc_free(tmp_ctx); tmp_ctx 1087 source4/dsdb/schema/schema_init.c talloc_free(tmp_ctx); tmp_ctx 871 source4/dsdb/schema/schema_syntax.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 872 source4/dsdb/schema/schema_syntax.c if (!tmp_ctx) { tmp_ctx 873 source4/dsdb/schema/schema_syntax.c W_ERROR_HAVE_NO_MEMORY(tmp_ctx); tmp_ctx 877 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 882 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 889 source4/dsdb/schema/schema_syntax.c tmp_ctx, schema->iconv_convenience, &id3, tmp_ctx 893 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 897 source4/dsdb/schema/schema_syntax.c dn = ldb_dn_new(tmp_ctx, ldb, id3.dn); tmp_ctx 899 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 904 source4/dsdb/schema/schema_syntax.c ndr_err = ndr_push_struct_blob(&guid_blob, tmp_ctx, schema->iconv_convenience, &id3.guid, tmp_ctx 908 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 914 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 922 source4/dsdb/schema/schema_syntax.c ndr_err = ndr_push_struct_blob(&sid_blob, tmp_ctx, schema->iconv_convenience, &id3.sid, tmp_ctx 926 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 932 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 938 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 973 source4/dsdb/schema/schema_syntax.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 974 source4/dsdb/schema/schema_syntax.c W_ERROR_HAVE_NO_MEMORY(tmp_ctx); tmp_ctx 978 source4/dsdb/schema/schema_syntax.c dn = ldb_dn_from_ldb_val(tmp_ctx, ldb, &in->values[i]); tmp_ctx 988 source4/dsdb/schema/schema_syntax.c tmp_ctx, schema->iconv_convenience, &id3.guid, tmp_ctx 992 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 1001 source4/dsdb/schema/schema_syntax.c tmp_ctx, schema->iconv_convenience, &id3.sid, tmp_ctx 1005 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 1015 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 1018 source4/dsdb/schema/schema_syntax.c talloc_free(tmp_ctx); tmp_ctx 126 source4/kdc/kdc.c TALLOC_CTX *tmp_ctx = talloc_new(kdc_socket); tmp_ctx 137 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 141 source4/kdc/kdc.c blob = data_blob_talloc(tmp_ctx, NULL, dsize); tmp_ctx 144 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 149 source4/kdc/kdc.c tmp_ctx, &src); tmp_ctx 151 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 159 source4/kdc/kdc.c my_addr = socket_get_my_addr(kdc_socket->sock, tmp_ctx); tmp_ctx 161 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 168 source4/kdc/kdc.c tmp_ctx, tmp_ctx 174 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 181 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 190 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 196 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 227 source4/kdc/kdc.c TALLOC_CTX *tmp_ctx = talloc_new(kdcconn); tmp_ctx 233 source4/kdc/kdc.c talloc_steal(tmp_ctx, blob.data); tmp_ctx 235 source4/kdc/kdc.c src_addr = socket_get_peer_addr(kdcconn->conn->socket, tmp_ctx); tmp_ctx 237 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 241 source4/kdc/kdc.c my_addr = socket_get_my_addr(kdcconn->conn->socket, tmp_ctx); tmp_ctx 243 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 251 source4/kdc/kdc.c tmp_ctx, tmp_ctx 258 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 265 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 274 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 279 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 535 source4/kdc/kdc.c TALLOC_CTX *tmp_ctx = talloc_new(kdc); tmp_ctx 542 source4/kdc/kdc.c const char *address = talloc_strdup(tmp_ctx, iface_n_ip(ifaces, i)); tmp_ctx 548 source4/kdc/kdc.c talloc_free(tmp_ctx); tmp_ctx 449 source4/kdc/kpasswdd.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 451 source4/kdc/kpasswdd.c if (!tmp_ctx) { tmp_ctx 458 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 464 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 474 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 482 source4/kdc/kpasswdd.c server_credentials = cli_credentials_init(tmp_ctx); tmp_ctx 504 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 512 source4/kdc/kpasswdd.c nt_status = samba_server_gensec_start(tmp_ctx, kdc->task->event_ctx, tmp_ctx 519 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 527 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 532 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 541 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 546 source4/kdc/kpasswdd.c nt_status = gensec_update(gensec_security, tmp_ctx, ap_req, &ap_rep); tmp_ctx 559 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 564 source4/kdc/kpasswdd.c nt_status = gensec_unwrap(gensec_security, tmp_ctx, &krb_priv_req, &kpasswd_req); tmp_ctx 576 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 581 source4/kdc/kpasswdd.c ret = kpasswd_process_request(kdc, tmp_ctx, tmp_ctx 592 source4/kdc/kpasswdd.c nt_status = gensec_wrap(gensec_security, tmp_ctx, tmp_ctx 605 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 625 source4/kdc/kpasswdd.c talloc_free(tmp_ctx); tmp_ctx 194 source4/kdc/pac-glue.c static void samba_kdc_build_edata_reply(TALLOC_CTX *tmp_ctx, krb5_data *e_data, tmp_ctx 238 source4/kdc/pac-glue.c TALLOC_CTX *tmp_ctx = talloc_new(entry_ex->ctx); tmp_ctx 244 source4/kdc/pac-glue.c if (!tmp_ctx) { tmp_ctx 250 source4/kdc/pac-glue.c talloc_free(tmp_ctx); tmp_ctx 257 source4/kdc/pac-glue.c workstation = talloc_strndup(tmp_ctx, addresses->val->address.data, MIN(addresses->val->address.length, 15)); tmp_ctx 274 source4/kdc/pac-glue.c nt_status = authsam_account_ok(tmp_ctx, tmp_ctx 303 source4/kdc/pac-glue.c samba_kdc_build_edata_reply(tmp_ctx, e_data, nt_status); tmp_ctx 229 source4/ldap_server/ldap_server.c TALLOC_CTX *tmp_ctx; tmp_ctx 246 source4/ldap_server/ldap_server.c tmp_ctx = talloc_new(conn); tmp_ctx 247 source4/ldap_server/ldap_server.c if (tmp_ctx == NULL) { tmp_ctx 251 source4/ldap_server/ldap_server.c basedn = ldb_dn_new(tmp_ctx, conn->ldb, NULL); tmp_ctx 256 source4/ldap_server/ldap_server.c ret = ldb_search(conn->ldb, tmp_ctx, &res, basedn, LDB_SCOPE_BASE, attrs, NULL); tmp_ctx 265 source4/ldap_server/ldap_server.c conf_dn = ldb_msg_find_attr_as_dn(conn->ldb, tmp_ctx, res->msgs[0], "configurationNamingContext"); tmp_ctx 270 source4/ldap_server/ldap_server.c policy_dn = ldb_dn_copy(tmp_ctx, conf_dn); tmp_ctx 276 source4/ldap_server/ldap_server.c ret = ldb_search(conn->ldb, tmp_ctx, &res, policy_dn, LDB_SCOPE_BASE, attrs2, NULL); tmp_ctx 320 source4/ldap_server/ldap_server.c talloc_free(tmp_ctx); tmp_ctx 370 source4/lib/ldb-samba/ldif_handlers.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 371 source4/lib/ldb-samba/ldif_handlers.c if (!tmp_ctx) { tmp_ctx 382 source4/lib/ldb-samba/ldif_handlers.c dn1 = ldb_dn_from_ldb_val(tmp_ctx, ldb, in); tmp_ctx 384 source4/lib/ldb-samba/ldif_handlers.c const char *lDAPDisplayName = talloc_strndup(tmp_ctx, (char *)in->data, in->length); tmp_ctx 390 source4/lib/ldb-samba/ldif_handlers.c talloc_free(tmp_ctx); tmp_ctx 398 source4/lib/ldb-samba/ldif_handlers.c talloc_free(tmp_ctx); tmp_ctx 407 source4/lib/ldb-samba/ldif_handlers.c talloc_free(tmp_ctx); tmp_ctx 422 source4/lib/ldb-samba/ldif_handlers.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 429 source4/lib/ldb-samba/ldif_handlers.c ret1 = ldif_canonicalise_objectCategory(ldb, tmp_ctx, v1, &v1_canon); tmp_ctx 430 source4/lib/ldb-samba/ldif_handlers.c ret2 = ldif_canonicalise_objectCategory(ldb, tmp_ctx, v2, &v2_canon); tmp_ctx 437 source4/lib/ldb-samba/ldif_handlers.c talloc_free(tmp_ctx); tmp_ctx 451 source4/lib/ldb-samba/ldif_handlers.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 453 source4/lib/ldb-samba/ldif_handlers.c if (tmp_ctx == NULL) { tmp_ctx 457 source4/lib/ldb-samba/ldif_handlers.c blob = talloc_zero(tmp_ctx, struct prefixMapBlob); tmp_ctx 492 source4/lib/ldb-samba/ldif_handlers.c talloc_free(tmp_ctx); tmp_ctx 499 source4/lib/ldb-samba/ldif_handlers.c talloc_free(tmp_ctx); tmp_ctx 523 source4/lib/ldb-samba/ldif_handlers.c talloc_free(tmp_ctx); tmp_ctx 610 source4/lib/ldb-samba/ldif_handlers.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 617 source4/lib/ldb-samba/ldif_handlers.c ret1 = ldif_canonicalise_prefixMap(ldb, tmp_ctx, v1, &v1_canon); tmp_ctx 618 source4/lib/ldb-samba/ldif_handlers.c ret2 = ldif_canonicalise_prefixMap(ldb, tmp_ctx, v2, &v2_canon); tmp_ctx 625 source4/lib/ldb-samba/ldif_handlers.c talloc_free(tmp_ctx); tmp_ctx 130 source4/lib/ldb/common/ldb.c TALLOC_CTX *tmp_ctx; tmp_ctx 142 source4/lib/ldb/common/ldb.c tmp_ctx = talloc_new(ldb); tmp_ctx 143 source4/lib/ldb/common/ldb.c ret = ldb_search(ldb, tmp_ctx, &res, ldb_dn_new(tmp_ctx, ldb, NULL), tmp_ctx 146 source4/lib/ldb/common/ldb.c talloc_free(tmp_ctx); tmp_ctx 151 source4/lib/ldb/common/ldb.c talloc_free(tmp_ctx); tmp_ctx 179 source4/lib/ldb/common/ldb.c talloc_free(tmp_ctx); tmp_ctx 1247 source4/lib/ldb/common/ldb.c TALLOC_CTX *tmp_ctx; tmp_ctx 1252 source4/lib/ldb/common/ldb.c tmp_ctx = talloc_zero(ldb, struct ldb_request); tmp_ctx 1253 source4/lib/ldb/common/ldb.c if (tmp_ctx == NULL) { tmp_ctx 1257 source4/lib/ldb/common/ldb.c seq = talloc_zero(tmp_ctx, struct ldb_seqnum_request); tmp_ctx 1269 source4/lib/ldb/common/ldb.c talloc_steal(tmp_ctx, res); tmp_ctx 1281 source4/lib/ldb/common/ldb.c talloc_free(tmp_ctx); tmp_ctx 953 source4/lib/ldb/ldb_map/ldb_map_outbound.c void *tmp_ctx; tmp_ctx 972 source4/lib/ldb/ldb_map/ldb_map_outbound.c tmp_ctx = talloc_new(ac); tmp_ctx 973 source4/lib/ldb/ldb_map/ldb_map_outbound.c if (tmp_ctx == NULL) { tmp_ctx 978 source4/lib/ldb/ldb_map/ldb_map_outbound.c tree_attrs = talloc_array(tmp_ctx, const char *, 1); tmp_ctx 980 source4/lib/ldb/ldb_map/ldb_map_outbound.c talloc_free(tmp_ctx); tmp_ctx 986 source4/lib/ldb/ldb_map/ldb_map_outbound.c ret = ldb_parse_tree_collect_attrs(module, tmp_ctx, &tree_attrs, tree); tmp_ctx 992 source4/lib/ldb/ldb_map/ldb_map_outbound.c ret = map_attrs_merge(module, tmp_ctx, &tree_attrs, search_attrs); tmp_ctx 1009 source4/lib/ldb/ldb_map/ldb_map_outbound.c talloc_free(tmp_ctx); tmp_ctx 907 source4/lib/ldb/ldb_tdb/ldb_tdb.c TALLOC_CTX *tmp_ctx; tmp_ctx 934 source4/lib/ldb/ldb_tdb/ldb_tdb.c tmp_ctx = talloc_new(req); tmp_ctx 935 source4/lib/ldb/ldb_tdb/ldb_tdb.c if (tmp_ctx == NULL) { tmp_ctx 940 source4/lib/ldb/ldb_tdb/ldb_tdb.c dn = ldb_dn_new(tmp_ctx, ldb, LTDB_BASEINFO); tmp_ctx 942 source4/lib/ldb/ldb_tdb/ldb_tdb.c msg = talloc(tmp_ctx, struct ldb_message); tmp_ctx 983 source4/lib/ldb/ldb_tdb/ldb_tdb.c talloc_free(tmp_ctx); tmp_ctx 70 source4/lib/ldb/tools/ldbtest.c TALLOC_CTX *tmp_ctx = talloc_new(ldb); tmp_ctx 72 source4/lib/ldb/tools/ldbtest.c name = talloc_asprintf(tmp_ctx, "Test%d", i); tmp_ctx 74 source4/lib/ldb/tools/ldbtest.c msg.dn = ldb_dn_copy(tmp_ctx, basedn); tmp_ctx 80 source4/lib/ldb/tools/ldbtest.c el[0].name = talloc_strdup(tmp_ctx, "cn"); tmp_ctx 90 source4/lib/ldb/tools/ldbtest.c vals[1][0].data = (uint8_t *)talloc_asprintf(tmp_ctx, "The title of %s", name); tmp_ctx 94 source4/lib/ldb/tools/ldbtest.c el[2].name = talloc_strdup(tmp_ctx, "uid"); tmp_ctx 97 source4/lib/ldb/tools/ldbtest.c vals[2][0].data = (uint8_t *)ldb_casefold(ldb, tmp_ctx, name, strlen(name)); tmp_ctx 101 source4/lib/ldb/tools/ldbtest.c el[3].name = talloc_strdup(tmp_ctx, "mail"); tmp_ctx 104 source4/lib/ldb/tools/ldbtest.c vals[3][0].data = (uint8_t *)talloc_asprintf(tmp_ctx, "%s@example.com", name); tmp_ctx 108 source4/lib/ldb/tools/ldbtest.c el[4].name = talloc_strdup(tmp_ctx, "objectClass"); tmp_ctx 111 source4/lib/ldb/tools/ldbtest.c vals[4][0].data = (uint8_t *)talloc_strdup(tmp_ctx, "OpenLDAPperson"); tmp_ctx 115 source4/lib/ldb/tools/ldbtest.c el[5].name = talloc_strdup(tmp_ctx, "sn"); tmp_ctx 131 source4/lib/ldb/tools/ldbtest.c talloc_free(tmp_ctx); tmp_ctx 153 source4/lib/ldb/tools/ldbtest.c TALLOC_CTX *tmp_ctx = talloc_new(ldb); tmp_ctx 155 source4/lib/ldb/tools/ldbtest.c name = talloc_asprintf(tmp_ctx, "Test%d", i); tmp_ctx 156 source4/lib/ldb/tools/ldbtest.c msg.dn = ldb_dn_copy(tmp_ctx, basedn); tmp_ctx 163 source4/lib/ldb/tools/ldbtest.c el[0].name = talloc_strdup(tmp_ctx, "mail"); tmp_ctx 167 source4/lib/ldb/tools/ldbtest.c el[1].name = talloc_strdup(tmp_ctx, "mail"); tmp_ctx 170 source4/lib/ldb/tools/ldbtest.c vals[1].data = (uint8_t *)talloc_asprintf(tmp_ctx, "%s@other.example.com", name); tmp_ctx 174 source4/lib/ldb/tools/ldbtest.c el[2].name = talloc_strdup(tmp_ctx, "mail"); tmp_ctx 177 source4/lib/ldb/tools/ldbtest.c vals[2].data = (uint8_t *)talloc_asprintf(tmp_ctx, "%s@other2.example.com", name); tmp_ctx 188 source4/lib/ldb/tools/ldbtest.c talloc_free(tmp_ctx); tmp_ctx 359 source4/lib/tls/tls.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 360 source4/lib/tls/tls.c const char *keyfile = lp_tls_keyfile(tmp_ctx, lp_ctx); tmp_ctx 361 source4/lib/tls/tls.c const char *certfile = lp_tls_certfile(tmp_ctx, lp_ctx); tmp_ctx 362 source4/lib/tls/tls.c const char *cafile = lp_tls_cafile(tmp_ctx, lp_ctx); tmp_ctx 363 source4/lib/tls/tls.c const char *crlfile = lp_tls_crlfile(tmp_ctx, lp_ctx); tmp_ctx 364 source4/lib/tls/tls.c const char *dhpfile = lp_tls_dhpfile(tmp_ctx, lp_ctx); tmp_ctx 368 source4/lib/tls/tls.c talloc_free(tmp_ctx); tmp_ctx 374 source4/lib/tls/tls.c talloc_free(tmp_ctx); tmp_ctx 448 source4/lib/tls/tls.c talloc_free(tmp_ctx); tmp_ctx 454 source4/lib/tls/tls.c talloc_free(tmp_ctx); tmp_ctx 64 source4/libcli/cldap/cldap.c TALLOC_CTX *tmp_ctx = talloc_new(cldap); tmp_ctx 69 source4/libcli/cldap/cldap.c struct asn1_data *asn1 = asn1_init(tmp_ctx); tmp_ctx 77 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 81 source4/libcli/cldap/cldap.c blob = data_blob_talloc(tmp_ctx, NULL, dsize); tmp_ctx 83 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 88 source4/libcli/cldap/cldap.c tmp_ctx, &src); tmp_ctx 90 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 100 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 104 source4/libcli/cldap/cldap.c ldap_msg = talloc(tmp_ctx, struct ldap_message); tmp_ctx 106 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 114 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 127 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 137 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 531 source4/libcli/cldap/cldap.c TALLOC_CTX *tmp_ctx = talloc_new(cldap); tmp_ctx 533 source4/libcli/cldap/cldap.c filter = talloc_asprintf(tmp_ctx, "(&(NtVer=%s)", tmp_ctx 534 source4/libcli/cldap/cldap.c ldap_encode_ndr_uint32(tmp_ctx, io->in.version)); tmp_ctx 550 source4/libcli/cldap/cldap.c ldap_encode_ndr_uint32(tmp_ctx, io->in.acct_control)); tmp_ctx 554 source4/libcli/cldap/cldap.c struct dom_sid *sid = dom_sid_parse_talloc(tmp_ctx, io->in.domain_sid); tmp_ctx 557 source4/libcli/cldap/cldap.c ldap_encode_ndr_dom_sid(tmp_ctx, sid)); tmp_ctx 566 source4/libcli/cldap/cldap.c ldap_encode_ndr_GUID(tmp_ctx, &guid)); tmp_ctx 581 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 584 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 708 source4/libcli/cldap/cldap.c TALLOC_CTX *tmp_ctx = talloc_new(cldap); tmp_ctx 711 source4/libcli/cldap/cldap.c status = push_netlogon_samlogon_response(&blob, tmp_ctx, cldap->iconv_convenience, tmp_ctx 725 source4/libcli/cldap/cldap.c response.attributes = talloc(tmp_ctx, struct ldb_message_element); tmp_ctx 733 source4/libcli/cldap/cldap.c talloc_free(tmp_ctx); tmp_ctx 39 source4/libcli/dgram/browse.c TALLOC_CTX *tmp_ctx = talloc_new(dgmsock); tmp_ctx 41 source4/libcli/dgram/browse.c ndr_err = ndr_push_struct_blob(&blob, tmp_ctx, dgmsock->iconv_convenience, request, tmp_ctx 44 source4/libcli/dgram/browse.c talloc_free(tmp_ctx); tmp_ctx 52 source4/libcli/dgram/browse.c talloc_free(tmp_ctx); tmp_ctx 65 source4/libcli/dgram/browse.c TALLOC_CTX *tmp_ctx = talloc_new(dgmsock); tmp_ctx 69 source4/libcli/dgram/browse.c ndr_err = ndr_push_struct_blob(&blob, tmp_ctx, dgmsock->iconv_convenience, reply, tmp_ctx 72 source4/libcli/dgram/browse.c talloc_free(tmp_ctx); tmp_ctx 78 source4/libcli/dgram/browse.c dest = socket_address_from_strings(tmp_ctx, dgmsock->sock->backend_name, tmp_ctx 81 source4/libcli/dgram/browse.c talloc_free(tmp_ctx); tmp_ctx 90 source4/libcli/dgram/browse.c talloc_free(tmp_ctx); tmp_ctx 35 source4/libcli/dgram/dgramsocket.c TALLOC_CTX *tmp_ctx = talloc_new(dgmsock); tmp_ctx 46 source4/libcli/dgram/dgramsocket.c talloc_free(tmp_ctx); tmp_ctx 50 source4/libcli/dgram/dgramsocket.c blob = data_blob_talloc(tmp_ctx, NULL, dsize); tmp_ctx 52 source4/libcli/dgram/dgramsocket.c talloc_free(tmp_ctx); tmp_ctx 57 source4/libcli/dgram/dgramsocket.c tmp_ctx, &src); tmp_ctx 59 source4/libcli/dgram/dgramsocket.c talloc_free(tmp_ctx); tmp_ctx 67 source4/libcli/dgram/dgramsocket.c packet = talloc(tmp_ctx, struct nbt_dgram_packet); tmp_ctx 69 source4/libcli/dgram/dgramsocket.c talloc_free(tmp_ctx); tmp_ctx 80 source4/libcli/dgram/dgramsocket.c talloc_free(tmp_ctx); tmp_ctx 101 source4/libcli/dgram/dgramsocket.c talloc_free(tmp_ctx); tmp_ctx 156 source4/libcli/dgram/mailslot.c TALLOC_CTX *tmp_ctx = talloc_new(dgmsock); tmp_ctx 172 source4/libcli/dgram/mailslot.c src = socket_get_my_addr(dgmsock->sock, tmp_ctx); tmp_ctx 205 source4/libcli/dgram/mailslot.c talloc_free(tmp_ctx); tmp_ctx 41 source4/libcli/dgram/netlogon.c TALLOC_CTX *tmp_ctx = talloc_new(dgmsock); tmp_ctx 43 source4/libcli/dgram/netlogon.c ndr_err = ndr_push_struct_blob(&blob, tmp_ctx, tmp_ctx 48 source4/libcli/dgram/netlogon.c talloc_free(tmp_ctx); tmp_ctx 57 source4/libcli/dgram/netlogon.c talloc_free(tmp_ctx); tmp_ctx 73 source4/libcli/dgram/netlogon.c TALLOC_CTX *tmp_ctx = talloc_new(dgmsock); tmp_ctx 77 source4/libcli/dgram/netlogon.c status = push_nbt_netlogon_response(&blob, tmp_ctx, dgmsock->iconv_convenience, tmp_ctx 85 source4/libcli/dgram/netlogon.c dest = socket_address_from_strings(tmp_ctx, dgmsock->sock->backend_name, tmp_ctx 88 source4/libcli/dgram/netlogon.c talloc_free(tmp_ctx); tmp_ctx 97 source4/libcli/dgram/netlogon.c talloc_free(tmp_ctx); tmp_ctx 208 source4/libcli/ldap/ldap_bind.c TALLOC_CTX *tmp_ctx = NULL; tmp_ctx 284 source4/libcli/ldap/ldap_bind.c tmp_ctx = talloc_new(conn); tmp_ctx 285 source4/libcli/ldap/ldap_bind.c if (tmp_ctx == NULL) goto failed; tmp_ctx 294 source4/libcli/ldap/ldap_bind.c sasl_names = talloc_array(tmp_ctx, const char *, search->attributes[0].num_values + 1); tmp_ctx 320 source4/libcli/ldap/ldap_bind.c status = gensec_update(conn->gensec, tmp_ctx, tmp_ctx 344 source4/libcli/ldap/ldap_bind.c msg = new_ldap_sasl_bind_msg(tmp_ctx, conn->gensec->ops->sasl_name, (output.data?&output:NULL)); tmp_ctx 355 source4/libcli/ldap/ldap_bind.c talloc_steal(tmp_ctx, req); tmp_ctx 386 source4/libcli/ldap/ldap_bind.c talloc_free(tmp_ctx); tmp_ctx 409 source4/libcli/ldap/ldap_bind.c talloc_free(tmp_ctx); tmp_ctx 201 source4/libcli/raw/clisocket.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 209 source4/libcli/raw/clisocket.c if (tmp_ctx == NULL) { tmp_ctx 214 source4/libcli/raw/clisocket.c name = talloc_strdup(tmp_ctx, host); tmp_ctx 217 source4/libcli/raw/clisocket.c talloc_free(tmp_ctx); tmp_ctx 229 source4/libcli/raw/clisocket.c status = resolve_name(resolve_ctx, &nbt_name, tmp_ctx, &address, event_ctx); tmp_ctx 231 source4/libcli/raw/clisocket.c talloc_free(tmp_ctx); tmp_ctx 242 source4/libcli/raw/clisocket.c talloc_free(tmp_ctx); tmp_ctx 246 source4/libcli/raw/clisocket.c talloc_free(tmp_ctx); tmp_ctx 168 source4/libcli/raw/clitransport.c TALLOC_CTX *tmp_ctx = talloc_new(transport); tmp_ctx 174 source4/libcli/raw/clitransport.c status = nbt_name_to_blob(tmp_ctx, transport->iconv_convenience, &calling_blob, calling); tmp_ctx 177 source4/libcli/raw/clitransport.c status = nbt_name_to_blob(tmp_ctx, transport->iconv_convenience, &called_blob, called); tmp_ctx 202 source4/libcli/raw/clitransport.c talloc_free(tmp_ctx); tmp_ctx 206 source4/libcli/raw/clitransport.c talloc_free(tmp_ctx); tmp_ctx 187 source4/libcli/raw/clitree.c TALLOC_CTX *tmp_ctx = talloc_new(parent_ctx); tmp_ctx 188 source4/libcli/raw/clitree.c if (!tmp_ctx) { tmp_ctx 195 source4/libcli/raw/clitree.c io.in.called_name = strupper_talloc(tmp_ctx, dest_host); tmp_ctx 214 source4/libcli/raw/clitree.c talloc_free(tmp_ctx); tmp_ctx 998 source4/libcli/raw/rawrequest.c TALLOC_CTX *tmp_ctx = talloc_new(NULL); tmp_ctx 1005 source4/libcli/raw/rawrequest.c ndr_err = ndr_pull_struct_blob(&blob, tmp_ctx, NULL, guid, tmp_ctx 1007 source4/libcli/raw/rawrequest.c talloc_free(tmp_ctx); tmp_ctx 1017 source4/libcli/raw/rawrequest.c TALLOC_CTX *tmp_ctx = talloc_new(NULL); tmp_ctx 1020 source4/libcli/raw/rawrequest.c ndr_err = ndr_push_struct_blob(&blob, tmp_ctx, NULL, tmp_ctx 1023 source4/libcli/raw/rawrequest.c talloc_free(tmp_ctx); tmp_ctx 1027 source4/libcli/raw/rawrequest.c talloc_free(tmp_ctx); tmp_ctx 469 source4/libcli/security/sddl.c TALLOC_CTX *tmp_ctx; tmp_ctx 473 source4/libcli/security/sddl.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 474 source4/libcli/security/sddl.c if (tmp_ctx == NULL) { tmp_ctx 479 source4/libcli/security/sddl.c s_type = sddl_flags_to_string(tmp_ctx, ace_types, ace->type, true); tmp_ctx 482 source4/libcli/security/sddl.c s_flags = sddl_flags_to_string(tmp_ctx, ace_flags, ace->flags, true); tmp_ctx 485 source4/libcli/security/sddl.c s_mask = sddl_flags_to_string(tmp_ctx, ace_access_mask, ace->access_mask, true); tmp_ctx 487 source4/libcli/security/sddl.c s_mask = talloc_asprintf(tmp_ctx, "0x%08x", ace->access_mask); tmp_ctx 496 source4/libcli/security/sddl.c s_object = GUID_string(tmp_ctx, &ace->object.object.type.type); tmp_ctx 501 source4/libcli/security/sddl.c s_iobject = GUID_string(tmp_ctx, &ace->object.object.inherited_type.inherited_type); tmp_ctx 506 source4/libcli/security/sddl.c s_trustee = sddl_encode_sid(tmp_ctx, &ace->trustee, domain_sid); tmp_ctx 513 source4/libcli/security/sddl.c talloc_free(tmp_ctx); tmp_ctx 554 source4/libcli/security/sddl.c TALLOC_CTX *tmp_ctx; tmp_ctx 560 source4/libcli/security/sddl.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 563 source4/libcli/security/sddl.c char *sid = sddl_encode_sid(tmp_ctx, sd->owner_sid, domain_sid); tmp_ctx 570 source4/libcli/security/sddl.c char *sid = sddl_encode_sid(tmp_ctx, sd->group_sid, domain_sid); tmp_ctx 577 source4/libcli/security/sddl.c char *acl = sddl_encode_acl(tmp_ctx, sd->dacl, sd->type, domain_sid); tmp_ctx 584 source4/libcli/security/sddl.c char *acl = sddl_encode_acl(tmp_ctx, sd->sacl, sd->type>>1, domain_sid); tmp_ctx 590 source4/libcli/security/sddl.c talloc_free(tmp_ctx); tmp_ctx 113 source4/libcli/smb2/util.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 120 source4/libcli/smb2/util.c talloc_free(tmp_ctx); tmp_ctx 126 source4/libcli/smb2/util.c talloc_free(tmp_ctx); tmp_ctx 136 source4/libcli/smb2/util.c talloc_free(tmp_ctx); tmp_ctx 149 source4/libcli/smb2/util.c status = smb2_create(tree, tmp_ctx, &create_parm); tmp_ctx 152 source4/libcli/smb2/util.c talloc_free(tmp_ctx); tmp_ctx 163 source4/libcli/smb2/util.c status = smb2_find_level(tree, tmp_ctx, &f, &count, &list); tmp_ctx 168 source4/libcli/smb2/util.c talloc_free(tmp_ctx); tmp_ctx 178 source4/libcli/smb2/util.c name = talloc_asprintf(tmp_ctx, "%s\\%s", dname, list[i].name_info.name.s); tmp_ctx 209 source4/libcli/smb2/util.c talloc_free(tmp_ctx); tmp_ctx 213 source4/libcli/smb2/util.c talloc_free(tmp_ctx); tmp_ctx 51 source4/libnet/libnet_join.c TALLOC_CTX *tmp_ctx; tmp_ctx 90 source4/libnet/libnet_join.c tmp_ctx = talloc_named(r, 0, "libnet_JoinADSDomain temp context"); tmp_ctx 91 source4/libnet/libnet_join.c if (!tmp_ctx) { tmp_ctx 96 source4/libnet/libnet_join.c drsuapi_binding = talloc(tmp_ctx, struct dcerpc_binding); tmp_ctx 99 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 112 source4/libnet/libnet_join.c status = dcerpc_pipe_connect_b(tmp_ctx, tmp_ctx 124 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 135 source4/libnet/libnet_join.c status = dcerpc_drsuapi_DsBind(drsuapi_pipe, tmp_ctx, &r_drsuapi_bind); tmp_ctx 141 source4/libnet/libnet_join.c dcerpc_errstr(tmp_ctx, drsuapi_pipe->last_fault_code)); tmp_ctx 142 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 149 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 157 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 168 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 178 source4/libnet/libnet_join.c names[0].str = dom_sid_string(tmp_ctx, r->out.account_sid); tmp_ctx 181 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 189 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 193 source4/libnet/libnet_join.c status = dcerpc_drsuapi_DsCrackNames(drsuapi_pipe, tmp_ctx, &r_crack_names); tmp_ctx 200 source4/libnet/libnet_join.c dcerpc_errstr(tmp_ctx, drsuapi_pipe->last_fault_code)); tmp_ctx 201 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 209 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 216 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 222 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 226 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 230 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 239 source4/libnet/libnet_join.c remote_ldb_url = talloc_asprintf(tmp_ctx, "ldap://%s", tmp_ctx 243 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 247 source4/libnet/libnet_join.c remote_ldb = ldb_wrap_connect(tmp_ctx, ctx->event_ctx, ctx->lp_ctx, tmp_ctx 252 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 256 source4/libnet/libnet_join.c account_dn = ldb_dn_new(tmp_ctx, remote_ldb, account_dn_str); tmp_ctx 260 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 265 source4/libnet/libnet_join.c ret = ldb_search(remote_ldb, tmp_ctx, &res, tmp_ctx 270 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 277 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 282 source4/libnet/libnet_join.c msg = ldb_msg_new(tmp_ctx); tmp_ctx 285 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 293 source4/libnet/libnet_join.c const char *dns_host_name = strlower_talloc(tmp_ctx, tmp_ctx 294 source4/libnet/libnet_join.c talloc_asprintf(tmp_ctx, tmp_ctx 301 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 305 source4/libnet/libnet_join.c service_principal_name[0] = talloc_asprintf(tmp_ctx, "host/%s", dns_host_name); tmp_ctx 306 source4/libnet/libnet_join.c service_principal_name[1] = talloc_asprintf(tmp_ctx, "host/%s", strlower_talloc(tmp_ctx, r->in.netbios_name)); tmp_ctx 307 source4/libnet/libnet_join.c service_principal_name[2] = talloc_asprintf(tmp_ctx, "host/%s/%s", dns_host_name, realm); tmp_ctx 308 source4/libnet/libnet_join.c service_principal_name[3] = talloc_asprintf(tmp_ctx, "host/%s/%s", strlower_talloc(tmp_ctx, r->in.netbios_name), realm); tmp_ctx 309 source4/libnet/libnet_join.c service_principal_name[4] = talloc_asprintf(tmp_ctx, "host/%s/%s", dns_host_name, r->out.domain_name); tmp_ctx 310 source4/libnet/libnet_join.c service_principal_name[5] = talloc_asprintf(tmp_ctx, "host/%s/%s", strlower_talloc(tmp_ctx, r->in.netbios_name), r->out.domain_name); tmp_ctx 315 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 318 source4/libnet/libnet_join.c rtn = samdb_msg_add_string(remote_ldb, tmp_ctx, msg, "servicePrincipalName", service_principal_name[i]); tmp_ctx 321 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 326 source4/libnet/libnet_join.c rtn = samdb_msg_add_string(remote_ldb, tmp_ctx, msg, "dNSHostName", dns_host_name); tmp_ctx 329 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 333 source4/libnet/libnet_join.c rtn = samdb_replace(remote_ldb, tmp_ctx, msg); tmp_ctx 339 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 347 source4/libnet/libnet_join.c names[0].str = talloc_asprintf(tmp_ctx, "%s\\", r->out.domain_name); tmp_ctx 350 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 354 source4/libnet/libnet_join.c status = dcerpc_drsuapi_DsCrackNames(drsuapi_pipe, tmp_ctx, &r_crack_names); tmp_ctx 361 source4/libnet/libnet_join.c dcerpc_errstr(tmp_ctx, drsuapi_pipe->last_fault_code)); tmp_ctx 362 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 370 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 377 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 385 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 407 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 435 source4/libnet/libnet_join.c TALLOC_CTX *tmp_ctx; tmp_ctx 469 source4/libnet/libnet_join.c tmp_ctx = talloc_named(mem_ctx, 0, "libnet_Join temp context"); tmp_ctx 470 source4/libnet/libnet_join.c if (!tmp_ctx) { tmp_ctx 475 source4/libnet/libnet_join.c u_handle = talloc(tmp_ctx, struct policy_handle); tmp_ctx 478 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 482 source4/libnet/libnet_join.c connect_with_info = talloc(tmp_ctx, struct libnet_RpcConnect); tmp_ctx 485 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 506 source4/libnet/libnet_join.c status = libnet_RpcConnect(ctx, tmp_ctx, connect_with_info); tmp_ctx 517 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 523 source4/libnet/libnet_join.c status = dcerpc_pipe_auth(tmp_ctx, &samr_pipe, tmp_ctx 530 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 541 source4/libnet/libnet_join.c status = dcerpc_samr_Connect(samr_pipe, tmp_ctx, &sc); tmp_ctx 546 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 553 source4/libnet/libnet_join.c connect_with_info->out.domain_name = talloc_strdup(tmp_ctx, r->in.domain_name); tmp_ctx 556 source4/libnet/libnet_join.c connect_with_info->out.domain_name = talloc_strdup(tmp_ctx, lp_workgroup(ctx->lp_ctx)); tmp_ctx 557 source4/libnet/libnet_join.c connect_with_info->out.realm = talloc_strdup(tmp_ctx, lp_realm(ctx->lp_ctx)); tmp_ctx 571 source4/libnet/libnet_join.c status = dcerpc_samr_LookupDomain(samr_pipe, tmp_ctx, &l); tmp_ctx 576 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 590 source4/libnet/libnet_join.c status = dcerpc_samr_OpenDomain(samr_pipe, tmp_ctx, &od); tmp_ctx 594 source4/libnet/libnet_join.c dom_sid_string(tmp_ctx, connect_with_info->out.domain_sid), tmp_ctx 596 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 612 source4/libnet/libnet_join.c cu_status = dcerpc_samr_CreateUser2(samr_pipe, tmp_ctx, &cu); tmp_ctx 618 source4/libnet/libnet_join.c ln.in.names = talloc_array(tmp_ctx, struct lsa_String, 1); tmp_ctx 623 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 629 source4/libnet/libnet_join.c status = dcerpc_samr_LookupNames(samr_pipe, tmp_ctx, &ln); tmp_ctx 635 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 644 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 657 source4/libnet/libnet_join.c status = dcerpc_samr_OpenUser(samr_pipe, tmp_ctx, &ou); tmp_ctx 663 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 677 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 684 source4/libnet/libnet_join.c status = dcerpc_samr_CreateUser2(samr_pipe, tmp_ctx, &cu); tmp_ctx 689 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 697 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 706 source4/libnet/libnet_join.c status = dcerpc_samr_QueryUserInfo(samr_pipe, tmp_ctx, &qui); tmp_ctx 712 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 722 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 766 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 778 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 791 source4/libnet/libnet_join.c status = dcerpc_samr_GetUserPwInfo(samr_pipe, tmp_ctx, &pwp); tmp_ctx 798 source4/libnet/libnet_join.c password_str = generate_random_str(tmp_ctx, MAX(8, policy_min_pw_len)); tmp_ctx 813 source4/libnet/libnet_join.c status = libnet_SetPassword(ctx, tmp_ctx, &r2); tmp_ctx 816 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 823 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 851 source4/libnet/libnet_join.c talloc_free(tmp_ctx); tmp_ctx 36 source4/libnet/libnet_site.c TALLOC_CTX *tmp_ctx; tmp_ctx 45 source4/libnet/libnet_site.c tmp_ctx = talloc_named(ctx, 0, "libnet_FindSite temp context"); tmp_ctx 46 source4/libnet/libnet_site.c if (!tmp_ctx) { tmp_ctx 59 source4/libnet/libnet_site.c cldap = cldap_socket_init(tmp_ctx, lctx->event_ctx, lp_iconv_convenience(lctx->lp_ctx)); tmp_ctx 60 source4/libnet/libnet_site.c status = cldap_netlogon(cldap, tmp_ctx, &search); tmp_ctx 67 source4/libnet/libnet_site.c site_name_str = talloc_asprintf(tmp_ctx, "%s", tmp_ctx 71 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 75 source4/libnet/libnet_site.c site_name_str = talloc_asprintf(tmp_ctx, "%s", tmp_ctx 79 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 86 source4/libnet/libnet_site.c config_dn_str = talloc_asprintf(tmp_ctx, "CN=Configuration,%s", r->in.domain_dn_str); tmp_ctx 89 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 94 source4/libnet/libnet_site.c server_dn_str = talloc_asprintf(tmp_ctx, "CN=%s,CN=Servers,CN=%s,CN=Sites,%s", tmp_ctx 98 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 111 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 126 source4/libnet/libnet_site.c TALLOC_CTX *tmp_ctx; tmp_ctx 139 source4/libnet/libnet_site.c tmp_ctx = talloc_named(libnet_r, 0, "libnet_JoinSite temp context"); tmp_ctx 140 source4/libnet/libnet_site.c if (!tmp_ctx) { tmp_ctx 145 source4/libnet/libnet_site.c r = talloc(tmp_ctx, struct libnet_JoinSite); tmp_ctx 148 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 156 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 166 source4/libnet/libnet_site.c status = libnet_FindSite(tmp_ctx, ctx, r); tmp_ctx 170 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 180 source4/libnet/libnet_site.c msg = ldb_msg_new(tmp_ctx); tmp_ctx 183 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 190 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 196 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 202 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 206 source4/libnet/libnet_site.c server_dn = ldb_dn_new(tmp_ctx, remote_ldb, server_dn_str); tmp_ctx 211 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 222 source4/libnet/libnet_site.c msg = ldb_msg_new(tmp_ctx); tmp_ctx 225 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 233 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 250 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 259 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 268 source4/libnet/libnet_site.c talloc_free(tmp_ctx); tmp_ctx 454 source4/librpc/ndr/ndr_string.c TALLOC_CTX *tmp_ctx; tmp_ctx 461 source4/librpc/ndr/ndr_string.c tmp_ctx = ndr->current_mem_ctx; tmp_ctx 464 source4/librpc/ndr/ndr_string.c ndr->current_mem_ctx = tmp_ctx; tmp_ctx 496 source4/librpc/ndr/ndr_string.c TALLOC_CTX *tmp_ctx; tmp_ctx 503 source4/librpc/ndr/ndr_string.c tmp_ctx = ndr->current_mem_ctx; tmp_ctx 506 source4/librpc/ndr/ndr_string.c ndr->current_mem_ctx = tmp_ctx; tmp_ctx 305 source4/librpc/rpc/dcerpc.h NTSTATUS dcerpc_bind_auth_schannel(TALLOC_CTX *tmp_ctx, tmp_ctx 351 source4/librpc/rpc/dcerpc_schannel.c struct composite_context *dcerpc_bind_auth_schannel_send(TALLOC_CTX *tmp_ctx, tmp_ctx 363 source4/librpc/rpc/dcerpc_schannel.c c = composite_create(tmp_ctx, p->conn->event_ctx); tmp_ctx 401 source4/librpc/rpc/dcerpc_schannel.c _PUBLIC_ NTSTATUS dcerpc_bind_auth_schannel(TALLOC_CTX *tmp_ctx, tmp_ctx 410 source4/librpc/rpc/dcerpc_schannel.c c = dcerpc_bind_auth_schannel_send(tmp_ctx, p, table, credentials, lp_ctx, tmp_ctx 68 source4/nbt_server/dgram/request.c TALLOC_CTX *tmp_ctx = talloc_new(iface); tmp_ctx 72 source4/nbt_server/dgram/request.c if (!tmp_ctx) { tmp_ctx 82 source4/nbt_server/dgram/request.c talloc_free(tmp_ctx); tmp_ctx 86 source4/nbt_server/dgram/request.c bcast_addr = socket_address_from_strings(tmp_ctx, bcast_dgmsock->sock->backend_name, tmp_ctx 90 source4/nbt_server/dgram/request.c talloc_free(tmp_ctx); tmp_ctx 96 source4/nbt_server/dgram/request.c talloc_free(tmp_ctx); tmp_ctx 110 source4/nbt_server/dgram/request.c talloc_free(tmp_ctx); tmp_ctx 114 source4/nbt_server/dgram/request.c bind_addr = socket_address_from_strings(tmp_ctx, iface->dgmsock->sock->backend_name, tmp_ctx 117 source4/nbt_server/dgram/request.c talloc_free(tmp_ctx); tmp_ctx 123 source4/nbt_server/dgram/request.c talloc_free(tmp_ctx); tmp_ctx 131 source4/nbt_server/dgram/request.c talloc_free(tmp_ctx); tmp_ctx 281 source4/nbt_server/interfaces.c TALLOC_CTX *tmp_ctx = talloc_new(nbtsrv); tmp_ctx 298 source4/nbt_server/interfaces.c primary_address = talloc_strdup(tmp_ctx, primary_address); tmp_ctx 305 source4/nbt_server/interfaces.c talloc_strdup(tmp_ctx, "255.255.255.255"), tmp_ctx 306 source4/nbt_server/interfaces.c talloc_strdup(tmp_ctx, "0.0.0.0")); tmp_ctx 317 source4/nbt_server/interfaces.c address = talloc_strdup(tmp_ctx, iface_n_ip(ifaces, i)); tmp_ctx 318 source4/nbt_server/interfaces.c bcast = talloc_strdup(tmp_ctx, bcast); tmp_ctx 319 source4/nbt_server/interfaces.c netmask = talloc_strdup(tmp_ctx, iface_n_netmask(ifaces, i)); tmp_ctx 331 source4/nbt_server/interfaces.c talloc_free(tmp_ctx); tmp_ctx 45 source4/nbt_server/register.c TALLOC_CTX *tmp_ctx = talloc_new(iname); tmp_ctx 47 source4/nbt_server/register.c status = nbt_name_refresh_recv(req, tmp_ctx, &io); tmp_ctx 50 source4/nbt_server/register.c nbt_name_string(tmp_ctx, &iname->name), tmp_ctx 54 source4/nbt_server/register.c talloc_free(tmp_ctx); tmp_ctx 63 source4/nbt_server/register.c io.out.reply_addr, nbt_name_string(tmp_ctx, &iname->name), tmp_ctx 68 source4/nbt_server/register.c nbt_name_string(tmp_ctx, &iname->name), tmp_ctx 73 source4/nbt_server/register.c talloc_free(tmp_ctx); tmp_ctx 140 source4/nbt_server/register.c TALLOC_CTX *tmp_ctx = talloc_new(iname); tmp_ctx 147 source4/nbt_server/register.c nbt_name_string(tmp_ctx, &iname->name), tmp_ctx 150 source4/nbt_server/register.c talloc_free(tmp_ctx); tmp_ctx 159 source4/nbt_server/register.c nbt_name_string(tmp_ctx, &iname->name), tmp_ctx 162 source4/nbt_server/register.c talloc_free(tmp_ctx); tmp_ctx 80 source4/nbt_server/wins/winsclient.c TALLOC_CTX *tmp_ctx = talloc_new(iname); tmp_ctx 82 source4/nbt_server/wins/winsclient.c status = nbt_name_refresh_wins_recv(c, tmp_ctx, &io); tmp_ctx 87 source4/nbt_server/wins/winsclient.c nbt_name_string(tmp_ctx, &iname->name), iname->wins_server)); tmp_ctx 88 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 95 source4/nbt_server/wins/winsclient.c nbt_name_string(tmp_ctx, &iname->name), nt_errstr(status))); tmp_ctx 96 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 102 source4/nbt_server/wins/winsclient.c io.out.wins_server, nbt_name_string(tmp_ctx, &iname->name), tmp_ctx 105 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 110 source4/nbt_server/wins/winsclient.c nbt_name_string(tmp_ctx, &iname->name), iname->wins_server)); tmp_ctx 118 source4/nbt_server/wins/winsclient.c talloc_steal(tmp_ctx, iname->wins_server); tmp_ctx 125 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 139 source4/nbt_server/wins/winsclient.c TALLOC_CTX *tmp_ctx = talloc_new(iname); tmp_ctx 143 source4/nbt_server/wins/winsclient.c io.in.wins_servers = (const char **)str_list_make(tmp_ctx, iname->wins_server, NULL); tmp_ctx 145 source4/nbt_server/wins/winsclient.c io.in.addresses = nbtd_address_list(iface, tmp_ctx); tmp_ctx 150 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 156 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 164 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 177 source4/nbt_server/wins/winsclient.c TALLOC_CTX *tmp_ctx = talloc_new(iname); tmp_ctx 179 source4/nbt_server/wins/winsclient.c status = nbt_name_register_wins_recv(c, tmp_ctx, &io); tmp_ctx 189 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 195 source4/nbt_server/wins/winsclient.c nbt_name_string(tmp_ctx, &iname->name), nt_errstr(status))); tmp_ctx 196 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 202 source4/nbt_server/wins/winsclient.c io.out.wins_server, nbt_name_string(tmp_ctx, &iname->name), tmp_ctx 205 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 216 source4/nbt_server/wins/winsclient.c talloc_steal(tmp_ctx, iname->wins_server); tmp_ctx 224 source4/nbt_server/wins/winsclient.c nbt_name_string(tmp_ctx, &iname->name), iname->wins_server)); tmp_ctx 226 source4/nbt_server/wins/winsclient.c talloc_free(tmp_ctx); tmp_ctx 41 source4/nbt_server/wins/winsdb.c TALLOC_CTX *tmp_ctx = talloc_new(ldb); tmp_ctx 44 source4/nbt_server/wins/winsdb.c dn = ldb_dn_new(tmp_ctx, ldb, "CN=VERSION"); tmp_ctx 48 source4/nbt_server/wins/winsdb.c ret = ldb_search(ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, NULL, NULL); tmp_ctx 57 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 73 source4/nbt_server/wins/winsdb.c TALLOC_CTX *tmp_ctx = talloc_new(wins_db); tmp_ctx 79 source4/nbt_server/wins/winsdb.c dn = ldb_dn_new(tmp_ctx, wins_db, "CN=VERSION"); tmp_ctx 83 source4/nbt_server/wins/winsdb.c ret = ldb_search(wins_db, tmp_ctx, &res, dn, LDB_SCOPE_BASE, NULL, NULL); tmp_ctx 97 source4/nbt_server/wins/winsdb.c msg = ldb_msg_new(tmp_ctx); tmp_ctx 118 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 123 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 133 source4/nbt_server/wins/winsdb.c TALLOC_CTX *tmp_ctx = talloc_new(ldb); tmp_ctx 136 source4/nbt_server/wins/winsdb.c dn = ldb_dn_new(tmp_ctx, ldb, "@BASEINFO"); tmp_ctx 140 source4/nbt_server/wins/winsdb.c ret = ldb_search(ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, NULL, NULL); tmp_ctx 149 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 581 source4/nbt_server/wins/winsdb.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 585 source4/nbt_server/wins/winsdb.c ret = ldb_search(wins_db, tmp_ctx, &res, tmp_ctx 586 source4/nbt_server/wins/winsdb.c winsdb_dn(tmp_ctx, wins_db, name), tmp_ctx 597 source4/nbt_server/wins/winsdb.c status = winsdb_record(h, res->msgs[0], tmp_ctx, now, &rec); tmp_ctx 601 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 606 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 816 source4/nbt_server/wins/winsdb.c TALLOC_CTX *tmp_ctx = talloc_new(wins_db); tmp_ctx 832 source4/nbt_server/wins/winsdb.c msg = winsdb_message(wins_db, rec, tmp_ctx); tmp_ctx 842 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 847 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 859 source4/nbt_server/wins/winsdb.c TALLOC_CTX *tmp_ctx = talloc_new(wins_db); tmp_ctx 876 source4/nbt_server/wins/winsdb.c msg = winsdb_message(wins_db, rec, tmp_ctx); tmp_ctx 891 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 896 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 907 source4/nbt_server/wins/winsdb.c TALLOC_CTX *tmp_ctx = talloc_new(wins_db); tmp_ctx 915 source4/nbt_server/wins/winsdb.c dn = winsdb_dn(tmp_ctx, wins_db, rec->name); tmp_ctx 926 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 931 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 943 source4/nbt_server/wins/winsdb.c TALLOC_CTX *tmp_ctx = talloc_new(h); tmp_ctx 950 source4/nbt_server/wins/winsdb.c dn = ldb_dn_new(tmp_ctx, h->ldb, "@MODULES"); tmp_ctx 954 source4/nbt_server/wins/winsdb.c ret = ldb_search(h->ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, NULL, NULL); tmp_ctx 960 source4/nbt_server/wins/winsdb.c msg = ldb_msg_new(tmp_ctx); tmp_ctx 986 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 991 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 996 source4/nbt_server/wins/winsdb.c talloc_free(tmp_ctx); tmp_ctx 71 source4/ntp_signd/ntp_signd.c TALLOC_CTX *tmp_ctx = talloc_new(ntp_signdconn); tmp_ctx 75 source4/ntp_signd/ntp_signd.c NT_STATUS_HAVE_NO_MEMORY(tmp_ctx); tmp_ctx 82 source4/ntp_signd/ntp_signd.c ndr_err = ndr_push_struct_blob(&reply, tmp_ctx, tmp_ctx 89 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 95 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 105 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 118 source4/ntp_signd/ntp_signd.c TALLOC_CTX *tmp_ctx = talloc_new(ntp_signdconn); tmp_ctx 132 source4/ntp_signd/ntp_signd.c NT_STATUS_HAVE_NO_MEMORY(tmp_ctx); tmp_ctx 134 source4/ntp_signd/ntp_signd.c talloc_steal(tmp_ctx, wrapped_input.data); tmp_ctx 138 source4/ntp_signd/ntp_signd.c ndr_err = ndr_pull_struct_blob_all(&input, tmp_ctx, tmp_ctx 152 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 158 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 163 source4/ntp_signd/ntp_signd.c sid = dom_sid_add_rid(tmp_ctx, domain_sid, sign_request.key_id & 0x7FFFFFFF); tmp_ctx 165 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 169 source4/ntp_signd/ntp_signd.c ret = ldb_search(ntp_signdconn->ntp_signd->samdb, tmp_ctx, tmp_ctx 172 source4/ntp_signd/ntp_signd.c dom_sid_string(tmp_ctx, sid)); tmp_ctx 174 source4/ntp_signd/ntp_signd.c DEBUG(2, ("Failed to search for SID %s in SAM for NTP signing: %s\n", dom_sid_string(tmp_ctx, sid), tmp_ctx 176 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 181 source4/ntp_signd/ntp_signd.c DEBUG(5, ("Failed to find SID %s in SAM for NTP signing\n", dom_sid_string(tmp_ctx, sid))); tmp_ctx 183 source4/ntp_signd/ntp_signd.c DEBUG(1, ("Found SID %s %u times in SAM for NTP signing\n", dom_sid_string(tmp_ctx, sid), res->count)); tmp_ctx 184 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 191 source4/ntp_signd/ntp_signd.c DEBUG(1, ("Account %s for SID [%s] is disabled\n", ldb_dn_get_linearized(res->msgs[0]->dn), dom_sid_string(tmp_ctx, sid))); tmp_ctx 192 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 197 source4/ntp_signd/ntp_signd.c DEBUG(1, ("Account %s for SID [%s] is not a trust account\n", ldb_dn_get_linearized(res->msgs[0]->dn), dom_sid_string(tmp_ctx, sid))); tmp_ctx 198 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 202 source4/ntp_signd/ntp_signd.c nt_hash = samdb_result_hash(tmp_ctx, res->msgs[0], "unicodePwd"); tmp_ctx 204 source4/ntp_signd/ntp_signd.c DEBUG(1, ("No unicodePwd found on record of SID %s for NTP signing\n", dom_sid_string(tmp_ctx, sid))); tmp_ctx 205 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 213 source4/ntp_signd/ntp_signd.c signed_reply.signed_packet = data_blob_talloc(tmp_ctx, tmp_ctx 218 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 233 source4/ntp_signd/ntp_signd.c ndr_err = ndr_push_struct_blob(&output, tmp_ctx, tmp_ctx 240 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 246 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 257 source4/ntp_signd/ntp_signd.c talloc_free(tmp_ctx); tmp_ctx 209 source4/ntvfs/common/notify.c TALLOC_CTX *tmp_ctx; tmp_ctx 226 source4/ntvfs/common/notify.c tmp_ctx = talloc_new(notify); tmp_ctx 227 source4/ntvfs/common/notify.c NT_STATUS_HAVE_NO_MEMORY(tmp_ctx); tmp_ctx 229 source4/ntvfs/common/notify.c ndr_err = ndr_push_struct_blob(&blob, tmp_ctx, notify->iconv_convenience, notify->array, tmp_ctx 232 source4/ntvfs/common/notify.c talloc_free(tmp_ctx); tmp_ctx 240 source4/ntvfs/common/notify.c talloc_free(tmp_ctx); tmp_ctx 258 source4/ntvfs/common/notify.c TALLOC_CTX *tmp_ctx = talloc_new(notify); tmp_ctx 261 source4/ntvfs/common/notify.c if (tmp_ctx == NULL) { tmp_ctx 265 source4/ntvfs/common/notify.c ndr_err = ndr_pull_struct_blob(data, tmp_ctx, notify->iconv_convenience, &ev, tmp_ctx 268 source4/ntvfs/common/notify.c talloc_free(tmp_ctx); tmp_ctx 279 source4/ntvfs/common/notify.c talloc_free(tmp_ctx); tmp_ctx 556 source4/ntvfs/common/notify.c TALLOC_CTX *tmp_ctx; tmp_ctx 562 source4/ntvfs/common/notify.c tmp_ctx = talloc_new(notify); tmp_ctx 564 source4/ntvfs/common/notify.c ndr_err = ndr_push_struct_blob(&data, tmp_ctx, notify->iconv_convenience, &ev, (ndr_push_flags_fn_t)ndr_push_notify_event); tmp_ctx 566 source4/ntvfs/common/notify.c talloc_free(tmp_ctx); tmp_ctx 572 source4/ntvfs/common/notify.c talloc_free(tmp_ctx); tmp_ctx 129 source4/ntvfs/posix/pvfs_acl_nfs4.c TALLOC_CTX *tmp_ctx; tmp_ctx 133 source4/ntvfs/posix/pvfs_acl_nfs4.c tmp_ctx = talloc_new(pvfs); tmp_ctx 134 source4/ntvfs/posix/pvfs_acl_nfs4.c NT_STATUS_HAVE_NO_MEMORY(tmp_ctx); tmp_ctx 143 source4/ntvfs/posix/pvfs_acl_nfs4.c acl.ace = talloc_array(tmp_ctx, struct nfs4ace, acl.a_count); tmp_ctx 145 source4/ntvfs/posix/pvfs_acl_nfs4.c talloc_free(tmp_ctx); tmp_ctx 149 source4/ntvfs/posix/pvfs_acl_nfs4.c ids = talloc_array(tmp_ctx, struct id_mapping, acl.a_count); tmp_ctx 151 source4/ntvfs/posix/pvfs_acl_nfs4.c talloc_free(tmp_ctx); tmp_ctx 160 source4/ntvfs/posix/pvfs_acl_nfs4.c talloc_free(tmp_ctx); tmp_ctx 168 source4/ntvfs/posix/pvfs_acl_nfs4.c talloc_free(tmp_ctx); tmp_ctx 173 source4/ntvfs/posix/pvfs_acl_nfs4.c talloc_free(tmp_ctx); tmp_ctx 196 source4/ntvfs/posix/pvfs_acl_nfs4.c talloc_free(tmp_ctx); tmp_ctx 474 source4/ntvfs/posix/pvfs_xattr.c TALLOC_CTX *tmp_ctx = talloc_new(pvfs); tmp_ctx 476 source4/ntvfs/posix/pvfs_xattr.c pull_xattr_blob(pvfs, tmp_ctx, "user.XattrProbe", pvfs->base_directory, tmp_ctx 478 source4/ntvfs/posix/pvfs_xattr.c pull_xattr_blob(pvfs, tmp_ctx, "security.XattrProbe", pvfs->base_directory, tmp_ctx 480 source4/ntvfs/posix/pvfs_xattr.c talloc_free(tmp_ctx); tmp_ctx 167 source4/param/share_ldb.c TALLOC_CTX *tmp_ctx; tmp_ctx 169 source4/param/share_ldb.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 170 source4/param/share_ldb.c if (!tmp_ctx) { tmp_ctx 177 source4/param/share_ldb.c ret = ldb_search(ldb, tmp_ctx, &res, ldb_dn_new(tmp_ctx, ldb, "CN=SHARES"), tmp_ctx 180 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 187 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 202 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 216 source4/param/share_ldb.c TALLOC_CTX *tmp_ctx; tmp_ctx 218 source4/param/share_ldb.c tmp_ctx = talloc_new(mem_ctx); tmp_ctx 219 source4/param/share_ldb.c if (!tmp_ctx) { tmp_ctx 226 source4/param/share_ldb.c ret = ldb_search(ldb, tmp_ctx, &res, tmp_ctx 227 source4/param/share_ldb.c ldb_dn_new(tmp_ctx, ldb, "CN=SHARES"), LDB_SCOPE_SUBTREE, NULL, tmp_ctx 230 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 233 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 237 source4/param/share_ldb.c s = talloc(tmp_ctx, struct share_config); tmp_ctx 240 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 247 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 254 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 262 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 294 source4/param/share_ldb.c TALLOC_CTX *tmp_ctx; tmp_ctx 311 source4/param/share_ldb.c tmp_ctx = talloc_new(NULL); tmp_ctx 312 source4/param/share_ldb.c if (!tmp_ctx) { tmp_ctx 319 source4/param/share_ldb.c msg = ldb_msg_new(tmp_ctx); tmp_ctx 327 source4/param/share_ldb.c msg->dn = ldb_dn_new_fmt(tmp_ctx, ldb, "CN=%s,CN=SHARES", name); tmp_ctx 383 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 433 source4/param/share_ldb.c TALLOC_CTX *tmp_ctx; tmp_ctx 443 source4/param/share_ldb.c tmp_ctx = talloc_new(NULL); tmp_ctx 444 source4/param/share_ldb.c if (!tmp_ctx) { tmp_ctx 451 source4/param/share_ldb.c msg = ldb_msg_new(tmp_ctx); tmp_ctx 459 source4/param/share_ldb.c msg->dn = ldb_dn_new_fmt(tmp_ctx, ldb, "CN=%s,CN=SHARES", name); tmp_ctx 498 source4/param/share_ldb.c newdn = ldb_dn_new_fmt(tmp_ctx, ldb, "CN=%s,CN=SHARES", newname); tmp_ctx 534 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 542 source4/param/share_ldb.c TALLOC_CTX *tmp_ctx; tmp_ctx 546 source4/param/share_ldb.c tmp_ctx = talloc_new(NULL); tmp_ctx 547 source4/param/share_ldb.c if (!tmp_ctx) { tmp_ctx 554 source4/param/share_ldb.c dn = ldb_dn_new_fmt(tmp_ctx, ldb, "CN=%s,CN=SHARES", name); tmp_ctx 571 source4/param/share_ldb.c talloc_free(tmp_ctx); tmp_ctx 96 source4/rpc_server/common/server_info.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 97 source4/rpc_server/common/server_info.c if (!tmp_ctx) { tmp_ctx 101 source4/rpc_server/common/server_info.c samctx = samdb_connect(tmp_ctx, event_ctx, dce_ctx->lp_ctx, anonymous_session(tmp_ctx, event_ctx, dce_ctx->lp_ctx)); tmp_ctx 114 source4/rpc_server/common/server_info.c talloc_free(tmp_ctx); tmp_ctx 38 source4/torture/ldap/cldapbench.c TALLOC_CTX *tmp_ctx = talloc_new(NULL); tmp_ctx 40 source4/torture/ldap/cldapbench.c status = cldap_netlogon_recv(req, tmp_ctx, &io); tmp_ctx 46 source4/torture/ldap/cldapbench.c talloc_free(tmp_ctx); tmp_ctx 111 source4/torture/ldap/cldapbench.c TALLOC_CTX *tmp_ctx = talloc_new(NULL); tmp_ctx 112 source4/torture/ldap/cldapbench.c status = cldap_search_recv(req, tmp_ctx, &io); tmp_ctx 118 source4/torture/ldap/cldapbench.c talloc_free(tmp_ctx); tmp_ctx 60 source4/torture/local/dbspeed.c TALLOC_CTX *tmp_ctx = talloc_new(torture); tmp_ctx 66 source4/torture/local/dbspeed.c tdbw = tdb_wrap_open(tmp_ctx, "test.tdb", tmp_ctx 70 source4/torture/local/dbspeed.c talloc_free(tmp_ctx); tmp_ctx 98 source4/torture/local/dbspeed.c key.dptr = (uint8_t *)talloc_asprintf(tmp_ctx, "S-1-5-21-53173311-3623041448-2049097239-%u", i); tmp_ctx 107 source4/torture/local/dbspeed.c key.dptr = (uint8_t *)talloc_asprintf(tmp_ctx, "UID %u", i); tmp_ctx 123 source4/torture/local/dbspeed.c talloc_free(tmp_ctx); tmp_ctx 128 source4/torture/local/dbspeed.c talloc_free(tmp_ctx); tmp_ctx 169 source4/torture/local/dbspeed.c TALLOC_CTX *tmp_ctx = talloc_new(torture); tmp_ctx 179 source4/torture/local/dbspeed.c ldb = ldb_wrap_connect(tmp_ctx, torture->ev, torture->lp_ctx, "tdb://test.ldb", tmp_ctx 183 source4/torture/local/dbspeed.c talloc_free(tmp_ctx); tmp_ctx 216 source4/torture/local/dbspeed.c dn = ldb_dn_new_fmt(tmp_ctx, ldb, "SID=S-1-5-21-53173311-3623041448-2049097239-%u", i); tmp_ctx 217 source4/torture/local/dbspeed.c if (ldb_search(ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, NULL, NULL) != LDB_SUCCESS || res->count != 1) { tmp_ctx 222 source4/torture/local/dbspeed.c if (ldb_search(ldb, tmp_ctx, &res, NULL, LDB_SCOPE_SUBTREE, NULL, "(UID=%u)", i) != LDB_SUCCESS || res->count != 1) { tmp_ctx 230 source4/torture/local/dbspeed.c talloc_free(tmp_ctx); tmp_ctx 241 source4/torture/local/dbspeed.c talloc_free(tmp_ctx); tmp_ctx 246 source4/torture/local/dbspeed.c talloc_free(tmp_ctx); tmp_ctx 80 source4/torture/nbt/winsbench.c TALLOC_CTX *tmp_ctx = talloc_new(state); tmp_ctx 88 source4/torture/nbt/winsbench.c io.in.name = generate_name(tmp_ctx, idx); tmp_ctx 105 source4/torture/nbt/winsbench.c talloc_free(tmp_ctx); tmp_ctx 133 source4/torture/nbt/winsbench.c TALLOC_CTX *tmp_ctx = talloc_new(state); tmp_ctx 141 source4/torture/nbt/winsbench.c io.in.name = generate_name(tmp_ctx, idx); tmp_ctx 155 source4/torture/nbt/winsbench.c talloc_free(tmp_ctx); tmp_ctx 181 source4/torture/nbt/winsbench.c TALLOC_CTX *tmp_ctx = talloc_new(state); tmp_ctx 189 source4/torture/nbt/winsbench.c io.in.name = generate_name(tmp_ctx, idx); tmp_ctx 202 source4/torture/nbt/winsbench.c talloc_free(tmp_ctx); tmp_ctx 215 source4/torture/raw/openbench.c TALLOC_CTX *tmp_ctx = talloc_new(state->mem_ctx); tmp_ctx 218 source4/torture/raw/openbench.c status = smb_raw_open_recv(req, tmp_ctx, &state->open_parms); tmp_ctx 220 source4/torture/raw/openbench.c talloc_free(tmp_ctx); tmp_ctx 145 source4/torture/raw/streams.c TALLOC_CTX *tmp_ctx = talloc_new(cli); tmp_ctx 153 source4/torture/raw/streams.c status = smb_raw_pathinfo(cli->tree, tmp_ctx, &finfo); tmp_ctx 172 source4/torture/raw/streams.c exp_sort = talloc_memdup(tmp_ctx, exp, num_exp * sizeof(*exp)); tmp_ctx 180 source4/torture/raw/streams.c stream_sort = talloc_memdup(tmp_ctx, finfo.stream_info.out.streams, tmp_ctx 202 source4/torture/raw/streams.c talloc_free(tmp_ctx); tmp_ctx 110 source4/torture/rpc/bench.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 111 source4/torture/rpc/bench.c if (!test_NetShareEnumAll(p, tmp_ctx)) break; tmp_ctx 112 source4/torture/rpc/bench.c talloc_free(tmp_ctx); tmp_ctx 73 source4/torture/rpc/remote_pac.c TALLOC_CTX *tmp_ctx = talloc_new(tctx); tmp_ctx 75 source4/torture/rpc/remote_pac.c torture_assert(tctx, tmp_ctx != NULL, "talloc_new() failed"); tmp_ctx 113 source4/torture/rpc/remote_pac.c status = gensec_update(gensec_client_context, tmp_ctx, server_to_client, &client_to_server); tmp_ctx 118 source4/torture/rpc/remote_pac.c status = gensec_update(gensec_server_context, tmp_ctx, client_to_server, &server_to_client); tmp_ctx 137 source4/torture/rpc/remote_pac.c = data_blob_talloc(tmp_ctx, NULL, tmp_ctx 147 source4/torture/rpc/remote_pac.c ndr_err = ndr_push_struct_blob(&pac_wrapped, tmp_ctx, lp_iconv_convenience(tctx->lp_ctx), &pac_wrapped_struct, tmp_ctx 239 source4/torture/rpc/remote_pac.c = data_blob_talloc(tmp_ctx, NULL, tmp_ctx 249 source4/torture/rpc/remote_pac.c ndr_err = ndr_push_struct_blob(&pac_wrapped, tmp_ctx, lp_iconv_convenience(tctx->lp_ctx), &pac_wrapped_struct, tmp_ctx 283 source4/torture/rpc/remote_pac.c = data_blob_talloc(tmp_ctx, NULL, tmp_ctx 296 source4/torture/rpc/remote_pac.c ndr_err = ndr_push_struct_blob(&pac_wrapped, tmp_ctx, lp_iconv_convenience(tctx->lp_ctx), &pac_wrapped_struct, tmp_ctx 541 source4/torture/rpc/samba3rpc.c TALLOC_CTX *tmp_ctx; tmp_ctx 547 source4/torture/rpc/samba3rpc.c if (!(tmp_ctx = talloc_new(mem_ctx))) { tmp_ctx 552 source4/torture/rpc/samba3rpc.c status = get_usr_handle(cli, tmp_ctx, lp_ctx, admin_creds, tmp_ctx 590 source4/torture/rpc/samba3rpc.c status = dcerpc_samr_SetUserInfo2(samr_pipe, tmp_ctx, &sui2); tmp_ctx 602 source4/torture/rpc/samba3rpc.c status = dcerpc_samr_SetUserInfo(samr_pipe, tmp_ctx, &sui); tmp_ctx 612 source4/torture/rpc/samba3rpc.c status = dcerpc_samr_QueryUserInfo(samr_pipe, tmp_ctx, &qui); tmp_ctx 630 source4/torture/rpc/samba3rpc.c status = dcerpc_samr_SetUserInfo(samr_pipe, tmp_ctx, &sui); tmp_ctx 641 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 1555 source4/torture/rpc/samba3rpc.c TALLOC_CTX *tmp_ctx; tmp_ctx 1557 source4/torture/rpc/samba3rpc.c if (!(tmp_ctx = talloc_new(mem_ctx))) { tmp_ctx 1578 source4/torture/rpc/samba3rpc.c status = dcerpc_lsa_OpenPolicy2(p, tmp_ctx, &r); tmp_ctx 1581 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 1588 source4/torture/rpc/samba3rpc.c lsa_name.string = talloc_asprintf(tmp_ctx, "%s\\%s", domain, name); tmp_ctx 1600 source4/torture/rpc/samba3rpc.c status = dcerpc_lsa_LookupNames(p, tmp_ctx, &l); tmp_ctx 1604 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 1614 source4/torture/rpc/samba3rpc.c status = dcerpc_lsa_Close(p, tmp_ctx, &c); tmp_ctx 1617 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 1621 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 1687 source4/torture/rpc/samba3rpc.c TALLOC_CTX *tmp_ctx; tmp_ctx 1691 source4/torture/rpc/samba3rpc.c if (!(tmp_ctx = talloc_new(mem_ctx))) { tmp_ctx 1696 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 1706 source4/torture/rpc/samba3rpc.c status = smb_raw_tcon(result, tmp_ctx, &tcon); tmp_ctx 1710 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 1717 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2195 source4/torture/rpc/samba3rpc.c TALLOC_CTX *tmp_ctx; tmp_ctx 2202 source4/torture/rpc/samba3rpc.c if (!(tmp_ctx = talloc_new(mem_ctx))) { tmp_ctx 2207 source4/torture/rpc/samba3rpc.c if (!NT_STATUS_IS_OK(secondary_tcon(tmp_ctx, sess, "IPC$", &tree))) { tmp_ctx 2209 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2218 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2226 source4/torture/rpc/samba3rpc.c r.in.server_unc = talloc_asprintf(tmp_ctx, "\\\\%s", tmp_ctx 2232 source4/torture/rpc/samba3rpc.c status = dcerpc_srvsvc_NetShareGetInfo(p, tmp_ctx, &r); tmp_ctx 2236 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2241 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2252 source4/torture/rpc/samba3rpc.c TALLOC_CTX *tmp_ctx; tmp_ctx 2260 source4/torture/rpc/samba3rpc.c if (!(tmp_ctx = talloc_new(mem_ctx))) { tmp_ctx 2265 source4/torture/rpc/samba3rpc.c if (!NT_STATUS_IS_OK(secondary_tcon(tmp_ctx, sess, "IPC$", &tree))) { tmp_ctx 2267 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2276 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2284 source4/torture/rpc/samba3rpc.c r.in.server_unc = talloc_asprintf(tmp_ctx, "\\\\%s", tmp_ctx 2293 source4/torture/rpc/samba3rpc.c status = dcerpc_srvsvc_NetShareSetInfo(p, tmp_ctx, &r); tmp_ctx 2299 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2311 source4/torture/rpc/samba3rpc.c TALLOC_CTX *tmp_ctx; tmp_ctx 2319 source4/torture/rpc/samba3rpc.c if (!(tmp_ctx = talloc_new(mem_ctx))) { tmp_ctx 2324 source4/torture/rpc/samba3rpc.c status = secondary_tcon(tmp_ctx, session, sharename, &rmdir_tree); tmp_ctx 2327 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2333 source4/torture/rpc/samba3rpc.c if (!NT_STATUS_IS_OK(dom_sid_split_rid(tmp_ctx, user_sid, tmp_ctx 2336 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2341 source4/torture/rpc/samba3rpc.c tmp_ctx, 0, "S-1-5-32-544", tmp_ctx 2348 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2356 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2360 source4/torture/rpc/samba3rpc.c status = secondary_tcon(tmp_ctx, session, sharename, &tree); tmp_ctx 2387 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 2391 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 3080 source4/torture/rpc/samba3rpc.c TALLOC_CTX *tmp_ctx; tmp_ctx 3085 source4/torture/rpc/samba3rpc.c if (!(tmp_ctx = talloc_new(mem_ctx))) { tmp_ctx 3092 source4/torture/rpc/samba3rpc.c status = dcerpc_winreg_EnumKey(p, tmp_ctx, &r); tmp_ctx 3095 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 3110 source4/torture/rpc/samba3rpc.c status = dcerpc_winreg_OpenKey(p, tmp_ctx, &o); tmp_ctx 3112 source4/torture/rpc/samba3rpc.c enumkeys(p, &key_handle, tmp_ctx, depth-1); tmp_ctx 3113 source4/torture/rpc/samba3rpc.c enumvalues(p, &key_handle, tmp_ctx); tmp_ctx 3120 source4/torture/rpc/samba3rpc.c talloc_free(tmp_ctx); tmp_ctx 1394 source4/torture/rpc/samlogon.c TALLOC_CTX *tmp_ctx = talloc_named(fn_ctx, 0, "test_SamLogon inner loop"); tmp_ctx 1395 source4/torture/rpc/samlogon.c samlogon_state.mem_ctx = tmp_ctx; tmp_ctx 1419 source4/torture/rpc/samlogon.c talloc_free(tmp_ctx); tmp_ctx 472 source4/torture/rpc/spoolss_win.c struct test_spoolss_win_context *ctx, *tmp_ctx; tmp_ctx 483 source4/torture/rpc/spoolss_win.c tmp_ctx = talloc_zero(tctx, struct test_spoolss_win_context); tmp_ctx 558 source4/torture/rpc/spoolss_win.c tmp_ctx); tmp_ctx 567 source4/torture/rpc/spoolss_win.c ret &= test_GetPrinter(tctx, p, &handle03, tmp_ctx, 2, 0); tmp_ctx 573 source4/torture/rpc/spoolss_win.c ret &= test_GetPrinter(tctx, p, &handle03, tmp_ctx, 2, 2556); tmp_ctx 583 source4/torture/rpc/spoolss_win.c ret &= test_GetPrinter(tctx, p, &handle03, tmp_ctx, 7, 0); tmp_ctx 605 source4/torture/rpc/spoolss_win.c ret &= test_GetPrinter(tctx, p, &handle02, tmp_ctx, 2, 0); tmp_ctx 611 source4/torture/rpc/spoolss_win.c talloc_free(tmp_ctx); tmp_ctx 441 source4/torture/rpc/testjoin.c TALLOC_CTX *tmp_ctx; tmp_ctx 453 source4/torture/rpc/testjoin.c tmp_ctx = talloc_named(mem_ctx, 0, "torture_leave temporary context"); tmp_ctx 454 source4/torture/rpc/testjoin.c if (!tmp_ctx) { tmp_ctx 459 source4/torture/rpc/testjoin.c ldb_ctx = ldb_init(tmp_ctx, torture->ev); tmp_ctx 462 source4/torture/rpc/testjoin.c talloc_free(tmp_ctx); tmp_ctx 467 source4/torture/rpc/testjoin.c server_dn = ldb_dn_new(tmp_ctx, ldb_ctx, libnet_r->out.server_dn_str); tmp_ctx 470 source4/torture/rpc/testjoin.c talloc_free(tmp_ctx); tmp_ctx 474 source4/torture/rpc/testjoin.c remote_ldb_url = talloc_asprintf(tmp_ctx, "ldap://%s", libnet_r->out.samr_binding->host); tmp_ctx 477 source4/torture/rpc/testjoin.c talloc_free(tmp_ctx); tmp_ctx 487 source4/torture/rpc/testjoin.c talloc_free(tmp_ctx); tmp_ctx 494 source4/torture/rpc/testjoin.c talloc_free(tmp_ctx); tmp_ctx 500 source4/torture/rpc/testjoin.c talloc_free(tmp_ctx); tmp_ctx 36 source4/torture/smb2/connect.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 49 source4/torture/smb2/connect.c printf("create_time = %s\n", nt_time_string(tmp_ctx, io.out.create_time)); tmp_ctx 50 source4/torture/smb2/connect.c printf("access_time = %s\n", nt_time_string(tmp_ctx, io.out.access_time)); tmp_ctx 51 source4/torture/smb2/connect.c printf("write_time = %s\n", nt_time_string(tmp_ctx, io.out.write_time)); tmp_ctx 52 source4/torture/smb2/connect.c printf("change_time = %s\n", nt_time_string(tmp_ctx, io.out.change_time)); tmp_ctx 58 source4/torture/smb2/connect.c talloc_free(tmp_ctx); tmp_ctx 146 source4/torture/smb2/connect.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 160 source4/torture/smb2/connect.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 170 source4/torture/smb2/connect.c printf("create_time = %s\n", nt_time_string(tmp_ctx, io.out.create_time)); tmp_ctx 171 source4/torture/smb2/connect.c printf("access_time = %s\n", nt_time_string(tmp_ctx, io.out.access_time)); tmp_ctx 172 source4/torture/smb2/connect.c printf("write_time = %s\n", nt_time_string(tmp_ctx, io.out.write_time)); tmp_ctx 173 source4/torture/smb2/connect.c printf("change_time = %s\n", nt_time_string(tmp_ctx, io.out.change_time)); tmp_ctx 182 source4/torture/smb2/connect.c talloc_free(tmp_ctx); tmp_ctx 53 source4/torture/smb2/create.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 70 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 77 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 83 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 87 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 92 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 97 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 101 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 119 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 151 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 180 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 211 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 232 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 242 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 249 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 255 source4/torture/smb2/create.c status = smb2_getinfo_file(tree, tmp_ctx, &q); tmp_ctx 263 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 266 source4/torture/smb2/create.c talloc_free(tmp_ctx); tmp_ctx 281 source4/torture/smb2/create.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 299 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 307 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 316 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 324 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 333 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 339 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 346 source4/torture/smb2/create.c status = smb2_create_blob_add(tmp_ctx, &io.in.blobs, tmp_ctx 350 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 357 source4/torture/smb2/create.c status = smb2_create_blob_add(tmp_ctx, &io.in.blobs, tmp_ctx 361 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 364 source4/torture/smb2/create.c talloc_free(tmp_ctx); tmp_ctx 378 source4/torture/smb2/create.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 400 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 409 source4/torture/smb2/create.c status = smb2_getinfo_file(tree, tmp_ctx, &q); tmp_ctx 419 source4/torture/smb2/create.c test_sid = dom_sid_parse_talloc(tmp_ctx, "S-1-5-32-1234-54321"); tmp_ctx 432 source4/torture/smb2/create.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 436 source4/torture/smb2/create.c status = smb2_getinfo_file(tree, tmp_ctx, &q); tmp_ctx 449 source4/torture/smb2/create.c talloc_free(tmp_ctx); tmp_ctx 46 source4/torture/smb2/maxwrite.c TALLOC_CTX *tmp_ctx = talloc_new(tctx); tmp_ctx 54 source4/torture/smb2/maxwrite.c w.in.data = data_blob_talloc(tmp_ctx, NULL, len); tmp_ctx 91 source4/torture/smb2/maxwrite.c status = smb2_read(tree, tmp_ctx, &r); tmp_ctx 99 source4/torture/smb2/maxwrite.c talloc_free(tmp_ctx); tmp_ctx 57 source4/torture/smb2/read.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 73 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 80 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 86 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 93 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 99 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 106 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 112 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 118 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 124 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 128 source4/torture/smb2/read.c talloc_free(tmp_ctx); tmp_ctx 140 source4/torture/smb2/read.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 157 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 164 source4/torture/smb2/read.c status = smb2_getinfo_file(tree, tmp_ctx, &info); tmp_ctx 174 source4/torture/smb2/read.c talloc_free(tmp_ctx); tmp_ctx 184 source4/torture/smb2/read.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 198 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 202 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 207 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 217 source4/torture/smb2/read.c status = smb2_read(tree, tmp_ctx, &rd); tmp_ctx 225 source4/torture/smb2/read.c talloc_free(tmp_ctx); tmp_ctx 60 source4/torture/smb2/util.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 90 source4/torture/smb2/util.c io.in.eas.eas = talloc_array(tmp_ctx, struct ea_struct, 2); tmp_ctx 93 source4/torture/smb2/util.c io.in.eas.eas[0].value = data_blob_talloc(tmp_ctx, "VALUE1", 6); tmp_ctx 96 source4/torture/smb2/util.c io.in.eas.eas[1].value = data_blob_talloc(tmp_ctx, "ValueTwo", 8); tmp_ctx 99 source4/torture/smb2/util.c status = smb2_create(tree, tmp_ctx, &io); tmp_ctx 100 source4/torture/smb2/util.c talloc_free(tmp_ctx); tmp_ctx 182 source4/torture/smb2/util.c TALLOC_CTX *tmp_ctx = talloc_new(tree); tmp_ctx 188 source4/torture/smb2/util.c status = smb2_getinfo_file(tree, tmp_ctx, &io); tmp_ctx 191 source4/torture/smb2/util.c talloc_free(tmp_ctx); tmp_ctx 196 source4/torture/smb2/util.c d_printf("\tcreate_time: %s\n", nt_time_string(tmp_ctx, io.all_info2.out.create_time)); tmp_ctx 197 source4/torture/smb2/util.c d_printf("\taccess_time: %s\n", nt_time_string(tmp_ctx, io.all_info2.out.access_time)); tmp_ctx 198 source4/torture/smb2/util.c d_printf("\twrite_time: %s\n", nt_time_string(tmp_ctx, io.all_info2.out.write_time)); tmp_ctx 199 source4/torture/smb2/util.c d_printf("\tchange_time: %s\n", nt_time_string(tmp_ctx, io.all_info2.out.change_time)); tmp_ctx 215 source4/torture/smb2/util.c status = smb2_getinfo_file(tree, tmp_ctx, &io); tmp_ctx 222 source4/torture/smb2/util.c status = smb2_getinfo_file(tree, tmp_ctx, &io); tmp_ctx 235 source4/torture/smb2/util.c status = smb2_getinfo_file(tree, tmp_ctx, &io); tmp_ctx 254 source4/torture/smb2/util.c status = smb2_getinfo_file(tree, tmp_ctx, &io); tmp_ctx 260 source4/torture/smb2/util.c talloc_free(tmp_ctx); tmp_ctx 880 source4/torture/util_smb.c TALLOC_CTX *tmp_ctx; tmp_ctx 883 source4/torture/util_smb.c if ((tmp_ctx = talloc_new(mem_ctx)) == NULL) { tmp_ctx 887 source4/torture/util_smb.c result = smbcli_tree_init(session, tmp_ctx, false); tmp_ctx 889 source4/torture/util_smb.c talloc_free(tmp_ctx); tmp_ctx 901 source4/torture/util_smb.c status = smb_raw_tcon(result, tmp_ctx, &tcon); tmp_ctx 903 source4/torture/util_smb.c talloc_free(tmp_ctx); tmp_ctx 909 source4/torture/util_smb.c talloc_free(tmp_ctx); tmp_ctx 50 source4/winbind/idmap.c TALLOC_CTX *tmp_ctx = talloc_new(idmap_ctx); tmp_ctx 54 source4/winbind/idmap.c dn = ldb_dn_new(tmp_ctx, ldb, "CN=CONFIG"); tmp_ctx 57 source4/winbind/idmap.c ret = ldb_search(ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, NULL, NULL); tmp_ctx 81 source4/winbind/idmap.c talloc_free(tmp_ctx); tmp_ctx 213 source4/winbind/idmap.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 229 source4/winbind/idmap.c ret = ldb_search(ldb, tmp_ctx, &res, NULL, LDB_SCOPE_SUBTREE, tmp_ctx 246 source4/winbind/idmap.c talloc_free(tmp_ctx); tmp_ctx 254 source4/winbind/idmap.c unix_sid = dom_sid_parse_talloc(tmp_ctx, "S-1-22-1"); tmp_ctx 256 source4/winbind/idmap.c unix_sid = dom_sid_parse_talloc(tmp_ctx, "S-1-22-2"); tmp_ctx 270 source4/winbind/idmap.c talloc_free(tmp_ctx); tmp_ctx 274 source4/winbind/idmap.c talloc_free(tmp_ctx); tmp_ctx 308 source4/winbind/idmap.c TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx); tmp_ctx 313 source4/winbind/idmap.c status = dom_sid_split_rid(tmp_ctx, sid, NULL, &rid); tmp_ctx 324 source4/winbind/idmap.c talloc_free(tmp_ctx); tmp_ctx 331 source4/winbind/idmap.c status = dom_sid_split_rid(tmp_ctx, sid, NULL, &rid); tmp_ctx 342 source4/winbind/idmap.c talloc_free(tmp_ctx); tmp_ctx 346 source4/winbind/idmap.c ret = ldb_search(ldb, tmp_ctx, &res, NULL, LDB_SCOPE_SUBTREE, tmp_ctx 348 source4/winbind/idmap.c ldap_encode_ndr_dom_sid(tmp_ctx, sid)); tmp_ctx 388 source4/winbind/idmap.c talloc_free(tmp_ctx); tmp_ctx 402 source4/winbind/idmap.c ret = ldb_search(ldb, tmp_ctx, &res, NULL, LDB_SCOPE_SUBTREE, tmp_ctx 404 source4/winbind/idmap.c ldap_encode_ndr_dom_sid(tmp_ctx, sid)); tmp_ctx 426 source4/winbind/idmap.c dn = ldb_dn_new(tmp_ctx, ldb, "CN=CONFIG"); tmp_ctx 432 source4/winbind/idmap.c ret = ldb_search(ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, NULL, NULL); tmp_ctx 459 source4/winbind/idmap.c hwm_msg = ldb_msg_new(tmp_ctx); tmp_ctx 471 source4/winbind/idmap.c hwm_string = talloc_asprintf(tmp_ctx, "%u", hwm); tmp_ctx 477 source4/winbind/idmap.c sid_string = dom_sid_string(tmp_ctx, sid); tmp_ctx 483 source4/winbind/idmap.c unixid_string = talloc_asprintf(tmp_ctx, "%u", new_xid); tmp_ctx 494 source4/winbind/idmap.c els = talloc_array(tmp_ctx, struct ldb_message_element, 2); tmp_ctx 500 source4/winbind/idmap.c vals = talloc_array(tmp_ctx, struct ldb_val, 2); tmp_ctx 512 source4/winbind/idmap.c els[0].name = talloc_strdup(tmp_ctx, "xidNumber"); tmp_ctx 551 source4/winbind/idmap.c map_msg = ldb_msg_new(tmp_ctx); tmp_ctx 557 source4/winbind/idmap.c map_msg->dn = ldb_dn_new_fmt(tmp_ctx, ldb, "CN=%s", sid_string); tmp_ctx 569 source4/winbind/idmap.c ret = idmap_msg_add_dom_sid(idmap_ctx, tmp_ctx, map_msg, "objectSid", tmp_ctx 616 source4/winbind/idmap.c talloc_free(tmp_ctx); tmp_ctx 621 source4/winbind/idmap.c talloc_free(tmp_ctx); tmp_ctx 51 source4/wrepl_server/wrepl_server.c TALLOC_CTX *tmp_ctx = talloc_new(ldb); tmp_ctx 54 source4/wrepl_server/wrepl_server.c dn = ldb_dn_new(tmp_ctx, ldb, "@BASEINFO"); tmp_ctx 58 source4/wrepl_server/wrepl_server.c ret = ldb_search(ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, NULL, NULL); tmp_ctx 67 source4/wrepl_server/wrepl_server.c talloc_free(tmp_ctx); tmp_ctx 141 source4/wrepl_server/wrepl_server.c TALLOC_CTX *tmp_ctx; tmp_ctx 152 source4/wrepl_server/wrepl_server.c tmp_ctx = talloc_new(service); tmp_ctx 153 source4/wrepl_server/wrepl_server.c NT_STATUS_HAVE_NO_MEMORY(tmp_ctx); tmp_ctx 158 source4/wrepl_server/wrepl_server.c ret = ldb_search(service->config.ldb, tmp_ctx, &res, tmp_ctx 159 source4/wrepl_server/wrepl_server.c ldb_dn_new(tmp_ctx, service->config.ldb, "CN=PARTNERS"), tmp_ctx 219 source4/wrepl_server/wrepl_server.c talloc_free(tmp_ctx); tmp_ctx 222 source4/wrepl_server/wrepl_server.c talloc_free(tmp_ctx); tmp_ctx 364 source4/wrepl_server/wrepl_server.c TALLOC_CTX *tmp_ctx = talloc_new(service); tmp_ctx 392 source4/wrepl_server/wrepl_server.c ret = ldb_search(ldb, tmp_ctx, &res, NULL, LDB_SCOPE_SUBTREE, tmp_ctx 423 source4/wrepl_server/wrepl_server.c talloc_free(tmp_ctx); tmp_ctx 426 source4/wrepl_server/wrepl_server.c talloc_free(tmp_ctx);