Commit Graph

372 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
1e21591d32 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:35:44 +00:00
Love Hörnquist Åstrand
700e971e5b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:13:06 +00:00
Love Hörnquist Åstrand
753ef4229a always include v4 symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:12:38 +00:00
Love Hörnquist Åstrand
4283ca3eee provide dummy krb_ function to there is no need to bump major
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:11:12 +00:00
Love Hörnquist Åstrand
e6d88d56dc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-21 22:31:57 +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
Love Hörnquist Åstrand
9da52c7744 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-23 18:04:36 +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
Johan Danielsson
5d5dc20867 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-22 14:23:50 +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
b9c027addb (kafs_set_verbose): add prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 17:48:48 +00:00
Love Hörnquist Åstrand
851fb4a8ef x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 14:02:19 +00:00
Love Hörnquist Åstrand
dc130c2c75 Change .Fd #include <header.h> to .In header.h
from Thomas Klausner <wiz@netbsd.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 13:58:27 +00:00
Johan Danielsson
05aafd38b9 work around problem with conditional += and some automakes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 12:44:04 +00:00
Love Hörnquist Åstrand
a533b01846 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 09:03:17 +00:00
Love Hörnquist Åstrand
66069deffb (libkafs_la_LDFLAGS): update version
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:53:19 +00:00
Love Hörnquist Åstrand
d0ec2b6aac (ROKEN_SRCS): drop strupr.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:49:24 +00:00
Love Hörnquist Åstrand
21d0344f65 drop in-lining strupr.c from roken, its no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:39:17 +00:00
Love Hörnquist Åstrand
9bcda56048 document kafs_set_verbose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11998 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:38:24 +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
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
9532253cf0 (krb_afslog_uid_home): set name
(krb_afslog_uid_home): ditto


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11995 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:32:11 +00:00
Love Hörnquist Åstrand
41d2ec99d4 (kafs_data): add name
(_kafs_foldup): internally export


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11994 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 08:28:37 +00:00
Love Hörnquist Åstrand
2d85db8767 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-11 18:20:00 +00:00
Love Hörnquist Åstrand
67bb0f2eb8 tell that cell-name is uppercased
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-11 18:19:51 +00:00
Love Hörnquist Åstrand
7bc54e8730 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-11 18:02:08 +00:00
Love Hörnquist Åstrand
832e908785 add INCLUDE_krb4 when using krb4, add INCLUDE_des when using krb5,
add strupr.c


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-11 18:01:58 +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
4c67212aba x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 17:53:54 +00:00
Love Hörnquist Åstrand
62fb84849a s/kerberos/Kerberos/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 17:53:05 +00:00
Love Hörnquist Åstrand
ddb0a600d4 spelling, from <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 20:58:46 +00:00
Love Hörnquist Åstrand
b81767ee66 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 20:58:15 +00:00
Love Hörnquist Åstrand
26c2ab57dd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 11:51:44 +00:00
Love Hörnquist Åstrand
6d5d3a1405 document the kafs_settoken functions
write about the krb5_appdefault option for kerberos 5 afs tokens
fix prototypes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 11:51:32 +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
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
701e8104e5 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-18 15:39:31 +00:00
Love Hörnquist Åstrand
2c9f5a3058 s/intialize/initialize, from <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-18 15:39:10 +00:00
Love Hörnquist Åstrand
aa25cfcafa add copyright/license statment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-16 21:10:32 +00:00