Commit Graph

15618 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
5bf49e3df3 Don't install krb5.moduli for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-09 09:33:13 +00:00
Love Hörnquist Åstrand
66baee8800 (_krb5_krbhost_info_move): new function
(_krb5_free_krbhst_info): expose to internal use


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:40:50 +00:00
Love Hörnquist Åstrand
740f6b5deb add Q for group 14
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:39:42 +00:00
Love Hörnquist Åstrand
57bcc0c4e3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:35:16 +00:00
Love Hörnquist Åstrand
ffa6f55bd4 Prepare to pass down a krb5_krbhst_info into the pre-auth mechs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:34:53 +00:00
Love Hörnquist Åstrand
6b484c39a5 Inline short functions, share more code, rename COMPAT_27 to
COMPAT_IETF, pass down a krb5_krbhst_info for verification of KDC
info, and general cleaning up.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 15:32:14 +00:00
Love Hörnquist Åstrand
be13646074 Remove pk-init-19 support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-08 08:49:40 +00:00
Love Hörnquist Åstrand
6f745de7ff HDB extensions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 13:13:37 +00:00
Love Hörnquist Åstrand
0f0b587308 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:20:27 +00:00
Love Hörnquist Åstrand
c3c4927a70 Install krb5.moduli in sysconfdir.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:20:11 +00:00
Love Hörnquist Åstrand
92c70eb57b Describe format.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:19:10 +00:00
Love Hörnquist Åstrand
d392e84793 moduli file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:17:49 +00:00
Love Hörnquist Åstrand
3c93988850 rename moduli file to SYSCONFDIR "/krb5.moduli"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 12:08:02 +00:00
Love Hörnquist Åstrand
2ba37a88dd Add forward declaration for krb5_dh_moduli.
Add define for MODULI_FILE.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 11:44:49 +00:00
Love Hörnquist Åstrand
f961f7f538 Fix comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 11:02:15 +00:00
Love Hörnquist Åstrand
1ef128fbff Removing PK-INIT-19 support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 11:00:05 +00:00
Love Hörnquist Åstrand
0915d6890b (_krb5_dh_group_ok): return DH group name on success.
(krb5_get_init_creds_opt_set_pkinit): use moduli file if it exists


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 10:40:52 +00:00
Love Hörnquist Åstrand
b1fffa7079 Save DH group name and print it on success.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 10:40:00 +00:00
Love Hörnquist Åstrand
ff2f0da2df (_krb5_dh_group_ok): if q is zero, ignore it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:59:27 +00:00
Love Hörnquist Åstrand
776512783d Check dh group parameters from client.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:57:51 +00:00
Love Hörnquist Åstrand
0fa6eefd9f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:56:15 +00:00
Love Hörnquist Åstrand
fcc233ae04 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:55:50 +00:00
Love Hörnquist Åstrand
e3eff997f9 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:55:28 +00:00
Love Hörnquist Åstrand
b5c8c913bc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:54:59 +00:00
Love Hörnquist Åstrand
a705696f64 Match error code with pk-init-27.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:53:50 +00:00
Love Hörnquist Åstrand
29bab5c5f9 Update error codes. Add name to group. Change return value of
_krb5_dh_group_ok.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 08:53:15 +00:00
Love Hörnquist Åstrand
71b2f65b0d Provide forward declartion of krb5_dh_moduli.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 06:27:14 +00:00
Love Hörnquist Åstrand
178e4c0087 Add support for reading a moduli-file for DH parameters.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 04:37:28 +00:00
Love Hörnquist Åstrand
7f2116e65f Add tests for parse and print functions for heim_integer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 03:49:57 +00:00
Love Hörnquist Åstrand
7c785284bd Add parse and print functions for heim_integer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-07 03:49:16 +00:00
Love Hörnquist Åstrand
5b3597703d Document --list-caches
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-06 19:59:16 +00:00
Love Hörnquist Åstrand
737b532df0 Change short flag of --list-caches to -l (-v is already used).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-06 19:56:38 +00:00
Love Hörnquist Åstrand
ce87d34e7c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-04 09:02:34 +00:00
Love Hörnquist Åstrand
1e22f60639 Validate that issuerAltName and subjectAltName isn't empty.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-04 08:59:54 +00:00
Love Hörnquist Åstrand
af4ec70bf2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-03 14:25:17 +00:00
Love Hörnquist Åstrand
c6df2af5e9 RFC 1510 was obsoleted by 4120.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-03 14:24:36 +00:00
Love Hörnquist Åstrand
1b5f2b7362 (init_ccapi): return kerberos errors, callers expect it
(acc_get_cache_first): don't leak memory or abort on malloc failure


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-03 08:44:18 +00:00
Love Hörnquist Åstrand
fcad6caa4c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-02 14:38:40 +00:00
Love Hörnquist Åstrand
183b07583a Update text about Kerberos RFC's.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-02 14:38:04 +00:00
Love Hörnquist Åstrand
addf150924 Mac OS X 10.4 needs a runtime check if we are going to use the
syscall, there is no cpp define to use to check the version.  Every
after 10.0 (darwin 8.0) uses the /dev/ version of the pioctl.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-02 03:17:06 +00:00
Love Hörnquist Åstrand
9cfdb7f017 Maybe include <sys/sysctl.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-02 03:14:47 +00:00
Love Hörnquist Åstrand
2a6e781bff x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 03:41:33 +00:00
Love Hörnquist Åstrand
cd2ce0c2a6 Add option --list-caches that lists the avaible caches and their status.
$ klist --list-caches
  Principal        Cache name               Status
lha@E.KTH.SE     2                        Valid
lha@SU.SE        1                        Expired
lha/root@SU.SE   0                        Expired
lha@N.L.NXS.SE   Initial default ccache   Expired


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 03:39:59 +00:00
Love Hörnquist Åstrand
02a6d6bf99 Return KRB5_CC_NOSUPP for ccErrServerUnavailable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 03:37:12 +00:00
Love Hörnquist Åstrand
a1ed69cd38 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 02:56:32 +00:00
Love Hörnquist Åstrand
c9f13ad9b3 Support the new MacOS X 10.4 ioctl interface that is a device
node. Patched from Tomas Olson <tol@it.su.se>.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-01 02:55:55 +00:00
Love Hörnquist Åstrand
5be5faa722 Use all DES keys, not just des-cbc-md5, verify that they all are the same.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 11:20:53 +00:00
Love Hörnquist Åstrand
5cfc8bd58c Implement the cache iteration functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 11:16:04 +00:00
Love Hörnquist Åstrand
5ddc2e0774 Implement the cache iteration functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 10:10:09 +00:00
Love Hörnquist Åstrand
5eb65a941e Test the new cache iteration functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-30 10:08:01 +00:00