Lines Matching refs:realm

296 	       const char *cell, char **realm, int exact)
334 *realm = (*data->get_realm)(data, p);
335 if (*realm && **realm != '\0')
345 /* Find the realm associated with cell. Do this by opening CellServDB
346 file and getting the realm-of-host for the first VL-server for the
349 This does not work when the VL-server is living in one realm, but
350 the cell it is serving is living in another realm.
357 const char *cell, char **realm)
362 ret = file_find_cell(data, cell, realm, 1);
366 *realm = (*data->get_realm)(data, buf);
367 if(*realm != NULL)
370 return file_find_cell(data, cell, realm, 0);
375 const char *realm, uid_t uid, struct kafs_token *kt)
379 ret = (*data->get_cred)(data, user, cell, realm, uid, kt);
384 cell, realm, ret);
397 const char *realm,
405 /* We're about to find the realm that holds the key for afs in
407 * afs-principals are common and that hitting the wrong realm might
410 * Any realm passed to us is preferred.
412 * If there is a realm with the same name as the cell, it is most
413 * likely the correct realm to talk to.
416 * will live in the realm we are looking for.
418 * Try the local realm, but if the previous cases fail, this is
425 /* If the user passes a realm, she probably knows something we don't
441 * If cell == realm we don't need no cross-cell authentication.
444 if (strcmp(CELL, realm) == 0) {
446 "", realm, uid, kt);
457 cell, realm, uid, kt);
474 * Perhaps the cell doesn't correspond to any realm?
475 * Use realm of first volume location DB server.
480 && strcmp(vl_realm, realm) != 0