Love Hörnquist Åstrand
9407642396
catch error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:07 +00:00
Love Hörnquist Åstrand
225a6e45af
catch error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:01:02 +00:00
Love Hörnquist Åstrand
ae597b8166
catch error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:57 +00:00
Love Hörnquist Åstrand
78b0cb1d12
remove unread assignment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:52 +00:00
Love Hörnquist Åstrand
ba8498ce09
catch error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:47 +00:00
Love Hörnquist Åstrand
979ac09247
return exit_value
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:39 +00:00
Love Hörnquist Åstrand
734a7cdf4f
return whatever krb5_copy_data returnd
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:33 +00:00
Love Hörnquist Åstrand
11752006c3
ignore error from crypto_destro to catch more intresting error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:28 +00:00
Love Hörnquist Åstrand
f05f1107ce
catch error and return error from krb5_openlog().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:24 +00:00
Love Hörnquist Åstrand
8b628c715f
catch error from iterate_entries
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:19 +00:00
Love Hörnquist Åstrand
fe4424b80e
check right error variable.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:15 +00:00
Love Hörnquist Åstrand
4a4c73c2c4
keep return from ret.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:07 +00:00
Love Hörnquist Åstrand
6172e895f9
remove allocated_ctx.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 10:00:00 +00:00
Love Hörnquist Åstrand
dddffe995f
Delete context on failure.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:55 +00:00
Love Hörnquist Åstrand
f462f342a0
don't bother setting verify_mic if its not used after this.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:49 +00:00
Love Hörnquist Åstrand
e9fe84bf9c
catch errors from _kdc_do_version4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:43 +00:00
Love Hörnquist Åstrand
e974eca971
remove #if 0'ed code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:28 +00:00
Love Hörnquist Åstrand
83b2e2cae0
set error code and catch them.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:19 +00:00
Love Hörnquist Åstrand
0aaf4a7721
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:13 +00:00
Love Hörnquist Åstrand
21f5c84036
Catch error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:08 +00:00
Love Hörnquist Åstrand
95af0790b0
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:03 +00:00
Love Hörnquist Åstrand
df987a3b03
Catch store failure.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:56 +00:00
Love Hörnquist Åstrand
9365904540
Catch hx509_certs_init() to fail.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:51 +00:00
Love Hörnquist Åstrand
77c0066e58
Not init len, return never used (overwritten later).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:44 +00:00
Love Hörnquist Åstrand
bcf674235d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:39 +00:00
Love Hörnquist Åstrand
769b160644
Not init m, return never used (overwritten later).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:33 +00:00
Love Hörnquist Åstrand
1d7cce4014
make max_sz int since it will passed to %*s
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:29 +00:00
Love Hörnquist Åstrand
dfb1db9505
delegate policy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:24 +00:00
Love Hörnquist Åstrand
ac33d8447b
More bits from the KDF.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:18 +00:00
Love Hörnquist Åstrand
a9a96e407e
Add gsskrb5_[gs]et_time_offset
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:12 +00:00
Love Hörnquist Åstrand
737c369012
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:07 +00:00
Love Hörnquist Åstrand
04b69a4a76
add GSS_C_DELEG_POLICY_FLAG
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:58:01 +00:00
Love Hörnquist Åstrand
c69717db61
If we used GSS_C_DELEG_POLICY_FLAG, trust KDC, still trust realm configuration.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:57:56 +00:00
Love Hörnquist Åstrand
7a77c27995
add GSS_C_DELEG_POLICY_FLAG = 32768
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:57:44 +00:00
Love Hörnquist Åstrand
44c3bc04d7
Add -shared to build shared library. From Brian May.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-29 09:18:38 +00:00
Love Hörnquist Åstrand
539ad8942b
add Rainer Toebbicke
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 15:01:21 +00:00
Love Hörnquist Åstrand
e00b8680dd
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 15:01:16 +00:00
Love Hörnquist Åstrand
dddacbd40e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 15:01:11 +00:00
Love Hörnquist Åstrand
ba2127c788
The "kaserver" part of Heimdal occasionally issues invalid AFS tokens
...
(here "occasionally" means for certain users in certain realms).
In lib/krb5/v4_glue.c, in the routine storage_to_etext the ticket is
padded to a multiple of 8 bytes. If it is already a multiple of 8
bytes, 8 additional 0-bytes are added.
This catches the AFS krb4 ticket decoder by surprise: unless the
ticket is exactly 56 bytes, it only supports the minimum necessary
padding. It detects the superfluous padding by comparing the ticket
length decoded to the advertised ticket length.
Hence a 7-letter userid in "cern.ch" which resulted in a ticket of 40
bytes, got "padded" to 48 bytes which the rxkad decoder rejected.
From Rainer Toebbicke.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 15:01:05 +00:00
Love Hörnquist Åstrand
7b5981996c
sprinle O_CLOEXEC, from Andrew Bartlett
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23474 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-28 08:49:43 +00:00
Love Hörnquist Åstrand
c3f4d6a7e4
less libtool
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:18:48 +00:00
Love Hörnquist Åstrand
e7866f36cb
run libtool out of .
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:18:23 +00:00
Love Hörnquist Åstrand
b566548643
close-on-exec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23471 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:17:49 +00:00
Love Hörnquist Åstrand
96641812d5
close-on-exec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:17:35 +00:00
Love Hörnquist Åstrand
c50ae6b63c
xfree, close-on-exec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:17:12 +00:00
Love Hörnquist Åstrand
e9c6b517fd
xfree, close-on-exec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:16:56 +00:00
Love Hörnquist Åstrand
1e91bb390c
close-on-exec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:16:37 +00:00
Love Hörnquist Åstrand
57666b9434
close-on-exec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:16:15 +00:00
Love Hörnquist Åstrand
257fd5237c
close-on-exec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23465 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:15:47 +00:00
Love Hörnquist Åstrand
e55772d6cf
close-on-exec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-27 12:15:21 +00:00