Commit Graph

12531 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
d341945ac0 add krb5_get_init_creds_opt_set_paq_request
break out common part of extended opt functions to require_ext_opt


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 11:51:42 +00:00
Love Hörnquist Åstrand
989e429cda add enum krb5_get_init_creds_req_pac
and use it in struct _krb5_get_init_creds_opt_private


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 11:50:32 +00:00
Love Hörnquist Åstrand
3af232862a (islocalrealm): exact match is also fine
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 11:16:09 +00:00
Love Hörnquist Åstrand
11d8f82808 handle some more failure lines
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 10:28:52 +00:00
Love Hörnquist Åstrand
c32350eb60 some diffrences between Heimdal and MIT Kerberos in the API
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 05:00:50 +00:00
Love Hörnquist Åstrand
a358b88c42 document krb5_principal_{get,set}_type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 04:58:00 +00:00
Love Hörnquist Åstrand
5e2f96156f add krb5_principal_set_type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 04:52:06 +00:00
Love Hörnquist Åstrand
b40d499bb7 add Setting up DNS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 04:03:36 +00:00
Love Hörnquist Åstrand
97d37d8057 (krb5_rd_req): always free keyblock since its alway used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 00:39:21 +00:00
Love Hörnquist Åstrand
adaa1fb814 add SAM types and PAC_REQUEST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 00:33:20 +00:00
Love Hörnquist Åstrand
e01dbe09dd add more preauth types, add PA-PAC-REQUEST
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 00:31:01 +00:00
Love Hörnquist Åstrand
8b8bcb8c9b add boolan support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-03 00:28:29 +00:00
Love Hörnquist Åstrand
67522cdee3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-02 14:51:43 +00:00
Love Hörnquist Åstrand
9aaf686b2a (setpw_send_request): free ap_req_data on failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-02 14:39:22 +00:00
Love Hörnquist Åstrand
8d633a7083 count preauth failuire too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-01 16:56:04 +00:00
Love Hörnquist Åstrand
3908a59810 count principal and ip addresses using des
remove unused stuff


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-01 16:45:37 +00:00
Love Hörnquist Åstrand
7c0cd16320 sort
count principal using des


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-01 16:16:58 +00:00
Love Hörnquist Åstrand
259c3c8b64 remember last address
make stats on failed lookups, both principal and andress
make output more pretty


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-01 15:32:23 +00:00
Love Hörnquist Åstrand
5ff87e582d parse kdc log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-01 04:22:45 +00:00
Love Hörnquist Åstrand
0be565a15f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 19:55:52 +00:00
Love Hörnquist Åstrand
bb2f366b8f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 18:58:06 +00:00
Love Hörnquist Åstrand
fc82b86bb0 (verify_krb5): set mcred.client too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 18:57:49 +00:00
Love Hörnquist Åstrand
7a00e2ac9a (do_connect): use ai_protocol 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 18:56:31 +00:00
Love Hörnquist Åstrand
cf4d77c610 (krb5_afslog_uid_home): be even more friendly to the user and fetch
context and id ourself


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 18:55:01 +00:00
Love Hörnquist Åstrand
81b0402f62 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 18:05:52 +00:00