Love Hörnquist Åstrand
e45fef35e1
(afslog_uid_int): use the simpler krb5_principal_get_realm function.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 08:45:04 +00:00
Love Hörnquist Åstrand
6258f30973
Default to use 2b tokens.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-26 20:35:13 +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
3b2a7cb15f
s/KEYTYPE_DES/ETYPE_DES_CBC_CRC/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14366 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-06 14:43:13 +00:00
Love Hörnquist Åstrand
cf4d77c610
(krb5_afslog_uid_home): be even more friendly to the user and fetch
...
context and id ourself
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 18:55:01 +00:00
Love Hörnquist Åstrand
13ade7c50c
(afslog_uid_int): just belive that realm hint the user passed us
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 12:13:28 +00:00
Love Hörnquist Åstrand
b5984d2675
(v5_convert): rename one of the two c to cred4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-21 22:31:09 +00:00
Johan Danielsson
017f087d3d
(v5_convert): better match what other functions do with values from
...
krb5.conf, like case insensitivity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-22 14:23:33 +00:00
Love Hörnquist Åstrand
ce4b5021cd
(get_cred): handle that inst can be the empty string too
...
(v5_convert): use _kafs_foldup
(krb5_afslog_uid_home): set name
(krb5_afslog_uid_home): ditto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:35:11 +00:00
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