Commit Graph

445 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
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
Assar Westerlund
0a5a3f98d0 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-08 22:56:21 +00:00
Assar Westerlund
429cbd12a0 fix FreeBSD section
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-08 22:55:55 +00:00
Love Hörnquist Åstrand
a41edfc6e7 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-06 20:18:06 +00:00
Love Hörnquist Åstrand
276fca0e7c use syscall 208 on openbsd (all version)
use syscall 339 on freebsd 5.0 and later, use 210 on 4.x and earlier


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-06 20:16:32 +00:00
Johan Danielsson
5158baef17 speling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-29 10:32:44 +00:00
Johan Danielsson
9c8c5455dd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:07:30 +00:00
Johan Danielsson
d538ad6784 move around sections (from NetBSD)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:04:31 +00:00
Johan Danielsson
879fc6b8bc more, mostly whitespace, fixes from Thomas Klasusner
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:07:29 +00:00
Johan Danielsson
c107214696 more renaming
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-19 15:08:37 +00:00
Assar Westerlund
0b35d3a22e *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-31 02:44:47 +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
a389a33328 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-19 22:46:20 +00:00
Johan Danielsson
9e7beb3c8e version number
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-19 22:46:13 +00:00
Johan Danielsson
cb6344f127 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 16:10:39 +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
Johan Danielsson
875553a788 some spelling from Thomas Klausner
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-22 08:07:50 +00:00
Assar Westerlund
c37672cc74 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-01 22:35:38 +00:00
Assar Westerlund
242ee8cd0c add rokenification of strsep, update shared library version to 3:3:3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-11-01 22:33:40 +00:00
Assar Westerlund
eec0349c2d *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-27 17:52:59 +00:00
Assar Westerlund
5d6f2835a2 (libkafs_la_LDFLAGS): set version to 3:2:3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-27 17:52:52 +00:00
Assar Westerlund
cf5e634a61 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-24 19:38:11 +00:00
Assar Westerlund
116853e39a (afslog_uid_int): handle krb_get_tf_fullname that cannot take NULLs
(such as the MIT one)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-24 19:36:27 +00:00
Assar Westerlund
a02cd32c3b *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-22 15:47:04 +00:00
Assar Westerlund
df4823433d add strlcpy to the roken functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-22 15:45:15 +00:00
Assar Westerlund
31ade067d5 spell fix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10766 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-22 00:02:34 +00:00
Assar Westerlund
02add202e5 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-08 23:33:22 +00:00
Assar Westerlund
097e4148d4 (ROKEN_SRCS): add strtok_r.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-10-08 23:33:09 +00:00