Searched refs:orig_hostname (Results 1 – 3 of 3) sorted by relevance
/netbsd/crypto/external/bsd/heimdal/dist/lib/krb5/ |
H A D | expand_hostname.c | 40 const char *orig_hostname, in copy_hostname() argument 43 *new_hostname = strdup (orig_hostname); in copy_hostname() 67 const char *orig_hostname, in krb5_expand_hostname() argument 74 return copy_hostname (context, orig_hostname, new_hostname); in krb5_expand_hostname() 79 error = getaddrinfo (orig_hostname, NULL, &hints, &ai); in krb5_expand_hostname() 81 return copy_hostname (context, orig_hostname, new_hostname); in krb5_expand_hostname() 102 const char *orig_hostname, in vanilla_hostname() argument 108 ret = copy_hostname (context, orig_hostname, new_hostname); in vanilla_hostname() 141 const char *orig_hostname, in krb5_expand_hostname_realms() argument 150 return vanilla_hostname (context, orig_hostname, new_hostname, in krb5_expand_hostname_realms() [all …]
|
H A D | test_hostname.c | 83 const char *orig_hostname; in test_expand_hostname() member 91 errors += expand_hostname(context, tests[i].orig_hostname); in test_expand_hostname()
|
H A D | principal.c | 1797 const char *orig_hostname = NULL; in apply_name_canon_rule() local 1816 orig_hostname = krb5_principal_get_comp_string(context, in_princ, 1); in apply_name_canon_rule() 1822 port = strchr(orig_hostname, ':'); in apply_name_canon_rule() 1824 hostname_sans_port = strndup(orig_hostname, port - orig_hostname); in apply_name_canon_rule() 1827 orig_hostname = hostname_sans_port; in apply_name_canon_rule() 1831 rule->type, orig_hostname); in apply_name_canon_rule() 1834 for (cp = strchr(orig_hostname, '.'); cp && *cp; cp = strchr(cp + 1, '.')) in apply_name_canon_rule() 1843 !is_domain_suffix(orig_hostname, rule->match_domain)) in apply_name_canon_rule() 1858 if (asprintf(&tmp_hostname, "%s.%s", orig_hostname, in apply_name_canon_rule() 1875 orig_hostname, sname, in apply_name_canon_rule()
|