Love Hörnquist Åstrand
f24cb76b05
sequence number checks, order and replay
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-05 20:40:50 +00:00
Love Hörnquist Åstrand
63b7fe118d
(gss_accept_sec_context): make sure time is returned in seconds from
...
now, not in kerberos time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:25:41 +00:00
Love Hörnquist Åstrand
a704e2f3f4
(gss_aquire_cred): make sure time is returned in seconds from now, not
...
in kerberos time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:24:29 +00:00
Love Hörnquist Åstrand
f6870509a7
(init_auth): if the cred is expired before we tries to create a token,
...
fail so the peer doesn't need reject us
(*): make sure time is returned in seconds from now, not in kerberos time
(repl_mutual): remember to unlock the context mutex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:22:58 +00:00
Love Hörnquist Åstrand
a2408d7675
(gss_context_time): remove unused variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:08:00 +00:00
Love Hörnquist Åstrand
ee6c2cbd71
make sure minor_status is always set, pointed out by Luke Howard <lukeh@PADL.COM>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 14:58:51 +00:00
Love Hörnquist Åstrand
6ab45444b7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 14:52:47 +00:00
Love Hörnquist Åstrand
42f3fc029a
- do some basic locking (no reference counting so contexts can be
...
removed while still used)
- don't export gss_ctx_id_t_desc_struct and gss_cred_id_t_desc_struct
- make sure all lifetime are returned in seconds left until expired,
not in unix epoch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 14:52:14 +00:00
Love Hörnquist Åstrand
a626def4cd
document argument lifetime_rec to function gss_inquire_context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-21 14:47:55 +00:00
Love Hörnquist Åstrand
37502b25c3
fix errors found with mdoclint
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 22:39:26 +00:00
Love Hörnquist Åstrand
aac29a35a4
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 22:24:02 +00:00
Love Hörnquist Åstrand
08b804844a
test gss_add_cred more then once
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-16 22:23:16 +00:00
Love Hörnquist Åstrand
eb7f988877
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-06 13:01:17 +00:00
Love Hörnquist Åstrand
57ff36e236
if __cplusplus, wrap the extern variable (just to be safe) and
...
functions in extern "C" { }
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-06 13:01:06 +00:00
Love Hörnquist Åstrand
9b26e3a8ec
more about the des3 mic mess
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-30 09:57:00 +00:00
Love Hörnquist Åstrand
327f5dc311
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-30 09:41:39 +00:00
Love Hörnquist Åstrand
952b7e4ad6
(verify_mic_des3): always check if the mic is the correct mic or the
...
mic that old heimdal would have generated
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-30 09:41:21 +00:00
Jacques A. Vidrine
c6ba0af2a7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-28 15:20:05 +00:00
Jacques A. Vidrine
5773846f71
verify_mic_des3: If MIC verification fails, retry using the `old' MIC
...
computation (with zero IV).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-28 15:19:12 +00:00
Love Hörnquist Åstrand
74b8c99589
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-26 09:29:12 +00:00
Love Hörnquist Åstrand
77cd6364fd
more about difference between comparing IN and MN
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-26 09:21:50 +00:00
Love Hörnquist Åstrand
736af2ad25
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-26 08:32:39 +00:00
Love Hörnquist Åstrand
bb41dfa474
more about name type and access control
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-26 08:32:17 +00:00
Love Hörnquist Åstrand
d50c1e51bc
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 18:57:56 +00:00
Love Hörnquist Åstrand
4149115a94
document gss_context_time
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 18:57:38 +00:00
Love Hörnquist Åstrand
982e290f4c
if lifetime of context have expired, set time_rec to 0 and return
...
GSS_S_CONTEXT_EXPIRED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 18:54:56 +00:00
Love Hörnquist Åstrand
1d543edbc1
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 18:29:24 +00:00
Love Hörnquist Åstrand
6f84a76002
document [gssapi]correct_des3_mic [gssapi]broken_des3_mic
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 18:29:08 +00:00
Love Hörnquist Åstrand
045f69cc2b
(gss_krb5_compat_des3_mci): return a value
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 17:18:54 +00:00
Love Hörnquist Åstrand
36ef04ff84
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 17:17:29 +00:00
Love Hörnquist Åstrand
dbef932c25
document gss_krb5_compat_des3_mic
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 17:16:39 +00:00
Love Hörnquist Åstrand
a8e1e4e12b
(gss_krb5_compat_des3_mic): enable turning on/off des3 mic compat
...
(_gss_DES3_get_mic_compat): handle [gssapi]correct_des3_mic too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 17:12:16 +00:00
Love Hörnquist Åstrand
41638a2cc6
(gss_krb5_compat_des3_mic): new function, turn on/off des3 mic compat
...
(GSS_C_KRB5_COMPAT_DES3_MIC): cpp symbol that exists if
gss_krb5_compat_des3_mic exists
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-25 17:08:33 +00:00
Love Hörnquist Åstrand
53415dae0e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-24 20:47:19 +00:00
Love Hörnquist Åstrand
19fd29d5c3
(libgssapi_la_LDFLAGS): update major version of gssapi for
...
incompatiblity in 3des getmic support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-24 20:42:02 +00:00
Love Hörnquist Åstrand
0bc4a754fb
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-23 10:26:31 +00:00
Love Hörnquist Åstrand
31d5e31d3c
test_acquire_cred_LDADD: use libgssapi.la not ./libgssapi.la (make make -jN work)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-23 10:24:55 +00:00
Love Hörnquist Åstrand
851fb4a8ef
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 14:02:19 +00:00
Love Hörnquist Åstrand
8a0fc7c5d4
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-16 13:59:55 +00:00
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
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