remove the trial of afs@REALM for cell != realm, it tries to use the

wrong key for foreign cells


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11029 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2002-05-31 02:43:51 +00:00
parent 4ec35f6bb7
commit 8a7bdbf312

View File

@@ -392,12 +392,6 @@ _kafs_get_cred(kafs_data *data,
ret = (*data->get_cred)(data, AUTH_SUPERUSER, cell, realm, c);
if (ret == 0) return 0;
/* try this case again, if cell and realm differs */
if(strcmp(CELL, realm) != 0) {
ret = (*data->get_cred)(data, AUTH_SUPERUSER, "", realm, c);
if (ret == 0) return 0;
}
/*
* We failed to get ``first class tickets'' for afs,
* fall back to cross-cell authentication.