Commit Graph

32 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
abd08f59fd rename index to idx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-16 22:52:33 +00:00
Love Hörnquist Åstrand
26719d30d9 use struct kafs_data everywhere, don't mix with the typedef kafs_data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-02 07:38:22 +00:00
Love Hörnquist Åstrand
0154e035af search paths for AFS configuration files for the OpenAFS MacOS X,
fix comment


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-22 15:12:12 +00:00
Love Hörnquist Åstrand
1b0cfc72b1 add _PATH_ARLA_OPENBSD & c/o
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-02 17:28:18 +00:00
Love Hörnquist Åstrand
82fa1ca07c typo, Bruno Rohee <bruno@rohee.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 16:29:22 +00:00
Love Hörnquist Åstrand
144e19b123 drop the int argument (the error code) from the logging function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-23 17:58:34 +00:00
Love Hörnquist Åstrand
1d8be89915 (kafs_set_verbose): add function that (re)sets the logging function
(_kafs_try_get_cred): add function that does (krb_data->get_cred) to
make logging easier (that is now done in this function)
(*): use _kafs_try_get_cred


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:37:28 +00:00
Love Hörnquist Åstrand
3865a2a5fc (kafs_settoken_rxkad): move all content kerberos version from
kafs_settoken to kafs_settoken_rxkad
(_kafs_fixup_viceid): move the fixup the timestamp to make client
happy code here.
(_kafs_v4_to_kt): move all the kerberos 4 dependant parts from
kafs_settoken here.
(*): adapt to kafs_token


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:17:32 +00:00
Assar Westerlund
8a7bdbf312 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
2002-05-31 02:43:51 +00:00
Johan Danielsson
4de5f97133 (find_cells): make file parameter const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 10:51:18 +00:00
Assar Westerlund
2a9246030c look for configuration files in /etc/arla (the location in debian's
arla package)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-10 16:08:17 +00:00
Assar Westerlund
7bd5ebe12a look in /etc/openafs for debian openafs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-12 09:21:05 +00:00
Assar Westerlund
060c8f4a91 (_kafs_realm_of_cell): changed to first try exact match in CellServDB,
then exact match in DNS, and finally in-exact match in CellServDB


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-19 16:38:53 +00:00
Johan Danielsson
3ca5f8150f remove advertising clause
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7463 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 16:58:55 +00:00
Björn Groenvall
6a5c94ca88 Trim trailing whitespace from cellname.
Lines starting with # are regarded as comments.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7182 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-18 15:41:34 +00:00
Björn Groenvall
8daeee5f57 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
1999-10-08 16:32:14 +00:00
Assar Westerlund
bf75fac82a large strc{py,at}_truncate -> strlc{py,at} replacement
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6984 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 20:41:57 +00:00
Assar Westerlund
39ad11070e (realm_of_cell): rename to _kafs_realm_of_cell and un-staticize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6303 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-06-09 22:41:41 +00:00
Johan Danielsson
52ce57f0b7 merge changes from 0.9.9 branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5159 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-09-26 20:59:53 +00:00
Assar Westerlund
d5c71ea58e new support for specifying homedir
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5143 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-09-04 16:25:46 +00:00
Assar Westerlund
460832b783 (find_cells): realloc more carefully
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5117 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-08-15 21:22:23 +00:00
Johan Danielsson
a5f54865d4 merge strcpy_truncate branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5027 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-09 19:25:40 +00:00
Assar Westerlund
0266df7856 (_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
1998-04-04 13:08:31 +00:00
Johan Danielsson
c616dd9157 Start using resolve again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4568 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-10 18:36:27 +00:00
Björn Groenvall
bd465edee2 Be carefull to preserve
(issue_date, life) -> (StartTime, EndTime) -> (issue_date, life)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4477 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-27 17:22:21 +00:00
Johan Danielsson
12e2ed373d Don't store expired tokens (this broke when using pag-less
rsh-sessions, and `non-standard' ticket files).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4438 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-19 13:50:10 +00:00
Assar Westerlund
5d990d289e (find_cells): check memory allocations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4130 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-05 04:28:05 +00:00
Johan Danielsson
c8aedecc75 Remove fix for broken realloc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4043 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-19 19:20:24 +00:00
Assar Westerlund
c4b062f219 (find_cells): work around broken realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4042 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-18 16:14:30 +00:00
Björn Groenvall
5240a1170d Could no longer figure out that
AFS cell pdc.kth.se uses service principal afs.pdc.kth.se@NADA.KTH.SE.
Now fixed.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3770 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-03 20:35:24 +00:00
Johan Danielsson
bfc1cc40bc krb5_error_code -> int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3614 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-14 23:00:39 +00:00
Johan Danielsson
a1209edcbf Functions in common with krb/krb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3388 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-05 17:30:56 +00:00