Commit Graph

17 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
01132499a8 Check the cell part of the name, not the realm part when checking if
2b should be used. The reson is afs@REALM might have updated their
servers but not afs/cell@REALM. Add constant KAFS_RXKAD_2B_KVNO.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-11 17:59:46 +00:00
Love Hörnquist Åstrand
3e491842ba (kafs_settoken5): change signature to include a krb5_context, use v5_convert
(v5_convert): new function, converts a krb5_ccreds to a kafs_token in
three diffrent ways, not at all, local 524/2b, and using 524
(v5_to_kt): add code to do local 524/2b
(get_cred): use v5_convert


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 10:30:04 +00:00
Love Hörnquist Åstrand
08ea22dd5c (kafs_settoken5): new function, inserts a krb5_creds into kernel
(v5_to_kt): new function, stores a krb5_creds in struct kafs_token
(get_cred): add a appdefault boolean ("libkafs", realm, "afs-use-524")
that can used to toggle if there should v5 token should be used
directly or converted via 524 first.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:13:17 +00:00
Assar Westerlund
99f53c4c8b new krb524_convert_creds_kdc_ccache
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 13:11:33 +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
Assar Westerlund
af4836c684 (afslog_uid_int): handle d->realm == NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7420 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-22 06:09:01 +00:00
Assar Westerlund
1eade690ab (afslog_uid_int): don't look at the local realm at all. just use the
realm from the ticket file.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7400 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-17 03:11:56 +00:00
Assar Westerlund
909077443f (get_cred): always request a DES key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7192 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-19 22:09:16 +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
602d10c54b (get_cred): update to new krb524_convert_creds_kdc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7096 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 19:57:02 +00:00
Assar Westerlund
544438cc2b (krb5_realm_of_cell): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6441 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-07-07 12:30:06 +00:00
Assar Westerlund
ecfe760ceb (afslog_uid_int): update to changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5303 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-01-30 18:26:51 +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
Johan Danielsson
c02fbe4186 Use new common framework.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-09-05 17:31:18 +00:00
Johan Danielsson
992a8bcf5d Don't check ticket file for afs ticket.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3080 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-21 18:51:58 +00:00
Johan Danielsson
50e3490495 Check cached afs tickets for expiration.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3066 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-20 19:26:41 +00:00
Johan Danielsson
4a7b55901a AFS through krb5 exchange.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3023 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-15 22:29:31 +00:00