Commit Graph

11619 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
b88f38d522 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 14:23:51 +00:00
Love Hörnquist Åstrand
3d1b5e8dfc (krb5_verify): always do krb5_afslog, remove setpag (its done in main)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 14:23:32 +00:00
Love Hörnquist Åstrand
7f03375e74 do krb5_afslog when compling with afs support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 14:18:56 +00:00
Love Hörnquist Åstrand
b36825768d always include kafs.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 14:09:19 +00:00
Love Hörnquist Åstrand
2c3258dde0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 14:08:12 +00:00
Love Hörnquist Åstrand
8dd6b56464 also need pag_set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 14:07:15 +00:00
Love Hörnquist Åstrand
b42c3b6db9 if there is kerberos 5, call krb5_afslog\*
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 14:01:05 +00:00
Love Hörnquist Åstrand
86b1f55863 drop setpag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:56:35 +00:00
Love Hörnquist Åstrand
698db5c285 revert previous delta
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:55:47 +00:00
Love Hörnquist Åstrand
a733929bcc (main): set afs PAG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:54:55 +00:00
Love Hörnquist Åstrand
aadb7de003 always try krb5_afslog, and while here do a setpag too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:46:09 +00:00
Love Hörnquist Åstrand
cdf76e1418 always include kafs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:37:13 +00:00
Love Hörnquist Åstrand
49710eefed x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:34:58 +00:00
Love Hörnquist Åstrand
451649f07e (krb5_start_session): krb5_afslog doesn't depend on KRB4 any more
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:34:26 +00:00
Love Hörnquist Åstrand
09dfb169a9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:15:40 +00:00
Love Hörnquist Åstrand
e24f1c1207 INCLUDES: -I$(srcdir)/../lib/krb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11855 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:15:27 +00:00
Love Hörnquist Åstrand
bb81dc03a8 always define LIB_kafs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:13:45 +00:00
Love Hörnquist Åstrand
980e4254a4 (LDADD): use LIB_kafs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:13:06 +00:00
Love Hörnquist Åstrand
76bd6e1b98 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:02:42 +00:00
Love Hörnquist Åstrand
91ce69ed08 list supported mechanism and nametypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 13:01:39 +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
163daa8cf0 (kafs_settoken5): change signature to include a krb5_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 10:26:00 +00:00
Love Hörnquist Åstrand
4b8579ad53 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:32:52 +00:00
Love Hörnquist Åstrand
daca78e35f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:32:34 +00:00
Love Hörnquist Åstrand
777c862799 --no-v4, --no-v5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:29:34 +00:00
Love Hörnquist Åstrand
d56efb1dcd always build afsutils now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:25:03 +00:00
Love Hörnquist Åstrand
2d1b43f459 make build without KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:24:20 +00:00
Love Hörnquist Åstrand
f89e9c706b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:21:23 +00:00
Love Hörnquist Åstrand
b643e1fefc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:20:44 +00:00
Love Hörnquist Åstrand
e35ab3c3e7 always build the libkafs library now that the kerberos 5 can stand on
their own


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:20:08 +00:00
Love Hörnquist Åstrand
195de6c808 fix c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:18:45 +00:00
Love Hörnquist Åstrand
cb6a5f5f45 expose the krb5 functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:17:59 +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
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
Love Hörnquist Åstrand
378f185c62 move kafs_settoken here
use struct kafs_token


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:07:23 +00:00
Love Hörnquist Åstrand
40e331ad93 include krb5-v4compat.h if needed, define an internal structure struct
kafs_token that carries around for rxkad data that is independant of
kerberos version


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:06:41 +00:00
Love Hörnquist Åstrand
f1ea9f4b86 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:03:36 +00:00
Love Hörnquist Åstrand
3d22c7d61d add prototypes for kafs_settoken_rxkad and kafs_settoken5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 04:03:17 +00:00
Love Hörnquist Åstrand
1d25cbb527 add _krb5_krb_life_to_time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 03:11:16 +00:00
Love Hörnquist Åstrand
40c455e927 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 00:55:59 +00:00
Love Hörnquist Åstrand
9f736ab54d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 00:24:05 +00:00
Love Hörnquist Åstrand
89542e627c 524 is independent of kerberos 4, so move out from #ifdef KRB4
enable_v4_cross_realm since 524 needs it


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 00:23:06 +00:00
Love Hörnquist Åstrand
39bc5eff7a 524 is independent of kerberos 4, so move out enable_v4_cross_realm
since 524 needs it


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-18 00:22:23 +00:00
Assar Westerlund
d405140c45 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-17 05:45:17 +00:00
Assar Westerlund
99059a6c8e document --kerberos4-cross-realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-17 05:42:33 +00:00
Assar Westerlund
f348b5e16e pay attention to enable_v4_cross_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-17 05:37:55 +00:00
Assar Westerlund
8e42028a0a (enable_v4_cross_realm): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-17 05:36:20 +00:00
Assar Westerlund
f643967982 (encode_524_response): check the enable_v4_cross_realm flag before
giving out v4 tickets for foreign v5 principals


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-17 05:35:47 +00:00
Assar Westerlund
4482a36786 add --enable-kerberos4-cross-realm option (default to off)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-17 05:34:11 +00:00
Love Hörnquist Åstrand
e0efc9b0ed x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-17 02:50:06 +00:00