/sssd-io/src/util/ |
H A D | sss_nss.h | 36 const char *upn; member in struct:sss_nss_homedir_ctx
|
/sssd-io/src/providers/krb5/ |
H A D | krb5_auth.h | 59 char *upn; member in struct:krb5child_req 134 const char *upn);
|
H A D | krb5_renew_tgt.c | 188 * ticket might add a new renewal item to the list with the same key (upn). 320 const char *ccache_file, const char *upn, 330 if (ccache_file == NULL || upn == NULL || user_name == NULL) { 334 upn == NULL ? "principal missing" : upn, 356 ret = get_ccache_file_data(ccache_file, upn, &tgtt); 371 &tgtt, &pd, upn); 378 "TGT in [%s] for [%s] is too old.\n", ccache_file, upn); 395 char *upn; local 449 user_name, user_dom, &upn); 319 check_ccache_file(struct renew_tgt_ctx *renew_tgt_ctx, const char *ccache_file, const char *upn, const char *user_name) argument 542 add_tgt_to_renew_table(struct krb5_ctx *krb5_ctx, const char *ccfile, struct tgt_times *tgtt, struct pam_data *pd, const char *upn) argument [all...] |
H A D | krb5_utils.c | 39 const char *upn = NULL; local 47 upn = ldb_msg_find_attr_as_string(msg, SYSDB_CANONICAL_UPN, NULL); 48 if (upn != NULL) { 53 upn = ldb_msg_find_attr_as_string(msg, SYSDB_UPN, NULL); 54 if (upn != NULL) { 68 if (ret == EOK && upn != NULL) { 69 *_upn = talloc_strdup(mem_ctx, upn); 82 const char *upn) 94 if (sysdb == NULL || user == NULL || upn == NULL) { 119 if (cached_upn != NULL && strcmp(cached_upn, upn) 79 check_if_cached_upn_needs_update(struct sysdb_ctx *sysdb, struct sss_domain_info *domain, const char *user, const char *upn) argument [all...] |
H A D | krb5_child_handler.c | 162 buf->size = 9*sizeof(uint32_t) + strlen(kr->upn); 205 SAFEALIGN_SET_UINT32(&buf->data[rp], strlen(kr->upn), &rp); 206 safealign_memcpy(&buf->data[rp], kr->upn, strlen(kr->upn), &rp); 651 const char *upn = NULL; local 720 upn = (char *) buf + p; 774 if (upn != NULL) { 775 res->correct_upn = talloc_strndup(res, upn, upn_len);
|
H A D | krb5_common.c | 996 char *upn; local 1032 upn = talloc_strdup(tmp_ctx, username); 1035 upn = talloc_asprintf(tmp_ctx, "%s@%s", 1039 if (upn == NULL) { 1044 DEBUG(SSSDBG_TRACE_ALL, "Using simple UPN [%s].\n", upn); 1045 *_upn = talloc_steal(mem_ctx, upn); 1052 errno_t compare_principal_realm(const char *upn, const char *realm, argument 1057 if (upn == NULL || realm == NULL || different_realm == NULL || 1058 *upn == '\0' || *realm == '\0') { 1062 at_sign = strchr(upn, ' [all...] |
H A D | krb5_child.c | 100 const char *upn; member in struct:krb5_req 1269 char *upn = NULL; local 1284 kerr = krb5_unparse_name_ext(kr->ctx, kr->creds->client, &upn, &upn_len); 1291 (uint8_t *) upn); 1292 krb5_free_unparsed_name(kr->ctx, upn); 1772 "No ccache for %s in %s?\n", kr->upn, kr->ccname); 2405 kr->upn = talloc_strndup(pd, (char *)(buf + p), len); 2406 if (kr->upn == NULL) return ENOMEM; 2415 *offline ? "true" : "false", kr->upn ? kr->upn [all...] |
/sssd-io/src/responder/nss/ |
H A D | nss_protocol_pwent.c | 103 const char *upn, 112 hd_ctx.upn = upn; 174 const char *upn; local 184 upn = ldb_msg_find_attr_as_string(msg, SYSDB_UPN, NULL); 198 homedir = nss_get_homedir(mem_ctx, nss_ctx, domain, msg, name, upn, uid); 98 nss_get_homedir(TALLOC_CTX *mem_ctx, struct nss_ctx *nss_ctx, struct sss_domain_info *domain, struct ldb_message *msg, const char *orig_name, const char *upn, uid_t uid) argument
|
/sssd-io/src/providers/ldap/ |
H A D | sdap_async_users.c | 36 static void make_realm_upper_case(const char *upn) argument 40 c = strchr(upn, REALM_SEPARATOR); 42 DEBUG(SSSDBG_TRACE_ALL, "No realm delimiter found in upn [%s].\n", upn); 192 char *upn = NULL; local 559 upn = talloc_strdup(tmpctx, (const char*) el->values[c].data); 560 if (!upn) { 567 if ( (p1 = strchr(upn,'\\')) != NULL 572 upn = talloc_asprintf(tmpctx, "%s%s", upn, p [all...] |
/sssd-io/src/db/ |
H A D | sysdb_search.c | 476 const char *upn, 490 ret = sysdb_search_user_by_upn_res(tmp_ctx, domain, domain_scope, upn, attrs, &res); 1375 const char *upn, 1392 ret = sysdb_search_user_by_upn(tmp_ctx, domain, false, upn, attrs, &msg); 473 sysdb_getpwupn(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, bool domain_scope, const char *upn, struct ldb_result **_res) argument 1373 sysdb_initgroups_by_upn(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, const char *upn, struct ldb_result **_res) argument
|
H A D | sysdb_ops.c | 638 const char *upn, 656 ret = sss_filter_sanitize(tmp_ctx, upn, &sanitized); 687 "Search for upn [%s] returns more than one result. One of the " 689 "email address.\n", upn); 713 const char *upn, 727 ret = sysdb_search_user_by_upn_res(tmp_ctx, domain, domain_scope, upn, attrs, &res); 729 DEBUG(SSSDBG_TRACE_FUNC, "No entry with upn [%s] found.\n", upn); 635 sysdb_search_user_by_upn_res(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, bool domain_scope, const char *upn, const char **attrs, struct ldb_result **out_res) argument 710 sysdb_search_user_by_upn(TALLOC_CTX *mem_ctx, struct sss_domain_info *domain, bool domain_scope, const char *upn, const char **attrs, struct ldb_message **msg) argument
|
/sssd-io/src/providers/ipa/ |
H A D | ipa_s2n_exop.c | 2179 char *upn = NULL; local 2257 upn = talloc_strdup(tmp_ctx, tmp_str); 2258 if (upn == NULL) { 2263 DEBUG(SSSDBG_TRACE_ALL, "Found original AD upn [%s].\n", upn); 2265 upn = NULL; 2323 if (upn == NULL) { 2346 upn = talloc_asprintf(tmp_ctx, "%s@%s", short_name, realm); 2347 if (!upn) { 2357 upn); [all...] |
/sssd-io/src/tests/cmocka/ |
H A D | test_responder_cache_req.c | 41 const char *upn; member in struct:test_user 240 ret = sysdb_attrs_add_string(attrs, SYSDB_UPN, user->upn); 280 users[0].upn, exp_ret); 329 assert_string_equal(ldbupn, user->upn); 1052 test_ctx->tctx->dom, users[0].upn);
|
H A D | test_nss_srv.c | 297 static void mock_input_upn(const char *upn) argument 300 will_return(__wrap_sss_packet_get_body, upn);
|