realms 358 source3/utils/net_lookup.c char **realms;
realms 375 source3/utils/net_lookup.c rc = krb5_get_host_realm(ctx, NULL, &realms);
realms 381 source3/utils/net_lookup.c realm.data = (char *) *realms;
realms 555 source4/heimdal/kdc/krb5tgs.c char **realms, **tmp;
realms 580 source4/heimdal/kdc/krb5tgs.c &realms,
realms 591 source4/heimdal/kdc/krb5tgs.c if (num_realms + 1 > UINT_MAX/sizeof(*realms)) {
realms 595 source4/heimdal/kdc/krb5tgs.c tmp = realloc(realms, (num_realms + 1) * sizeof(*realms));
realms 600 source4/heimdal/kdc/krb5tgs.c realms = tmp;
realms 601 source4/heimdal/kdc/krb5tgs.c realms[num_realms] = strdup(tgt_realm);
realms 602 source4/heimdal/kdc/krb5tgs.c if(realms[num_realms] == NULL){
realms 616 source4/heimdal/kdc/krb5tgs.c l += strlen(realms[i]) + 2;
realms 623 source4/heimdal/kdc/krb5tgs.c strlcat(rs, realms[i], l);
realms 634 source4/heimdal/kdc/krb5tgs.c realms, num_realms, NULL);
realms 643 source4/heimdal/kdc/krb5tgs.c ret = krb5_domain_x500_encode(realms, num_realms, &et->transited.contents);
realms 648 source4/heimdal/kdc/krb5tgs.c free(realms[i]);
realms 649 source4/heimdal/kdc/krb5tgs.c free(realms);
realms 1029 source4/heimdal/kdc/krb5tgs.c krb5_realm **realms)
realms 1045 source4/heimdal/kdc/krb5tgs.c return _krb5_get_host_realm_int(context, name, FALSE, realms) == 0;
realms 1483 source4/heimdal/kdc/krb5tgs.c krb5_realm *realms;
realms 1506 source4/heimdal/kdc/krb5tgs.c } else if(need_referral(context, config, &b->kdc_options, sp, &realms)) {
realms 1507 source4/heimdal/kdc/krb5tgs.c if (strcmp(realms[0], sp->realm) != 0) {
realms 1511 source4/heimdal/kdc/krb5tgs.c realms[0], spn);
realms 1515 source4/heimdal/kdc/krb5tgs.c realms[0], NULL);
realms 1522 source4/heimdal/kdc/krb5tgs.c ref_realm = strdup(realms[0]);
realms 1524 source4/heimdal/kdc/krb5tgs.c krb5_free_host_realm(context, realms);
realms 1527 source4/heimdal/kdc/krb5tgs.c krb5_free_host_realm(context, realms);
realms 100 source4/heimdal/lib/krb5/expand_hostname.c char ***realms)
realms 109 source4/heimdal/lib/krb5/expand_hostname.c ret = krb5_get_host_realm (context, *new_hostname, realms);
realms 126 source4/heimdal/lib/krb5/expand_hostname.c char ***realms)
realms 134 source4/heimdal/lib/krb5/expand_hostname.c realms);
realms 142 source4/heimdal/lib/krb5/expand_hostname.c realms);
realms 152 source4/heimdal/lib/krb5/expand_hostname.c ret = krb5_get_host_realm (context, *new_hostname, realms);
realms 161 source4/heimdal/lib/krb5/expand_hostname.c return vanilla_hostname (context, orig_hostname, new_hostname, realms);
realms 45 source4/heimdal/lib/krb5/get_default_realm.c krb5_realm **realms)
realms 55 source4/heimdal/lib/krb5/get_default_realm.c realms);
realms 55 source4/heimdal/lib/krb5/get_host_realm.c krb5_realm **realms)
realms 67 source4/heimdal/lib/krb5/get_host_realm.c *realms = malloc ((n + 1) * sizeof(krb5_realm));
realms 68 source4/heimdal/lib/krb5/get_host_realm.c if (*realms == NULL)
realms 72 source4/heimdal/lib/krb5/get_host_realm.c (*realms)[i] = NULL;
realms 81 source4/heimdal/lib/krb5/get_host_realm.c free ((*realms)[i]);
realms 82 source4/heimdal/lib/krb5/get_host_realm.c free (*realms);
realms 85 source4/heimdal/lib/krb5/get_host_realm.c (*realms)[i] = tmp;
realms 95 source4/heimdal/lib/krb5/get_host_realm.c krb5_realm **realms)
realms 121 source4/heimdal/lib/krb5/get_host_realm.c ret = copy_txt_to_realms (r->head, realms);
realms 143 source4/heimdal/lib/krb5/get_host_realm.c krb5_realm **realms)
realms 152 source4/heimdal/lib/krb5/get_host_realm.c *realms = tmp;
realms 167 source4/heimdal/lib/krb5/get_host_realm.c krb5_realm **realms)
realms 175 source4/heimdal/lib/krb5/get_host_realm.c if(config_find_realm(context, p, realms) == 0) {
realms 176 source4/heimdal/lib/krb5/get_host_realm.c if(strcasecmp(*realms[0], "dns_locate") == 0) {
realms 179 source4/heimdal/lib/krb5/get_host_realm.c if(dns_find_realm(context, q, realms) == 0)
realms 186 source4/heimdal/lib/krb5/get_host_realm.c if(dns_find_realm(context, p, realms) == 0)
realms 193 source4/heimdal/lib/krb5/get_host_realm.c *realms = malloc(2 * sizeof(krb5_realm));
realms 194 source4/heimdal/lib/krb5/get_host_realm.c if (*realms == NULL) {
realms 199 source4/heimdal/lib/krb5/get_host_realm.c (*realms)[0] = strdup(p);
realms 200 source4/heimdal/lib/krb5/get_host_realm.c if((*realms)[0] == NULL) {
realms 201 source4/heimdal/lib/krb5/get_host_realm.c free(*realms);
realms 205 source4/heimdal/lib/krb5/get_host_realm.c strupr((*realms)[0]);
realms 206 source4/heimdal/lib/krb5/get_host_realm.c (*realms)[1] = NULL;
realms 223 source4/heimdal/lib/krb5/get_host_realm.c krb5_realm **realms)
realms 232 source4/heimdal/lib/krb5/get_host_realm.c *realms = NULL;
realms 244 source4/heimdal/lib/krb5/get_host_realm.c ret = _krb5_get_host_realm_int (context, host, use_dns, realms);
realms 251 source4/heimdal/lib/krb5/get_host_realm.c ret = krb5_get_default_realms(context, realms);
realms 93 source4/heimdal/lib/krb5/mk_req.c char **realms;
realms 98 source4/heimdal/lib/krb5/mk_req.c &real_hostname, &realms);
realms 103 source4/heimdal/lib/krb5/mk_req.c strlen(*realms),
realms 104 source4/heimdal/lib/krb5/mk_req.c *realms,
realms 109 source4/heimdal/lib/krb5/mk_req.c krb5_free_host_realm (context, realms);
realms 1301 source4/heimdal/lib/krb5/principal.c char **realms, *host = NULL;
realms 1324 source4/heimdal/lib/krb5/principal.c &host, &realms);
realms 1330 source4/heimdal/lib/krb5/principal.c ret = krb5_get_host_realm(context, hostname, &realms);
realms 1335 source4/heimdal/lib/krb5/principal.c ret = krb5_make_principal(context, ret_princ, realms[0], sname,
realms 1339 source4/heimdal/lib/krb5/principal.c krb5_free_host_realm(context, realms);
realms 135 source4/heimdal/lib/krb5/rd_req.c char **realms;
realms 154 source4/heimdal/lib/krb5/rd_req.c &realms, &num_realms,
realms 161 source4/heimdal/lib/krb5/rd_req.c realms, num_realms, NULL);
realms 162 source4/heimdal/lib/krb5/rd_req.c free(realms);
realms 75 source4/heimdal/lib/krb5/set_default_realm.c krb5_realm *realms = NULL;
realms 78 source4/heimdal/lib/krb5/set_default_realm.c realms = krb5_config_get_strings (context, NULL,
realms 82 source4/heimdal/lib/krb5/set_default_realm.c if (realms == NULL)
realms 83 source4/heimdal/lib/krb5/set_default_realm.c ret = krb5_get_host_realm(context, NULL, &realms);
realms 85 source4/heimdal/lib/krb5/set_default_realm.c ret = string_to_list (context, realm, &realms);
realms 90 source4/heimdal/lib/krb5/set_default_realm.c context->default_realms = realms;
realms 145 source4/heimdal/lib/krb5/transited.c struct tr_realm *realms, const char *client_realm,
realms 152 source4/heimdal/lib/krb5/transited.c for(r = realms; r; r = r->next){
realms 165 source4/heimdal/lib/krb5/transited.c free_realms(realms);
realms 176 source4/heimdal/lib/krb5/transited.c struct tr_realm *realms, const char *client_realm)
realms 180 source4/heimdal/lib/krb5/transited.c for(r = realms; r; r = r->next){
realms 192 source4/heimdal/lib/krb5/transited.c free_realms(realms);
realms 207 source4/heimdal/lib/krb5/transited.c free_realms(realms);
realms 274 source4/heimdal/lib/krb5/transited.c const char *tr, int length, struct tr_realm **realms)
realms 303 source4/heimdal/lib/krb5/transited.c free_realms(*realms);
realms 308 source4/heimdal/lib/krb5/transited.c *realms = append_realm(*realms, r);
realms 314 source4/heimdal/lib/krb5/transited.c free(*realms);
realms 323 source4/heimdal/lib/krb5/transited.c free_realms(*realms);
realms 328 source4/heimdal/lib/krb5/transited.c *realms = append_realm(*realms, r);
realms 336 source4/heimdal/lib/krb5/transited.c krb5_data tr, char ***realms, unsigned int *num_realms,
realms 344 source4/heimdal/lib/krb5/transited.c *realms = NULL;
realms 378 source4/heimdal/lib/krb5/transited.c if (*num_realms < 0 || *num_realms + 1 > UINT_MAX/sizeof(**realms))
realms 386 source4/heimdal/lib/krb5/transited.c *realms = R;
realms 398 source4/heimdal/lib/krb5/transited.c krb5_domain_x500_encode(char **realms, unsigned int num_realms,
realms 408 source4/heimdal/lib/krb5/transited.c len += strlen(realms[i]);
realms 409 source4/heimdal/lib/krb5/transited.c if(realms[i][0] == '/')
realms 420 source4/heimdal/lib/krb5/transited.c if(realms[i][0] == '/')
realms 422 source4/heimdal/lib/krb5/transited.c strlcat(s, realms[i], len + 1);
realms 433 source4/heimdal/lib/krb5/transited.c krb5_realm *realms,
realms 451 source4/heimdal/lib/krb5/transited.c if(strcmp(*p, realms[i]) == 0)
realms 459 source4/heimdal/lib/krb5/transited.c realms[i]);
realms 471 source4/heimdal/lib/krb5/transited.c const char *const *realms,
realms 487 source4/heimdal/lib/krb5/transited.c if(strcmp(*p, realms[i]) == 0) {