Lines Matching defs:tmpctx
41 TALLOC_CTX *tmpctx;
51 tmpctx = talloc_new(NULL);
52 if (!tmpctx) {
56 ret = sss_filter_sanitize(tmpctx, orig_dn, &sanitized_dn);
62 filter = talloc_asprintf(tmpctx, "%s=%s", SYSDB_ORIG_DN, sanitized_dn);
68 base_dn = sysdb_domain_dn(tmpctx, domain);
75 ret = sysdb_search_entry(tmpctx, ctx,
108 talloc_zfree(tmpctx);
511 TALLOC_CTX *tmpctx = NULL;
518 tmpctx = talloc_new(NULL);
519 if (!tmpctx) {
524 group_attrs = sysdb_new_attrs(tmpctx);
531 ret = sdap_attrs_get_sid_str(tmpctx, opts->idmap_ctx, attrs,
575 ret = sdap_get_group_primary_name(tmpctx, opts, attrs, dom, &group_name);
727 usn_value = talloc_strdup(tmpctx, (const char*)el->values[0].data);
774 talloc_free(tmpctx);
1037 TALLOC_CTX *tmpctx;
1066 tmpctx = talloc_new(memctx);
1067 if (!tmpctx) {
1079 saved_groups = talloc_array(tmpctx, struct sysdb_attrs *,
1092 ret = sdap_save_group(tmpctx, opts, dom, groups[i],
1129 ret = sdap_save_grpmem(tmpctx, sysdb, opts, dom, saved_groups[i],
1160 talloc_zfree(tmpctx);