Lines Matching defs:tmpctx
63 TALLOC_CTX *tmpctx = NULL;
67 tmpctx = talloc_new(NULL);
68 if (!tmpctx) {
89 ret = sdap_idmap_get_dom_sid_from_object(tmpctx, sid_str,
99 group_sid_str = talloc_asprintf(tmpctx, "%s-%lu", dom_sid_str,
113 talloc_free(tmpctx);
197 TALLOC_CTX *tmpctx = NULL;
209 tmpctx = talloc_new(NULL);
210 if (!tmpctx) {
215 user_attrs = sysdb_new_attrs(tmpctx);
222 ret = sdap_attrs_get_sid_str(tmpctx, opts->idmap_ctx, attrs,
542 usn_value = talloc_strdup(tmpctx, (const char*)el->values[0].data);
559 upn = talloc_strdup(tmpctx, (const char*) el->values[c].data);
572 upn = talloc_asprintf(tmpctx, "%s%s", upn, p1 + 1);
644 talloc_free(tmpctx);
660 TALLOC_CTX *tmpctx;
674 tmpctx = talloc_new(memctx);
675 if (!tmpctx) {
698 ret = sdap_save_user(tmpctx, opts, dom, users[i], mapped_attrs,
742 talloc_zfree(tmpctx);