Searched defs:tmpctx (Results 1 - 12 of 12) sorted by relevance

/sssd-io/src/providers/proxy/
H A Dproxy_services.c209 TALLOC_CTX *tmpctx; local
224 tmpctx = talloc_new(NULL);
225 if (!tmpctx) {
229 svc = talloc(tmpctx, struct servent);
236 buffer = talloc_size(tmpctx, buflen);
242 protocols = talloc_zero_array(tmpctx, const char *, 2);
279 newbuf = talloc_realloc_size(tmpctx, buffer, buflen);
316 ret = sss_get_cased_name_list(tmpctx,
362 talloc_zfree(tmpctx);
H A Dproxy_id.c50 TALLOC_CTX *tmpctx; local
64 tmpctx = talloc_new(NULL);
65 if (!tmpctx) {
69 ret = sss_parse_internal_fqname(tmpctx, i_name, &shortname_or_alias, NULL);
74 pwd = talloc_zero(tmpctx, struct passwd);
81 buffer = talloc_size(tmpctx, buflen);
107 ret = sysdb_getpwuid(tmpctx, dom, uid, &cached_pwd);
134 real_name = sss_create_internal_fqname(tmpctx, pwd->pw_name, dom->name);
150 talloc_zfree(tmpctx);
345 TALLOC_CTX *tmpctx; local
412 TALLOC_CTX *tmpctx; local
951 TALLOC_CTX *tmpctx; local
1105 TALLOC_CTX *tmpctx; local
1189 TALLOC_CTX *tmpctx; local
1348 TALLOC_CTX *tmpctx; local
[all...]
/sssd-io/src/providers/ldap/
H A Dldap_id_cleanup.c178 TALLOC_CTX *tmpctx; local
190 tmpctx = talloc_new(NULL);
191 if (!tmpctx) {
200 subfilter = talloc_asprintf(tmpctx,
209 subfilter = talloc_asprintf(tmpctx,
222 ret = sysdb_search_users_by_timestamp(tmpctx, dom, subfilter, attrs,
237 ret = get_uid_table(tmpctx, &uid_table);
292 talloc_zfree(tmpctx);
369 TALLOC_CTX *tmpctx; local
384 tmpctx
[all...]
H A Dsdap_async_users.c63 TALLOC_CTX *tmpctx = NULL; local
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; local
209 tmpctx = talloc_new(NULL);
210 if (!tmpctx) {
215 user_attrs = sysdb_new_attrs(tmpctx);
660 TALLOC_CTX *tmpctx; local
[all...]
H A Dldap_auth.c517 TALLOC_CTX *tmpctx; local
525 tmpctx = talloc_new(memctx);
526 if (!tmpctx) {
530 attrs = talloc_array(tmpctx, const char *, 11);
548 ret = sysdb_get_user_attr(tmpctx, domain, username, attrs, &res);
568 dn = talloc_strdup(tmpctx, dn);
574 ret = find_password_expiration_attributes(tmpctx,
604 talloc_zfree(tmpctx);
H A Dsdap_async_groups.c41 TALLOC_CTX *tmpctx; local
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; local
518 tmpctx
1037 TALLOC_CTX *tmpctx; local
[all...]
/sssd-io/src/tools/
H A Dtools_mc_util.c310 TALLOC_CTX *tmpctx; local
312 tmpctx = talloc_new(tctx);
313 if (tmpctx == NULL) {
317 internal_name = sss_create_internal_fqname(tmpctx, shortname,
331 ret = sysdb_search_group_by_name(tmpctx, tctx->local, internal_name, attrs,
349 ret = sysdb_group_dn_name(tctx->sysdb, tmpctx,
359 parent_outname = sss_output_name(tmpctx, parent_internal_name,
379 talloc_free(tmpctx);
H A Dsss_sync_ops.c136 TALLOC_CTX *tmpctx; local
142 tmpctx = talloc_new(NULL);
143 if (!tmpctx) {
149 grp_sysdb_fqname = sss_create_internal_fqname(tmpctx, grouplist[i],
156 parent_dn = sysdb_group_dn(tmpctx, dom, grp_sysdb_fqname);
173 talloc_zfree(tmpctx);
/sssd-io/src/providers/ipa/
H A Dipa_common.c177 TALLOC_CTX *tmpctx; local
184 tmpctx = talloc_new(ipa_opts);
185 if (!tmpctx) {
212 ret = domain_to_basedn(tmpctx,
222 value = talloc_asprintf(tmpctx, "cn=accounts,%s", basedn);
245 value = talloc_strdup(tmpctx, realm);
317 value = talloc_asprintf(tmpctx, "cn=ng,cn=alt,%s", basedn);
363 value = talloc_asprintf(tmpctx, "cn=hbac,%s", basedn);
386 value = talloc_asprintf(tmpctx, "cn=selinux,%s", basedn);
409 value = talloc_asprintf(tmpctx, "c
[all...]
/sssd-io/src/providers/krb5/
H A Dkrb5_auth.c54 TALLOC_CTX *tmpctx; local
73 tmpctx = talloc_new(mem_ctx);
74 if (!tmpctx) {
78 attrs = sysdb_new_attrs(tmpctx);
118 talloc_zfree(tmpctx);
/sssd-io/src/util/
H A Dusertools.c211 TALLOC_CTX *tmpctx = NULL; local
217 tmpctx = talloc_new(NULL);
218 if (tmpctx == NULL) {
224 conf_path = talloc_asprintf(tmpctx, CONFDB_DOMAIN_PATH_TMPL, domain);
230 ret = confdb_get_string(cdb, tmpctx, conf_path,
237 ret = confdb_get_string(cdb, tmpctx, CONFDB_MONITOR_CONF_ENTRY,
243 ret = get_id_provider_default_re(tmpctx, cdb, conf_path, &re_pattern);
252 re_pattern = talloc_strdup(tmpctx,
271 ret = confdb_get_string(cdb, tmpctx, conf_path,
278 ret = confdb_get_string(cdb, tmpctx, CONFDB_MONITOR_CONF_ENTR
[all...]
/sssd-io/src/responder/common/
H A Dnegcache.c936 TALLOC_CTX *tmpctx = talloc_new(NULL); local
940 if (tmpctx == NULL) {
946 conf_path = talloc_asprintf(tmpctx, CONFDB_DOMAIN_PATH_TMPL,
954 ret = confdb_get_string_as_list(cdb, tmpctx, conf_path,
961 ret = sss_parse_name_for_domains(tmpctx, domain_list,
984 fqname = sss_create_internal_fqname(tmpctx, name, dom->name);
1002 ret = confdb_get_string_as_list(cdb, tmpctx, CONFDB_NSS_CONF_ENTRY,
1009 ret = sss_parse_name_for_domains(tmpctx, domain_list,
1030 fqname = sss_create_internal_fqname(tmpctx, name, dom->name);
1048 fqname = sss_create_internal_fqname(tmpctx, nam
[all...]

Completed in 2240 milliseconds