From 0266df7856eed8aef4c284572c88754523542da5 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 4 Apr 1998 13:08:31 +0000 Subject: [PATCH] (_kafs_afslog_all_local_cells): Try _PATH_ARLA_* (_realm_of_cell): Try _PATH_ARLA_CELLSERVDB git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4709 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/kafs/common.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/kafs/common.c b/lib/kafs/common.c index 89e60f9e2..196b1ad37 100644 --- a/lib/kafs/common.c +++ b/lib/kafs/common.c @@ -231,6 +231,8 @@ _kafs_afslog_all_local_cells(kafs_data *data, uid_t uid) } find_cells(_PATH_THESECELLS, &cells, &index); find_cells(_PATH_THISCELL, &cells, &index); + find_cells(_PATH_ARLA_THESECELLS, &cells, &index); + find_cells(_PATH_ARLA_THISCELL, &cells, &index); ret = afslog_cells(data, cells, index, uid); while(index > 0) @@ -258,7 +260,8 @@ realm_of_cell(kafs_data *data, const char *cell, char **realm) char *p; int ret = -1; - if ((F = fopen(_PATH_CELLSERVDB, "r"))) { + if ((F = fopen(_PATH_CELLSERVDB, "r")) + || (F = fopen(_PATH_ARLA_CELLSERVDB, "r"))) { while (fgets(buf, sizeof(buf), F)) { if (buf[0] != '>') continue; /* Not a cell name line, try next line */