Change code to make a clear distinction

between hinted realm and ticket realm.
Change code to acquire the ``best
 possible ticket. Use cross-cell authentication only as method of
 last resort.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7121 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Björn Groenvall
1999-10-08 16:32:14 +00:00
parent 9aeb7874f3
commit 8daeee5f57
5 changed files with 95 additions and 44 deletions

View File

@@ -75,7 +75,7 @@ get_cred(kafs_data *data, const char *name, const char *inst,
}
static krb5_error_code
afslog_uid_int(kafs_data *data, const char *cell, uid_t uid,
afslog_uid_int(kafs_data *data, const char *cell, const char *rh, uid_t uid,
const char *homedir)
{
krb5_error_code ret;
@@ -131,7 +131,7 @@ krb5_afslog_uid_home(krb5_context context,
d.context = context;
d.id = id;
d.realm = realm;
return afslog_uid_int(&kd, cell, uid, homedir);
return afslog_uid_int(&kd, cell, 0, uid, homedir);
}
krb5_error_code