Commit Graph

14460 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
f9ca795602 Add new keytab file format JAVA14 that doesn't the use extended kvnos,
as hinted, this is needed for Java's Kerberos implementation.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-16 21:13:42 +00:00
Love Hörnquist Åstrand
74a611d0fb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-16 16:45:07 +00:00
Love Hörnquist Åstrand
c745decaa9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-16 08:54:09 +00:00
Love Hörnquist Åstrand
00bd45ed01 check allocation errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-16 08:53:34 +00:00
Love Hörnquist Åstrand
10c8d0da80 check allocation errors correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-16 08:52:54 +00:00
Love Hörnquist Åstrand
e4e9f2151f catch buffer overrun and check allocation errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-16 08:52:36 +00:00
Love Hörnquist Åstrand
ebbd19bcac include <err.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-16 08:51:47 +00:00
Love Hörnquist Åstrand
877fe34c1b use strlcpy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-16 08:42:45 +00:00
Johan Danielsson
8e639e2e4e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 14:21:03 +00:00
Johan Danielsson
40b1dab5bd (start_login): set encryption pointers to NULL, so we don't try to do
either


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 14:20:38 +00:00
Love Hörnquist Åstrand
07dc909772 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 10:57:31 +00:00
Love Hörnquist Åstrand
f07d4690f6 (_kadm5_c_init_context): fix memory leak in case of failure
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 10:57:13 +00:00
Love Hörnquist Åstrand
b21b5c89b5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 08:05:21 +00:00
Love Hörnquist Åstrand
c2d9c8331b use unsigned char to avoid signess warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 08:04:51 +00:00
Love Hörnquist Åstrand
136b3dc3cd (AES_cbc_encrypt): use unsigned char to avoid signess warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 08:00:09 +00:00
Love Hörnquist Åstrand
834a97a1df x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 07:42:19 +00:00
Love Hörnquist Åstrand
2b2439af68 (issuid): change the #ifdef order to avoid unreachable code warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-13 07:42:03 +00:00
Love Hörnquist Åstrand
570ef02561 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 13:04:23 +00:00
Love Hörnquist Åstrand
052dd71f3d Get daemon declared on Solaris (it's in unistd.h but masked by a
feature test), just to avoid a warning, since it has int args.
Include err.h unconditionally, since it's always supplied.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 13:04:04 +00:00
Love Hörnquist Åstrand
93a6e79201 Get daemon declared on Solaris (it's in unistd.h but masked by a
feature test), just to avoid a warning, since it has int args.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 13:00:45 +00:00
Love Hörnquist Åstrand
2a0c793a1b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 11:25:29 +00:00
Love Hörnquist Åstrand
645647cbaa AC_CHECK_DECL and AC_CHECK_DECLS have a subtile diffrence, the later
defines HAVE_ cpp symbols, the first doesn't.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 11:25:19 +00:00
Love Hörnquist Åstrand
bae5bd65ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 11:05:56 +00:00
Love Hörnquist Åstrand
1cbf9cd859 undef ISASCII before we define our own (problem on Irix)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 11:05:43 +00:00
Love Hörnquist Åstrand
60ed51e6da MODEMASK is defined in sys/vnode.h on Solaris, so undef it before we
define our own.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 11:04:30 +00:00
Love Hörnquist Åstrand
8151b90b67 #ifdef protect _PATH_ISSUE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 11:02:42 +00:00
Love Hörnquist Åstrand
8429cf6bbb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 07:35:37 +00:00
Love Hörnquist Åstrand
958160a533 Include <crypt.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-11 07:35:04 +00:00
Love Hörnquist Åstrand
c4ec6e6212 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 22:20:55 +00:00
Love Hörnquist Åstrand
31aba91bb4 Include <stdlib.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 22:19:01 +00:00
Love Hörnquist Åstrand
6c0f2bf549 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 19:41:31 +00:00
Love Hörnquist Åstrand
a3c6124483 handle pkinit-9, pkinit-19, and pkinit-25 enckey, still no DH
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 19:40:39 +00:00
Love Hörnquist Åstrand
2c65e2f431 (as_rep): search for pkinit-9, pkinit-19, and pkinit-25 pa-data,
return empty pkinit pa-data in the PREAUTH_REQUIRED krb-error


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 19:37:44 +00:00
Love Hörnquist Åstrand
bdd471607e add pkinit people
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 19:34:57 +00:00
Love Hörnquist Åstrand
5638ec9d75 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 10:47:30 +00:00
Love Hörnquist Åstrand
4aaf4dd6bd document krb5_storage_is_flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 10:46:46 +00:00
Love Hörnquist Åstrand
cc22cac7ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 09:24:19 +00:00
Love Hörnquist Åstrand
9aa1875790 make more pretty, from Björn Sandell
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-10 09:21:06 +00:00
Love Hörnquist Åstrand
9bc8053455 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 19:36:59 +00:00
Love Hörnquist Åstrand
b1624b36a0 Fix and clarify password quality check examples.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 19:35:51 +00:00
Love Hörnquist Åstrand
84e8f91f02 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 19:19:52 +00:00
Love Hörnquist Åstrand
bf00a76951 (find_func): Fix off-by-one and logic error.
(external_passwd_quality): Improve messages.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 19:17:34 +00:00
Love Hörnquist Åstrand
ccf7a3a123 (main): Call kadm5_setup_passwd_quality_check and
kadm5_add_passwd_quality_verifier.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 19:13:29 +00:00
Love Hörnquist Åstrand
992bbb26cc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 15:42:17 +00:00
Love Hörnquist Åstrand
23f6210e8f (krb5_kuserok): use POSIX_GETPWNAM_R instead of HAVE_GETPWNAM_R
From: Dave Love <d.love@dl.ac.uk>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 15:41:45 +00:00
Love Hörnquist Åstrand
fdfd23912b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 15:35:47 +00:00
Love Hörnquist Åstrand
2c5228c78d (main): catch -2 as EOF
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 15:35:22 +00:00
Love Hörnquist Åstrand
1977d8cc33 (sl_command_loop): new return code -2 for EOF
(sl_loop): treat all return value from sl_command_loop >= 0 as ok, and
continue.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-09 15:31:43 +00:00
Love Hörnquist Åstrand
4af1037b64 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-07 07:52:23 +00:00
Love Hörnquist Åstrand
db171a26fd (krb5_print_address): catch when the custom print v6-adresss don't fit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-07 07:50:24 +00:00