Commit Graph

11741 Commits

Author SHA1 Message Date
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
3ce2d57cd2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-11 12:50:36 +00:00
Love Hörnquist Åstrand
4c21ae8c5d spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-11 12:50:03 +00:00
Love Hörnquist Åstrand
8ac349f52f spellings, from jmc <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-11 12:43:57 +00:00
Love Hörnquist Åstrand
e075c8c0f7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-08 20:55:21 +00:00
Love Hörnquist Åstrand
3abde05ac7 typos, from jmc <jmc@acn.waw.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-08 20:55:10 +00:00
Love Hörnquist Åstrand
925699b3e3 about 0.6, also add 0.5.[12]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-07 22:34:59 +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
7747568b30 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 17:48:09 +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
43402c41ff 0.6pre2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-06 00:38:32 +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
Assar Westerlund
f64b6ae0cc fixed one incorrect fprintf to stderr
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-04 02:10:17 +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
058cffc422 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-03 17:26:08 +00:00
Love Hörnquist Åstrand
038443c62a check if libcrypto needs -lnsl or -lsocket
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-03 17:25:54 +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
73b44736fb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-02 13:04:48 +00:00
Love Hörnquist Åstrand
dc98cddce7 in the case where se don't link with kerberos 4, use
${with_openssl_include} if its are set (not ${with_openssl}/include)
same for with_openssl_lib


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-02 13:02:02 +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
10e8803627 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 18:12:52 +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
4082694eae x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 16:53:49 +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
52bf663c4d (kt_change): collect all principals we are going to change, and pick
the highest kvno and use that to guess what kvno the resulting kvno is
going to be. Now two ktutil change in a row works. XXX fix the
protocol to pass the kvno back.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-01 15:04:49 +00:00
Love Hörnquist Åstrand
272d7d3e0b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-31 15:35:33 +00:00
Love Hörnquist Åstrand
b4a0957905 afs->AFS, from jmc <jmc@acn.waw.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-03-31 15:34:53 +00:00