Commit Graph

6789 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
51de647e6c (krb5_aname_to_localname): when converting too root, make sure user is
ok according to krb5_kuserok before allowing it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 18:06:39 +00:00
Love Hörnquist Åstrand
520c4dc0c5 (noinst_PROGRAMS): += test_alname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 18:04:37 +00:00
Love Hörnquist Åstrand
e8feeed777 add test for krb5_aname_to_localname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 18:04:10 +00:00
Love Hörnquist Åstrand
399e0ab56d (krb5_DES_AFS3_CMU_string_to_key): used p1 instead of the "illegal"
salt #~, same change as kth-krb did 1999. Problems occur with crypt()
that behaves like AT&T crypt (openssl does this). Pointed out by
Marcus Watts.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 16:51:54 +00:00
Love Hörnquist Åstrand
a1c1c8a9b9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 15:06:57 +00:00
Love Hörnquist Åstrand
fd2b38ca93 (kadm_connect): if a context realm was passed in, use that to form the
kadmin/admin principal


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 15:06:41 +00:00
Love Hörnquist Åstrand
7a4bd8e353 (appdefaults_entries): add afslog and afs-use-524
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-29 09:52:50 +00:00
Love Hörnquist Åstrand
221041ca22 (usage2arcfour): map KRB5_KU_TICKET to 2, rom Harald Joerg <harald.joerg@fujitsu-siemens.com>. (enctype_arcfour_hmac_md5): disable checksum_hmac_md5_enc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-28 10:33:54 +00:00
Love Hörnquist Åstrand
6db34748ac (hdb_unseal_keys_mkey): truncate key to the key length when key is
longer then expected length, its probably longer since the encrypted
data was padded, reported by Aidan Cully <aidan@kublai.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-28 02:01:33 +00:00
Love Hörnquist Åstrand
a629c76a6c (krb5_enctype_keysize): return key size of encyption type, inspired by
Aidan Cully <aidan@kublai.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-28 01:00:06 +00:00
Love Hörnquist Åstrand
6eb8e7a3ed (krb5_kt_get_entry): avoid printing 0 (wildcard kvno) after principal
when the keytab entry isn't found, reported by Chris Chiappa
<chris@chiappa.net>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-27 03:45:01 +00:00
Love Hörnquist Åstrand
39093268bc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-27 01:07:41 +00:00
Love Hörnquist Åstrand
111e79ad80 libkafs is always built now, lets include it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-27 01:05:46 +00:00
Johan Danielsson
50b96a0871 (xyzprintf): recognise, but ignore, the linux(?) ' thousands grouping
flag


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-26 10:05:48 +00:00
Love Hörnquist Åstrand
f950dd74a1 add krb5_free_data_contents.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-25 22:09:16 +00:00
Love Hörnquist Åstrand
b4a9484f59 add krb5_free_data_contents for compat with MIT API
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-25 22:07:17 +00:00
Love Hörnquist Åstrand
c723e2c1e1 write more about how the ccache argument should be inited when used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-25 14:18:53 +00:00
Johan Danielsson
006f2206ef (krb5_print_address): make sure print_addr is defined for the given
address type; make addrports printable


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-25 12:37:02 +00:00
Love Hörnquist Åstrand
c323190572 add another arcfour test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-25 11:30:41 +00:00
Love Hörnquist Åstrand
c9c606ce8f sneek in a test for arcfour-hmac-md5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-22 00:09:27 +00:00
Love Hörnquist Åstrand
b73e0996b7 (c) year update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-20 18:07:31 +00:00
Love Hörnquist Åstrand
f56fbf897a update .Dd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-20 18:05:37 +00:00
Love Hörnquist Åstrand
f42b484666 sort in krb5_data functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-20 17:40:27 +00:00
Love Hörnquist Åstrand
d82b0f2980 (man_MANS): += krb5_data.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-20 17:30:30 +00:00
Love Hörnquist Åstrand
947254c57f document krb5_data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-20 17:29:50 +00:00
Love Hörnquist Åstrand
0d70a9f211 (krb5_get_init_creds_password): if prompter is NULL, don't try to ask
for a password to change. reported by Iain Moffat @ ufl.edu via Howard
Chu <hyc@highlandsun.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-20 17:15:43 +00:00
Love Hörnquist Åstrand
55c53a8ef9 spelling, from <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 21:03:48 +00:00
Love Hörnquist Åstrand
4e82382d40 . means new line
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 21:01:39 +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
ca5788247f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 13:33:25 +00:00
Love Hörnquist Åstrand
4fb6b7c4cc document v1 interface (and that they are obsolete)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 13:33:06 +00:00
Love Hörnquist Åstrand
0d8d96a4d5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 11:57:33 +00:00
Love Hörnquist Åstrand
a100e117df (main): make sure we don't consider dead slave for select processing
(write_stats): use slave_stats_file variable, check return value of strftime
(args): allow specifying slave stats file
(slave_dead): close the fd when the slave dies


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-19 11:56:38 +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
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
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