Commit Graph

7040 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
12289e8b96 (default_etypes): avoid using disabled enctypes
(set_etypes): avoid using disabled enctypes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 20:59:39 +00:00
Love Hörnquist Åstrand
c5fd7d3102 Intergrate Heimdal's hdb-ldap and the Samba password database.
From: Andrew Bartlett <abartlet@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:38:48 +00:00
Love Hörnquist Åstrand
49d345d693 add support for disabling checksum/encryption types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13452 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:04:59 +00:00
Love Hörnquist Åstrand
ae01d1df5e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:26:41 +00:00
Love Hörnquist Åstrand
912dfa6eee (spnego_accept_sec_context): make sure the length of the choice
element doesn't overrun us


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:26:20 +00:00
Love Hörnquist Åstrand
f96b2ccb60 (spnego_reply): make sure the length of the choice element doesn't
overrun us


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13444 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:25:33 +00:00
Love Hörnquist Åstrand
1b7fe5bcc4 fix prototype of encode_utf8string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 14:03:49 +00:00
Love Hörnquist Åstrand
15ba74a10d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 13:38:23 +00:00
Love Hörnquist Åstrand
8dd36b4b32 move NegotiationToken to avoid warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13440 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 13:38:08 +00:00
Love Hörnquist Åstrand
46418aa4c8 uncomment NegotiationToken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13439 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:57:02 +00:00
Love Hörnquist Åstrand
5c87eb99f3 spnego_files += asn1_NegotiationToken.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13438 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:56:39 +00:00
Love Hörnquist Åstrand
f2bdee2b8d catch CHOICE and generate dummy placeholder
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:44:00 +00:00
Love Hörnquist Åstrand
322b4a8a3e added dummy parsing of CHOICE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 12:42:55 +00:00
Love Hörnquist Åstrand
2e03946bac revert the part of the file I didn't mean to commit yet (samba support)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 23:13:16 +00:00
Love Hörnquist Åstrand
6a63f6b416 drop SMTP_NAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13432 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 23:09:24 +00:00
Love Hörnquist Åstrand
34659fc782 support building ldap backend as module
sort asn1 hdb files


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 22:30:21 +00:00
Love Hörnquist Åstrand
e4b3116bfe when building ldap as a shared module, don't include it in the list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 22:26:46 +00:00
Love Hörnquist Åstrand
f46a1ac367 make ldap possible to build as a shared module
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 21:51:24 +00:00
Love Hörnquist Åstrand
44cb7e1d74 add hdb_{,un}seal_key{,_mkey} from Andrew Bartlett <abartlet@samba.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 18:58:22 +00:00
Love Hörnquist Åstrand
02bf38f7a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 17:27:04 +00:00
Love Hörnquist Åstrand
5065dd4bc7 (decrypt_internal_special): do not not modify the original data
test case from Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13421 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-06 16:36:46 +00:00
Love Hörnquist Åstrand
601b8fcfa3 (process_reply): log into result_string if something goes bad, return
0 (even on failure), not the KPASSWD protocol error code


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-03 22:14:47 +00:00
Love Hörnquist Åstrand
fb3cfcca9f more cc tests, mostly related to mcc behavior
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-03 21:09:28 +00:00
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