Commit Graph

17633 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 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
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 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 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 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 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 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 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 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 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
Love Hörnquist Åstrand 9496989cb7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-06 07:14:31 +00:00
Love Hörnquist Åstrand 1e4eaef45d (_gssapi_wrap_arcfour): fix calculating the encap length
Tom Maher <tmaher@eecs.berkeley.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-06 07:13:32 +00:00
Love Hörnquist Åstrand 61517aa5f0 man_MANS += iprop.8
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-05 19:51:37 +00:00
Love Hörnquist Åstrand 71aaf53616 add manpage for ipropd-master and ipropd-slave
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-05 19:48:29 +00:00
Love Hörnquist Åstrand 32ad0c150f spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-05 14:07:48 +00:00
Love Hörnquist Åstrand 1ef7caec57 expand on what "trailing component" means
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 12:44:34 +00:00
Johan Danielsson 82fa25b5c4 put address comparison in separate function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 12:25:04 +00:00
Johan Danielsson 67b2fd15f7 check the user's ~/.k5login.d directory for access files, all of which
is handled like the regular ~/.k5login


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 12:11:22 +00:00
Love Hörnquist Åstrand e419ac333a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 11:57:11 +00:00
Love Hörnquist Åstrand 30c7adf3d3 Include snprintf-test.h earlier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15081 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 11:56:56 +00:00
Love Hörnquist Åstrand 934265babf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 09:47:19 +00:00
Love Hörnquist Åstrand 320c1146ba Fix typo for HAVE_STDLIB_H.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15079 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-04 09:47:00 +00:00
Love Hörnquist Åstrand 8569adb182 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 17:03:31 +00:00
Love Hörnquist Åstrand 614d774dc6 Enabled to build on cygwin, based on patch from David Love <fx@gnu.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 17:02:23 +00:00
Love Hörnquist Åstrand d0993b3ed9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:52:42 +00:00
Love Hörnquist Åstrand f5eaee70f2 Include snprintf-test.h earlier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 16:49:34 +00:00
Love Hörnquist Åstrand 22c95cf623 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 10:55:56 +00:00
Love Hörnquist Åstrand e4e152ebe7 Add member fd to map.
(rk_test_mem_alloc, rk_test_mem_free): Use it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 10:53:10 +00:00
Love Hörnquist Åstrand 1b4b266006 (krb5_ui_method_read_string): use the fill in length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 21:01:33 +00:00
Love Hörnquist Åstrand 9f219c721d Now that we fixed the signed-ness of nonce for windows, remove the
code that removed the signed bit. Instead add comment that they still
need to be the same (Kerberos protocol nonce and pk-init nonce) for Windows.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:52:57 +00:00
Love Hörnquist Åstrand 9b38bf74d1 Don't declare des_salt &c as static with incomplete type (invalid in
c89, at least).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15053 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:11:59 +00:00
Love Hörnquist Åstrand 6985bebfc1 include <crypt.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15052 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 14:08:35 +00:00