Commit Graph

7167 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
188cabf477 (mcc_get_principal): also check for primary_principal == NULL now that
that isn't used as dead flag


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-03 21:06:36 +00:00
Love Hörnquist Åstrand
bd852f759c don't overload the primary_principal == NULL as dead since that
doesn't always work
Based on patch from Jeffrey Hutzelman <jhutz@cmu.edu>, but tweek by me


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-03 20:49:34 +00:00
Love Hörnquist Åstrand
dff9e56989 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13416 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-02 22:19:17 +00:00
Love Hörnquist Åstrand
3224391860 make it possible to use libsl from c++
From: Mattias Amnefelt <mattiasa@kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13415 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-02 22:04:57 +00:00
Love Hörnquist Åstrand
6b07954615 (_kadm5_set_keys_randomly): make sure enctype to copy enctype for des keys
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-29 06:12:50 +00:00
Love Hörnquist Åstrand
40ac026c53 (kadm5_s_create_principal_with_key): don't call _kadm5_set_keys2,
create_principal will do that for us. But set kvno to 1.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-29 06:07:32 +00:00
Love Hörnquist Åstrand
a3beff27cb (change): bump kvno
(kadm5_s_chpass_principal_with_key): bump kvno


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-29 06:00:56 +00:00
Love Hörnquist Åstrand
4f7deb0238 (kadm5_s_randkey_principal): bump kvno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-29 05:59:22 +00:00
Love Hörnquist Åstrand
d420dc5958 (_kadm5_set_*): don't change the kvno, let the callee to that
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13405 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-29 05:49:29 +00:00
Johan Danielsson
37be50b9f6 (krb5_get_default_realm): let krb5_set_default_realm set an error
string for us


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13404 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-23 13:49:28 +00:00
Love Hörnquist Åstrand
6da4e2989e adapt to rename of oid_cmp to heim_oid_cmp
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-22 17:31:53 +00:00
Love Hörnquist Åstrand
483b0b78c3 fix all db >= 4.1 cases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-22 12:48:39 +00:00
Love Hörnquist Åstrand
9dac88f093 update error codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-20 21:42:34 +00:00
Love Hörnquist Åstrand
ba2fb75678 prefix pkinit error codes with KRB5_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-20 21:40:42 +00:00
Love Hörnquist Åstrand
e7eaae52ff handle memory allocate errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 21:24:14 +00:00
Love Hörnquist Åstrand
73447cd88f (_krb5_xlock): handle that everything was ok, and don't put an error
in the error strings then


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 21:22:52 +00:00
Love Hörnquist Åstrand
9503937a3d indent, use krb5_abortx() instead of abort()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 12:44:33 +00:00
Love Hörnquist Åstrand
8696c13a7f (process_pa_data_to_key): spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 12:41:19 +00:00
Love Hörnquist Åstrand
ed2915aca8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-17 12:07:52 +00:00
Love Hörnquist Åstrand
6806ed574f (add_string): catch error from realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-17 12:07:42 +00:00
Love Hörnquist Åstrand
793915d663 possibly return ENOMEM
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-17 12:04:59 +00:00
Love Hörnquist Åstrand
82bc224368 adapt to the new format of heim_integer, start working on w2k compat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-17 08:46:59 +00:00
Love Hörnquist Åstrand
d85519e16d s/heim_big_integer/heim_integer/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 17:08:29 +00:00
Love Hörnquist Åstrand
ad01ed478a adapt to asn1 bignum code, use HEIM_PKINIT errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 16:24:27 +00:00
Love Hörnquist Åstrand
2e261f0a4b add HEIM_PKINIT specific errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 16:23:40 +00:00
Love Hörnquist Åstrand
7dbeeb957f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:48:17 +00:00
Love Hörnquist Åstrand
5cc66e1d2b add simple_execve_timed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:48:04 +00:00
Love Hörnquist Åstrand
7d842b177a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:37:41 +00:00
Love Hörnquist Åstrand
0e44e47b2a add timed simple_exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:37:18 +00:00
Love Hörnquist Åstrand
0d4320db0b (change_password): handle that printf("%.*s", 0, (void*)NULL); doesn't
work on solaris


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-11 12:30:35 +00:00
Love Hörnquist Åstrand
310701f968 don't use path's in first .Nm, it confuses some locate.updatedb, use
FILES section to describe where the file is instead.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-10 13:28:45 +00:00
Love Hörnquist Åstrand
387710cab1 test for "der_length.c: Fix len_unsigned for certain negative
integers, it got the length wrong" , from Panasas, Inc.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-07 14:30:07 +00:00
Love Hörnquist Åstrand
a96b264050 Fix len_unsigned for certain negative integers, it got the length
wrong, fix from Panasas, Inc.

rename len_int and len_unsigned to _heim_\&


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-07 14:27:59 +00:00
Love Hörnquist Åstrand
d0daf9b14c add _heim_len_unsigned, _heim_len_int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-07 14:16:53 +00:00
Love Hörnquist Åstrand
0f49388ac2 test for: (length_type): TSequenceOf: add up the size of all the
elements, don't use just the size of the last element.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 22:15:42 +00:00
Love Hörnquist Åstrand
1987668bf1 add "next iv" test for aes128, check decryption case too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 21:05:57 +00:00
Love Hörnquist Åstrand
38222b38b2 (_krb5_aes_cts_encrypt): out iv is the iv of the next to last block,
fix decryption case too


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 21:04:41 +00:00
Love Hörnquist Åstrand
b1c7bcffd1 add "next iv" test for aes128
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 20:48:25 +00:00
Love Hörnquist Åstrand
290b1c07d8 (_krb5_aes_cts_encrypt): out iv is the iv of the next to last block
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 20:47:21 +00:00
Love Hörnquist Åstrand
051ed5b5a1 (krb5_mk_rep): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:06:10 +00:00
Love Hörnquist Åstrand
b556de6237 (krb5_mk_rep): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:05:02 +00:00
Love Hörnquist Åstrand
a74d87717c (krb5_get_in_cred): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:03:42 +00:00
Love Hörnquist Åstrand
5e5a56079a (krb5_mk_priv): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:03:00 +00:00
Love Hörnquist Åstrand
74ee19a354 (make_pa_tgs_req): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 16:59:37 +00:00
Love Hörnquist Åstrand
79ec557a94 (krb5_build_authenticator): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 16:58:24 +00:00
Love Hörnquist Åstrand
da1b9cbc7f (krb5_build_ap_req): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 16:56:19 +00:00
Love Hörnquist Åstrand
653db66d34 register WRFILE ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:05:42 +00:00
Love Hörnquist Åstrand
b5f0883c6a add krb5_wrfkt_ops/WRFILE (same as FILE)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:03:22 +00:00
Love Hörnquist Åstrand
df1bac1a97 add krb5_wrfkt_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:00:29 +00:00
Love Hörnquist Åstrand
152e9654e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 19:31:55 +00:00