Commit Graph

6156 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
113405013f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 16:57:58 +00:00
Love Hörnquist Åstrand
4e86114174 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 16:57:49 +00:00
Love Hörnquist Åstrand
9a56fa3f8d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 16:21:30 +00:00
Love Hörnquist Åstrand
cadadf56a4 remove stuff that sneaked in with last commit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 16:21:14 +00:00
Love Hörnquist Åstrand
73e3e32574 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 00:32:20 +00:00
Love Hörnquist Åstrand
1cd476c394 (acquire_initiator_cred): if the requested name isn't in the ccache,
also check keytab.  Extact the krbtgt for the default realm to check
how long the credentials will last.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 00:31:55 +00:00
Love Hörnquist Åstrand
1dcc7970e3 (gss_add_cred): don't create a new ccache, just open the old one;
better check if output handle is compatible with new (copied) handle


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 00:29:17 +00:00
Love Hörnquist Åstrand
fbaf0bb3a1 test gss_add_cred too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 00:20:37 +00:00
Love Hörnquist Åstrand
a88a8b9659 build test_acquire_cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-03 19:32:59 +00:00
Love Hörnquist Åstrand
b4e8025b6a simple gss_acquire_cred test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-03 19:32:28 +00:00
Love Hörnquist Åstrand
33ba054524 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-03 10:00:45 +00:00
Love Hörnquist Åstrand
1958c9297e sunOS -> SunOS, from jmc <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-03 10:00:26 +00:00
Love Hörnquist Åstrand
74e8c102ac s/gssapi/GSS-API/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-02 11:42:31 +00:00
Love Hörnquist Åstrand
c0f241edd9 more krb5_aname_to_localname tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11957 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 18:12:30 +00:00
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