Commit Graph

7219 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
3c0343f2c1 Add krb5_keyblock_init to allocate an fill in a keyblock from key data.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:27:24 +00:00
Love Hörnquist Åstrand
4e95901a2b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 06:16:49 +00:00
Love Hörnquist Åstrand
17f0e880c2 add an end tag to the external password quality check protocol
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 06:04:37 +00:00
Love Hörnquist Åstrand
c462f2b1a2 add ROKEN_LIB_FUNCTION glue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 13:19:07 +00:00
Love Hörnquist Åstrand
28303a2798 add closefrom
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 13:17:16 +00:00
Love Hörnquist Åstrand
cd9d95cb0d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:48:40 +00:00
Love Hörnquist Åstrand
98c23307d7 add external passsword quality check builtin module
[password_quality]
	policies = external-check
	external-program = /bin/false

To approve password a, make the test program return APPROVED on stderr
and fail with exit code 0.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:47:48 +00:00
Love Hörnquist Åstrand
cbe95e0177 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:39:16 +00:00
Love Hörnquist Åstrand
043e2fb6c6 don't close stderr, close all fd that is num 3 and larger
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 11:39:00 +00:00
Love Hörnquist Åstrand
a3cd0311be x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:06:42 +00:00
Love Hörnquist Åstrand
d15c9d7cc6 (pipe_execv): use closefrom
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:05:03 +00:00
Love Hörnquist Åstrand
34416ca94f drop <errno.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:01:38 +00:00
Love Hörnquist Åstrand
ff78cfca60 add closefrom
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:00:44 +00:00
Love Hörnquist Åstrand
f1f84477a8 provide ROKEN_LIB_FUNCTION glue
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 05:52:27 +00:00
Love Hörnquist Åstrand
75fd257d78 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:33:04 +00:00
Love Hörnquist Åstrand
709aa58c74 define ROKEN_LIB_FUNCTION on all exported functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:29:18 +00:00
Love Hörnquist Åstrand
9d25af4667 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14772 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:20:54 +00:00
Love Hörnquist Åstrand
1ca7fa435c don't include bit types, the user must do that
#ifdef wrap


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14771 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:18:13 +00:00
Love Hörnquist Åstrand
5a741de6cd #ifdef wrap
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:09:47 +00:00
Love Hörnquist Åstrand
c1c535f239 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14769 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:01:48 +00:00
Love Hörnquist Åstrand
1a5d075bae print DS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 19:00:02 +00:00
Love Hörnquist Åstrand
4903a8daab x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14765 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 15:01:39 +00:00
Love Hörnquist Åstrand
e743a6ca8a break out the processing of the delegated credential to a separate
function to make error handling easier, move the credential handling
to after other setup is done


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 15:01:21 +00:00
Love Hörnquist Åstrand
cce019aa2f make less verbose in case of success
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:05:15 +00:00
Love Hörnquist Åstrand
e8bd38e643 add test_sequence to TESTS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:04:43 +00:00
Love Hörnquist Åstrand
84ebbbffc2 sync patypes with pkinit branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-08 10:32:44 +00:00
Love Hörnquist Åstrand
9dd70b312a (process_pa_data_to_key): also check for KRB5_PADATA_PK_AS_REP_19,
From: Douglas Engert


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 20:15:18 +00:00
Love Hörnquist Åstrand
9e68a7aabe remove libdes leftovers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14753 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 19:01:37 +00:00
Love Hörnquist Åstrand
717eaf3c8f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 18:48:52 +00:00
Love Hörnquist Åstrand
2a95fd688b remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 17:49:26 +00:00
Love Hörnquist Åstrand
032007ddbd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 20:16:09 +00:00
Love Hörnquist Åstrand
9dfec2715f use size_t, print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 19:36:37 +00:00
Love Hörnquist Åstrand
5e74cbdab9 print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 19:31:56 +00:00
Love Hörnquist Åstrand
a33daf69bf print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 19:24:18 +00:00
Love Hörnquist Åstrand
a15822844f print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14736 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 17:54:50 +00:00
Love Hörnquist Åstrand
d463f754ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 17:40:33 +00:00
Love Hörnquist Åstrand
d40ed2e5a1 print size_t by casting to unsigned long
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 17:40:10 +00:00
Love Hörnquist Åstrand
4d54830246 one more v6 range test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 14:22:08 +00:00
Love Hörnquist Åstrand
01d4d3ef29 Argument to create_new_ccache is a principal, not a credential cache name.
Clean up lossage related to this problem.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 14:17:00 +00:00
Love Hörnquist Åstrand
44feff968e CHECK_SYMBOLS += HDBFlags2int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 14:12:27 +00:00
Love Hörnquist Åstrand
8663e85292 (krb5_address_prefixlen_boundary,krb5_free_address): use find_atype
when we are dealing with a kerberos address type


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 12:04:41 +00:00
Love Hörnquist Åstrand
401620865e size_t vs int + fix printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 11:12:31 +00:00
Love Hörnquist Åstrand
6611feed76 Since the decode can't make out the diffrence between PA-PK-AS-REP-19
and PA-PK-AS-REQ-Win2k, try harder to verify both cases


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 08:54:45 +00:00
Love Hörnquist Åstrand
e0d75a3766 make generation of pa data into a switch instead of a bitmask
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 08:24:01 +00:00
Love Hörnquist Åstrand
c02d9c6872 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-02 05:21:57 +00:00
Love Hörnquist Åstrand
626555bfd3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-02 05:16:24 +00:00
Love Hörnquist Åstrand
d17c7b3d8d "must set with '=' before using '+='"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-02 05:08:40 +00:00
Love Hörnquist Åstrand
7bb695aa15 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 09:00:49 +00:00
Love Hörnquist Åstrand
b42998d374 (gssapi_krb5_verify_8003_checksum): check that cksum isn't NULL
From: Nicolas Pouvesle <npouvesle@tenablesecurity.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 08:55:36 +00:00
Love Hörnquist Åstrand
227fcde20c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 08:40:57 +00:00