• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/passdb/

Lines Matching defs:tmp_ctx

45 	TALLOC_CTX *tmp_ctx = talloc_new(mem_ctx);
47 if (tmp_ctx == NULL) {
55 domain = talloc_strndup(tmp_ctx, full_name,
57 name = talloc_strdup(tmp_ctx, p+1);
59 domain = talloc_strdup(tmp_ctx, "");
60 name = talloc_strdup(tmp_ctx, full_name);
68 TALLOC_FREE(tmp_ctx);
80 TALLOC_FREE(tmp_ctx);
93 TALLOC_FREE(tmp_ctx);
110 TALLOC_FREE(tmp_ctx);
119 TALLOC_FREE(tmp_ctx);
124 TALLOC_FREE(tmp_ctx);
135 if (lookup_wellknown_name(tmp_ctx, name, &sid, &domain)) {
155 TALLOC_FREE(tmp_ctx);
169 TALLOC_FREE(tmp_ctx);
192 domain = talloc_strdup(tmp_ctx, builtin_domain_name());
205 domain = talloc_strdup(tmp_ctx, get_global_sam_name());
214 TALLOC_FREE(tmp_ctx);
223 domain = talloc_strdup(tmp_ctx, lp_workgroup());
250 if (!winbind_lookup_sid(tmp_ctx, &dom_sid, &domain, NULL,
255 TALLOC_FREE(tmp_ctx);
267 domain = talloc_strdup(tmp_ctx, unix_users_domain_name());
273 domain = talloc_strdup(tmp_ctx, unix_groups_domain_name());
282 TALLOC_FREE(tmp_ctx);
288 TALLOC_FREE(tmp_ctx);
299 TALLOC_FREE(tmp_ctx);
307 TALLOC_FREE(tmp_ctx);
322 TALLOC_FREE(tmp_ctx);
401 TALLOC_CTX *tmp_ctx;
403 if (!(tmp_ctx = talloc_init("wb_lookup_rids"))) {
407 if (!winbind_lookup_rids(tmp_ctx, domain_sid, num_rids, rids,
414 TALLOC_FREE(tmp_ctx);
419 TALLOC_FREE(tmp_ctx);
430 TALLOC_FREE(tmp_ctx);
434 TALLOC_FREE(tmp_ctx);
439 TALLOC_FREE(tmp_ctx);
684 TALLOC_CTX *tmp_ctx;
691 if (!(tmp_ctx = talloc_new(mem_ctx))) {
843 if (!(rids = TALLOC_ARRAY(tmp_ctx, uint32, dom->num_idxs))) {
855 if (!lookup_rids(tmp_ctx, &dom->sid,
890 TALLOC_FREE(tmp_ctx);
904 TALLOC_CTX *tmp_ctx;
907 if (!(tmp_ctx = talloc_new(mem_ctx))) {
912 if (!NT_STATUS_IS_OK(lookup_sids(tmp_ctx, 1, &sid, 1,
946 TALLOC_FREE(tmp_ctx);