Lines Matching defs:tmp_ctx
58 TALLOC_CTX *tmp_ctx;
67 tmp_ctx = talloc_new(NULL);
68 if (!tmp_ctx) return ENOMEM;
70 dn = sysdb_idmap_dn(tmp_ctx, domain, dom_sid);
76 update_msg = ldb_msg_new(tmp_ctx);
93 ret = sysdb_search_entry(tmp_ctx, domain->sysdb, dn, LDB_SCOPE_BASE,
273 talloc_free(tmp_ctx);
284 TALLOC_CTX *tmp_ctx;
288 tmp_ctx = talloc_new(NULL);
289 if (!tmp_ctx) return ENOMEM;
293 base_dn = ldb_dn_new_fmt(tmp_ctx, domain->sysdb->ldb,
300 SSS_LDB_SEARCH(ret, domain->sysdb->ldb, tmp_ctx, &res, base_dn,
314 talloc_free(tmp_ctx);