Commit Graph

5629 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
c8bd16b4b6 spelling, from Thomas Klausner <wiz@netbsd.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 13:26:13 +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
Johan Danielsson
88d22cc116 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 12:22:08 +00:00
Love Hörnquist Åstrand
e8e537a38f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12016 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-15 03:27:19 +00:00
Love Hörnquist Åstrand
a3521e0755 (socket_set_tos): if setsockopt failed with EINVAL failed, just ignore
it, sock was probably a just a non AF_INET socket


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-15 03:26:51 +00:00
Love Hörnquist Åstrand
d6ec2db44c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 13:58:02 +00:00
Love Hörnquist Åstrand
c12532d685 cast argument to toupper to unsigned char,
from Christian Biere <christianbiere@gmx.de> via NetBSD


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12009 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 11:46:41 +00:00
Love Hörnquist Åstrand
42b442ed1c cast argument to tolower to unsigned char,
from Christian Biere <christianbiere@gmx.de> via NetBSD


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 11:44:34 +00:00
Love Hörnquist Åstrand
95a74c27a8 case argument to toupper to unsigned charm,
from Christian Biere <christianbiere@gmx.de> via NetBSD


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-14 11:26:27 +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
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