Commit Graph

14158 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
bae44de2e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 04:42:37 +00:00
Love Hörnquist Åstrand
1caed238c5 fix getpw*_r calls, they return 0 even when the entry isn't found and
instead make it with setting return pointer to NULL.
From Luke Mewburn <lukem@NetBSD.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-19 04:41:07 +00:00
Love Hörnquist Åstrand
5dc1001c37 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 19:20:55 +00:00
Love Hörnquist Åstrand
050cc7b7f3 (acc_resolve): if open_default_ccache failed with ccErrCCacheNotFound
try again with create_default_ccache, this fixes the problem where the
security server apperenly haven't started yet on Mac OS X


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 19:19:04 +00:00
Love Hörnquist Åstrand
9d57c47c64 (_krb5_get_default_principal_local): add, for use of functions that in
ccache layer to avoid recursive calls.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 19:12:19 +00:00
Love Hörnquist Åstrand
b30e1d8c06 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 13:07:19 +00:00
Love Hörnquist Åstrand
d143f5449e ignore filename symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 13:06:49 +00:00
Love Hörnquist Åstrand
b178b15833 change back to 0.7pre again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 11:05:53 +00:00
Love Hörnquist Åstrand
46a77c28e4 pagsh is in section 1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 10:20:31 +00:00
Love Hörnquist Åstrand
77624cc581 change version to 0.7pre1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 10:09:23 +00:00
Love Hörnquist Åstrand
2e035d66b3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 10:08:19 +00:00
Love Hörnquist Åstrand
0cd33d833e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:28:54 +00:00
Love Hörnquist Åstrand
3fcb41496d cast to unsigned char to make sure its not negative when passing it to
is* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:28:35 +00:00
Love Hörnquist Åstrand
fca6863ff2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:08:28 +00:00
Love Hörnquist Åstrand
0b59fd30dc cast to unsigned char to make sure its not negative when passing it to
to* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:07:40 +00:00
Love Hörnquist Åstrand
e621738b3a drop <ctype.h>, no longer use any of the is* macros in this file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:03:54 +00:00
Love Hörnquist Åstrand
16faa9ef19 (TTYget): use unsigned char to make sure a positive number is returned
when successful


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 08:00:42 +00:00
Love Hörnquist Åstrand
7f25d605bd cast to unsigned char to make sure its not negative when passing it to
is* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:56:41 +00:00
Love Hörnquist Åstrand
2cc85f5d17 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:54:00 +00:00
Love Hörnquist Åstrand
5c338794d7 use unsigned char * to make sure its not negative when passing it to
is* functions


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:52:58 +00:00
Love Hörnquist Åstrand
542f17be74 (statcmd): cast argument to isdigit to unsigned char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:48:33 +00:00
Love Hörnquist Åstrand
bb46111aad (mget): cast char to unsigned char to make sure its not negative when
passing it to tolower


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-18 07:45:12 +00:00
Love Hörnquist Åstrand
a5206ed43b remove manpage macro, add some more references to manpages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 22:23:41 +00:00
Love Hörnquist Åstrand
ac3b52f7da define manpage macro
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 22:20:23 +00:00
Love Hörnquist Åstrand
21f95fd7d5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 16:40:17 +00:00
Love Hörnquist Åstrand
f6fd1c2537 document krb5_keyblock_init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 16:39:54 +00:00
Love Hörnquist Åstrand
99c49b8e69 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-15 13:12:47 +00:00
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