Lines Matching refs:context
37 copy_hostname(krb5_context context,
43 krb5_set_error_message(context, ENOMEM,
56 * @param context a Keberos context
67 krb5_expand_hostname (krb5_context context,
74 if ((context->flags & KRB5_CTX_F_DNS_CANONICALIZE_HOSTNAME) == 0)
75 return copy_hostname (context, orig_hostname, new_hostname);
82 return copy_hostname (context, orig_hostname, new_hostname);
88 krb5_set_error_message(context, ENOMEM,
97 return copy_hostname (context, orig_hostname, new_hostname);
105 vanilla_hostname (krb5_context context,
112 ret = copy_hostname (context, orig_hostname, new_hostname);
117 ret = krb5_get_host_realm (context, *new_hostname, realms);
131 * @param context a Keberos context
144 krb5_expand_hostname_realms (krb5_context context,
153 if ((context->flags & KRB5_CTX_F_DNS_CANONICALIZE_HOSTNAME) == 0)
154 return vanilla_hostname (context, orig_hostname, new_hostname,
162 return vanilla_hostname (context, orig_hostname, new_hostname,
167 ret = copy_hostname (context, a->ai_canonname, new_hostname);
173 ret = krb5_get_host_realm (context, *new_hostname, realms);
182 return vanilla_hostname (context, orig_hostname, new_hostname, realms);