Commit Graph

14331 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
e7e96c2abd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 12:37:54 +00:00
Love Hörnquist Åstrand
d76a6fef95 external password verifier sample
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 12:29:51 +00:00
Love Hörnquist Åstrand
03ca655e05 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:47:02 +00:00
Love Hörnquist Åstrand
daf508650e document new password policy code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:46:50 +00:00
Love Hörnquist Åstrand
bb095dc7cc replace dash with underscore in the new configuration file option,
just like the rest of the file


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:32:23 +00:00
Love Hörnquist Åstrand
5921574969 add verifier libraries with kadm5_add_passwd_quality_verifier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:16:32 +00:00
Love Hörnquist Åstrand
60e7557445 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:13:28 +00:00
Love Hörnquist Åstrand
bb3421e14d (kadm5_add_passwd_quality_verifier): if NULL is passed in, load defaults
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 11:13:12 +00:00
Love Hörnquist Åstrand
ffbe1f7b1a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 05:03:39 +00:00
Love Hörnquist Åstrand
20bf4cc2cf include <hex.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 05:02:39 +00:00
Love Hörnquist Åstrand
2b6cbbb4e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 19:06:54 +00:00
Love Hörnquist Åstrand
c50b57d65d AUTHENTICATE and AUTHENTICATE_V2 is almost the same, and clients
(klog) can deal with that the kaserver returns the same thing for both


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 19:02:29 +00:00
Love Hörnquist Åstrand
090f4804ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:45:35 +00:00
Love Hörnquist Åstrand
239d06f465 add option -H --hex to the add command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:45:14 +00:00
Love Hörnquist Åstrand
cc37425e3e document option -H --hex to the add command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 16:43:57 +00:00
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
3aa848647e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 19:22:19 +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
fe3cbd31f3 check for closefrom
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14779 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-13 08:02:35 +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
eac4d15ae9 rk_WIN32_EXPORT for roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-12 11:32:48 +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
3ee2d21177 ignore login_protos.h, its a built file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 16:33:08 +00:00
Love Hörnquist Åstrand
8398e942dc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14766 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 16:07:36 +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
f15888e4ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:48:32 +00:00
Love Hörnquist Åstrand
d0cc9002ed print out client principla of delegated credential
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-10 14:47:41 +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
9385c74733 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-07 20:26:18 +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