Commit Graph

791 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
9fd5c0254f try all ldap servers in dns, generate a random password,
base64(random_block(64)), XXX must make it support other then ARCFOUR


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:51:28 +00:00
Love Hörnquist Åstrand
a925d449e1 framework for windows AD backend
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-26 16:21:20 +00:00
Johan Danielsson
26457b7135 replace krb5_free_creds_contents by krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:25:35 +00:00
Love Hörnquist Åstrand
1ac5cd4aa5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13473 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:44:49 +00:00
Love Hörnquist Åstrand
dd88e2f3fb (kadm5_s_create_principal): remove old XXX command and related code,
_kadm5_set_keys will do all this now


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 22:43:46 +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
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
Love Hörnquist Åstrand
7ea935ffce x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-30 15:50:11 +00:00
Love Hörnquist Åstrand
db2b1a8fc9 (change): fix same-password-again by decrypting keys and setting an error code
From: Buck Huppmann <buckh@pobox.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-30 15:49:55 +00:00
Love Hörnquist Åstrand
afadd963bb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-21 22:24:27 +00:00
Love Hörnquist Åstrand
7f88773f69 (_kadm5_c_init_context): catch errors from strdup and other krb5_ functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-21 22:23:08 +00:00
Love Hörnquist Åstrand
ca7766b882 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-08 14:29:38 +00:00
Love Hörnquist Åstrand
59c0b546a1 (kadm5_s_rename_principal): allow principal to change realm
From Panasas Inc


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-08 14:29:22 +00:00
Love Hörnquist Åstrand
6eb0902230 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 19:02:03 +00:00
Love Hörnquist Åstrand
23ac4c7125 (kadm5_c_destroy): fix memory leaks, From Panasas, Inc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-07 19:01:39 +00:00
Love Hörnquist Åstrand
6f6e81bdbd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 06:26:44 +00:00
Love Hörnquist Åstrand
122bc51378 don't include <krb5-private.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 06:24:16 +00:00
Love Hörnquist Åstrand
8ae4ac8c04 stop using krb5 lib private byte-frobbing functions and replace them
with with krb5_storage


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 06:23:28 +00:00
Love Hörnquist Åstrand
f00c4ac492 (receive_loop): when seeking over the entries we already have, skip
over the trailer.
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-19 03:21:31 +00:00
Love Hörnquist Åstrand
b2d9a55c02 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 23:20:30 +00:00
Love Hörnquist Åstrand
ef7b3a72f6 (main): parse kdc.conf
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 23:19:26 +00:00
Love Hörnquist Åstrand
da037fa13e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-10 01:10:01 +00:00
Love Hörnquist Åstrand
d804698297 test program for verifying password quality function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-10 01:09:10 +00:00
Love Hörnquist Åstrand
0540f13b86 prefix all struct HDB elements with hdb_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-19 00:25:35 +00:00
Love Hörnquist Åstrand
5d190295aa add context argument to krb5_get_init_creds_opt_alloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-08 15:28:20 +00:00
Love Hörnquist Åstrand
6caf92684d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:47:00 +00:00
Love Hörnquist Åstrand
06bf61ec4a add and enable check program default_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:46:50 +00:00
Love Hörnquist Åstrand
c92c24750f test program for _kadm5_generate_key_set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:46:17 +00:00
Love Hörnquist Åstrand
eb6fcf70a4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:43:03 +00:00
Love Hörnquist Åstrand
61e14619de use krb5_get_init_creds_opt_alloc/krb5_get_init_creds_opt_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 00:31:42 +00:00
Love Hörnquist Åstrand
d8825a3a75 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:38:26 +00:00
Love Hörnquist Åstrand
1d1e4bc424 (_kadm5_set_keys_randomly): remove dup return
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:38:16 +00:00
Love Hörnquist Åstrand
3946ead25c (main): make sure current_version is initialized
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:35:49 +00:00
Love Hörnquist Åstrand
61391e5aa1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-15 16:40:14 +00:00
Love Hörnquist Åstrand
599c39e257 use default_keys for the both random keys and password derived keys if
its defined


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-15 16:38:28 +00:00
Love Hörnquist Åstrand
b411ada0ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-24 14:49:55 +00:00
Love Hörnquist Åstrand
835c5e70a6 (receive_everything): switch close and rename
From: Alf Wachsmann <alfw@SLAC.Stanford.EDU>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12514 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-24 14:49:45 +00:00
Love Hörnquist Åstrand
a7fa272ee4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12420 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-03 13:38:42 +00:00
Love Hörnquist Åstrand
715020f048 Add probing from the server that the client is still there, also make
the client check that the server is probing.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12419 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-03 13:36:09 +00:00
Love Hörnquist Åstrand
33222471b9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12418 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-02 17:52:38 +00:00
Love Hörnquist Åstrand
b24c29b099 (main): add missing ``if (ret)''
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12417 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-02 17:52:27 +00:00
Love Hörnquist Åstrand
89d6ba401a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12403 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-25 23:58:01 +00:00
Love Hörnquist Åstrand
3fef574a4e (make_keys): add aes support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12402 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-25 23:56:58 +00:00
Love Hörnquist Åstrand
05881f3847 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12401 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-25 23:36:46 +00:00
Love Hörnquist Åstrand
356775a1a0 fix off by one in the aes case, pointed out by Ken Raeburn
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12400 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-25 23:36:17 +00:00
Love Hörnquist Åstrand
549a75b710 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-30 17:17:25 +00:00