Lines Matching refs:realms
54 krb5_realm **realms)
66 *realms = malloc ((n + 1) * sizeof(krb5_realm));
67 if (*realms == NULL)
71 (*realms)[i] = NULL;
80 free ((*realms)[i]);
81 free (*realms);
84 (*realms)[i] = tmp;
94 krb5_realm **realms)
120 ret = copy_txt_to_realms (r->head, realms);
135 * Try to figure out what realms host in `domain' belong to from the
142 krb5_realm **realms)
151 *realms = tmp;
166 krb5_realm **realms)
175 if(config_find_realm(context, p, realms) == 0) {
176 if(strcasecmp(*realms[0], "dns_locate") == 0) {
179 if(dns_find_realm(context, q, realms) == 0)
186 if(dns_find_realm(context, p, realms) == 0)
193 *realms = malloc(2 * sizeof(krb5_realm));
194 if (*realms == NULL) {
199 (*realms)[0] = strdup(p);
200 if((*realms)[0] == NULL) {
201 free(*realms);
205 strupr((*realms)[0]);
206 (*realms)[1] = NULL;
283 * `realms'. Free `realms' with krb5_free_host_realm().
289 krb5_realm **realms)
300 *realms = NULL;
350 ret = krb5_get_default_realms(context, realms);
362 ret = _krb5_array_to_realms(context, array, realms);