Lines Matching defs:cell

70 kafs_settoken_rxkad(const char *cell, struct ClearToken *ct,
96 * do *not* mark as primary cell
102 * follow with cell name
104 sizeof_x = strlen(cell) + 1;
105 memcpy(t, cell, sizeof_x);
142 /* Try to get a db-server for an AFS cell from a AFSDB record */
145 dns_find_cell(const char *cell, char *dbserver, size_t len)
149 r = rk_dns_lookup(cell, "afsdb");
175 char cell[64];
182 while (fgets(cell, sizeof(cell), f)) {
184 t = cell + strlen(cell);
185 for (; t >= cell; t--)
188 if (cell[0] == '\0' || cell[0] == '#')
191 if(strcmp((*cells)[i], cell) == 0)
200 (*cells)[ind] = strdup(cell);
265 const char *cell, char **realm, int exact)
281 continue; /* Not a cell name line, try next line */
286 cmp = strcmp(buf + 1, cell);
288 cmp = strncmp(buf + 1, cell, strlen(cell));
292 * We found the cell name we're looking for.
314 /* Find the realm associated with cell. Do this by opening CellServDB
316 cell.
319 the cell it is serving is living in another realm.
326 const char *cell, char **realm)
331 ret = file_find_cell(data, cell, realm, 1);
334 if (dns_find_cell(cell, buf, sizeof(buf)) == 0) {
339 return file_find_cell(data, cell, realm, 0);
343 _kafs_try_get_cred(struct kafs_data *data, const char *user, const char *cell,
348 ret = (*data->get_cred)(data, user, cell, realm, uid, kt);
353 data->name, cell ? "/" : "",
354 cell ? cell : "", realm, estr ? estr : "unknown", ret);
367 const char *cell,
378 * the specified cell. The problem is that null-instance
384 * If there is a realm with the same name as the cell, it is most
387 * In most (maybe even all) cases the database servers of the cell
403 cell, realm_hint, uid, kt);
410 _kafs_foldup(CELL, cell);
414 * REALM we still don't have to resort to cross-cell authentication.
415 * Try afs.cell@REALM.
418 cell, realm, uid, kt);
422 * If cell == realm we don't need no cross-cell authentication.
433 * fall back to cross-cell authentication.
435 * Try afs.cell@CELL.
441 cell, CELL, uid, kt);
445 * Perhaps the cell doesn't correspond to any realm?
447 * Try afs.cell@VL_REALM.
450 if (_kafs_realm_of_cell(data, cell, &vl_realm) == 0
454 cell, vl_realm, uid, kt);