Commit Graph

12556 Commits

Author SHA1 Message Date
Johan Danielsson
744bd74233 krb5_princ_realm -> krb5_principal_get_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-20 16:14:02 +00:00
Johan Danielsson
beba4ef8f9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-16 09:06:54 +00:00
Johan Danielsson
8ad04cfa43 Sleep forever waiting for lock. Previous method doesn't work well with
a large number of clients accessing the cache at the same time, and
there is no simple way to add a timeout to the lock.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-16 09:06:39 +00:00
Love Hörnquist Åstrand
76e1e376c4 count IP v4/v6 requests now that my kdc supports v6
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13016 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-14 15:25:34 +00:00
Johan Danielsson
175541b3c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-14 12:32:54 +00:00
Johan Danielsson
3a36f7c6db mkstemp formats must end in exactly six X's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-14 12:32:39 +00:00
Johan Danielsson
aa2d4b02ae get branch from CVS/Tag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-14 12:08:10 +00:00
Love Hörnquist Åstrand
9c33463fd1 handle requests to forward non-forwardable ticket and HTTP requests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-14 11:21:43 +00:00
Love Hörnquist Åstrand
dfbc07b034 instead of the cryptic "Request:" use "HTTP request:"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13010 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-14 11:02:33 +00:00
Love Hörnquist Åstrand
2ded4d8b29 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13007 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 14:21:14 +00:00
Johan Danielsson
29fbd6bdbd old pk-cross foo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 14:20:33 +00:00
Love Hörnquist Åstrand
2aaa9a193e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13002 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 13:33:52 +00:00
Love Hörnquist Åstrand
002f25a217 print the error value krb5_init_context failed with
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13001 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 13:33:40 +00:00
Love Hörnquist Åstrand
45f0c7d705 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 13:21:16 +00:00
Love Hörnquist Åstrand
c5bd98ca49 (krb5_config_parse_file_debug): punt if there is binding before a
section declaration. Bug found by Arkadiusz Miskiewicz <arekm@pld-linux.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12999 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 13:20:46 +00:00
Johan Danielsson
3d11618b33 move automake options to configure.in, and depend on automake 1.7
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 13:14:48 +00:00
Johan Danielsson
2ba1b2759a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 13:03:17 +00:00
Johan Danielsson
41d0b9d1bd (erase_file): revert a change in previous; if the ccache is a symlink,
kdestroy should remove it


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12995 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 13:03:12 +00:00
Johan Danielsson
dcc546f00e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12994 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 12:21:38 +00:00
Johan Danielsson
14bfec3d54 implement locking
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 12:21:15 +00:00
Johan Danielsson
0cad850aac (print_tickets): bail out if krb5_cc_next_cred returns error other
than KRB5_CC_END


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-12 15:57:42 +00:00
Johan Danielsson
a5cffb7aa7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-10 15:52:30 +00:00
Johan Danielsson
0ea5fcd9db (pop_init): change call to authentication function, from a ?:
construct (which toubles some versions of gcc) to if; from Björn
Grönvall


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12988 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-10 15:52:18 +00:00
Love Hörnquist Åstrand
da037fa13e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-10 01:10:01 +00:00
Love Hörnquist Åstrand
d804698297 test program for verifying password quality function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-10 01:09:10 +00:00
Love Hörnquist Åstrand
56b5ee6031 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-07 07:49:03 +00:00
Love Hörnquist Åstrand
0c7a5a4563 add some help function that is common between ENC_TS and SAM2
free the etype{,2}-infos on failure
move the pa counter into krb5_get_init_creds_ctx


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12984 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-07 07:48:51 +00:00
Love Hörnquist Åstrand
e31cf630fd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-07 04:09:43 +00:00
Love Hörnquist Åstrand
535b4f1e94 If its a MEMORY cc, make a copy. We need to do this since now
gss_release_cred will destroy the cred. This should be really be
solved a better way.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-07 04:08:57 +00:00
Love Hörnquist Åstrand
9b8678e016 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-07 01:02:14 +00:00
Love Hörnquist Åstrand
ced74c3564 (gss_release_cred): if its a mcc, destroy it rather the just release it
Found by: "Zi-Bin Yang" <zbyang@decru.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-07 00:51:46 +00:00
Love Hörnquist Åstrand
7c51fd6e95 (acquire_initiator_cred): use kret instead of ret where appropriate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-07 00:37:04 +00:00
Love Hörnquist Åstrand
d4baa1906c spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-06 21:02:15 +00:00
Love Hörnquist Åstrand
ed4fb3aa84 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-06 20:47:15 +00:00
Love Hörnquist Åstrand
0da0d41d6a (do_getticket): if times data is shorter then 8 byte, request is mailformed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-06 20:39:28 +00:00
Love Hörnquist Åstrand
4ba454b93f (do_authenticate): if request length is less then 8, its a bad request
and fail. Pointed out by Marco Foglia <marco@foglia.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-06 20:22:07 +00:00
Love Hörnquist Åstrand
911c773668 add flag --warn-mit-syntax that warns for mit syntax is used and just
ignore the mit syntax when its used


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-06 19:27:35 +00:00
Love Hörnquist Åstrand
bae73d1a95 parse [kdc]use_2b and [gssapi]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-06 19:15:04 +00:00
Love Hörnquist Åstrand
309a5a11fb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-05 00:16:34 +00:00
Love Hörnquist Åstrand
565b767d29 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-04 05:44:46 +00:00
Love Hörnquist Åstrand
b44cea4ef2 (str2time_t): allow whitespace between date and time
From: Bob Beck <beck@cvs.openbsd.org> and adharw@yahoo.com


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-04 05:36:29 +00:00
Love Hörnquist Åstrand
7d3afe0d9b let t and n match zero or more whitespaces
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-04 05:15:29 +00:00
Love Hörnquist Åstrand
7a45372a17 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-04 00:30:34 +00:00
Love Hörnquist Åstrand
2b0cf9b3eb add BOOLEAN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 23:49:41 +00:00
Love Hörnquist Åstrand
04daad6bca x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 12:22:43 +00:00
Love Hörnquist Åstrand
f2fe7866d3 When running kinit in "fork mode" do pagsh independent of krb4, also
always do krb4 setup of cc. Always try to destroy the v4 cc.

all boolean --{,no-}request-pac that will request pac or not


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 12:21:42 +00:00
Love Hörnquist Åstrand
cdeab003ac (check_for_tgt): set client as part of the pattern/match cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 12:18:44 +00:00
Love Hörnquist Åstrand
803a7c3db6 (_krb5_krb_dest_tkt): unlink v4 token
(get_krb4_cc_name): move out from _krb5_krb_tf_setup
(_krb5_krb_tf_setup): adapt to allocated filename instead of static filename


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 12:03:03 +00:00
Love Hörnquist Åstrand
cbb6dc1b85 add _krb5_krb_dest_tkt and TKT_ROOT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12957 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 12:01:47 +00:00
Love Hörnquist Åstrand
d5acb83777 (*) send PA_PAC_REQUEST when the user have requested either use PAC or
not use PAC, if the option not set from the user, leave it up to the
kdc to decide.
(init_creds_loop): clear error string on success


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 11:53:48 +00:00