Commit Graph

12510 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
2b7e870bf4 (init_cred_loop): handle KRB5KRB_ERR_RESPONSE_TOO_BIG and loop again,
this time requesting LARGE_MSG from send to kdc, and if this is the
second time bail out; try to free memory


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 18:05:27 +00:00
Love Hörnquist Åstrand
bce36e1e1e (krb5_sendto_kdc_flags): new function, and then implement the order
krb5_sendto_kdc* function with this function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 17:39:53 +00:00
Love Hörnquist Åstrand
9f1541abe3 (krb5_krbhst_init_flags): new function, use it and adapt callers
(krbhst_get_default_proto): new function, returns udp, or in case
large_msg was requested for the krb5_krbhst_data, use tcp.
(*): if the flag KD_LARGE_MSG was set on the krb5_krbhst_data, avoid
using udp, use krbhst_get_default_proto


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 17:38:18 +00:00
Love Hörnquist Åstrand
fb67a350b5 flags for krb5_krbhst_init_flags (and krb5_send_to_kdc_flags)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 17:33:50 +00:00
Love Hörnquist Åstrand
c1cf2654de x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 10:49:11 +00:00
Love Hörnquist Åstrand
d4500b9840 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-30 10:47:58 +00:00
Love Hörnquist Åstrand
bafd53eb2d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:47:41 +00:00
Love Hörnquist Åstrand
1836e6e9f7 export Scheduler and scheduler_lockout_tty
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:47:24 +00:00
Love Hörnquist Åstrand
1efd89da9d (my_telnet): if telnet_spin returns failure, complain that the server
disconnected and exit


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:47:02 +00:00
Love Hörnquist Åstrand
b2b4d18c3e (telnet_spin): if Scheduler() returns failure (-1) propagate to higher level
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 15:45:51 +00:00
Johan Danielsson
d841047ce6 stuff to generate headerfile for roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-25 13:26:56 +00:00
Love Hörnquist Åstrand
740e4a08a6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 12:13:38 +00:00
Love Hörnquist Åstrand
13ade7c50c (afslog_uid_int): just belive that realm hint the user passed us
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 12:13:28 +00:00
Love Hörnquist Åstrand
e894162147 Add support for AFS when using Kerberos 5,
From: Sergio.Gelato@astro.su.se


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 10:55:41 +00:00
Love Hörnquist Åstrand
0b393db251 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 10:44:12 +00:00
Love Hörnquist Åstrand
29f526b115 (krb5_rd_req): if we have a keyblock in auth context, use that
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 10:43:50 +00:00
Love Hörnquist Åstrand
ff3a43e965 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 10:08:43 +00:00
Love Hörnquist Åstrand
f5f69fb1ba - EC and RRC are big-endian, not little-endian
- The default is now to rotate regardless of GSS_C_DCE_STYLE. There
  are no longer any references to GSS_C_DCE_STYLE.
- rrc_rotate() avoids allocating memory on the heap if rrc <= 256
From: Luke Howard <lukeh@padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 10:08:24 +00:00
Love Hörnquist Åstrand
c1d6c63391 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 02:18:14 +00:00
Love Hörnquist Åstrand
42005d25bf print authorization data if there are any
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 02:16:57 +00:00
Love Hörnquist Åstrand
93afdf243c remove boolean for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-22 23:54:23 +00:00