Commit Graph

16478 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand f591c22c1f Now that find_keys speaks for it self, remove extra logging.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:27:25 +00:00
Love Hörnquist Åstrand f9d85a2590 (find_keys): add client_name and server_name argument and use them,
and adapt callers.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:22:57 +00:00
Love Hörnquist Åstrand 0c3cff7fec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:03:02 +00:00
Love Hörnquist Åstrand 56b18c1385 (hx509_verify_path): Need to mangle name to remove the CN of the
subject, copying issuer only works for one level but is better then
doing no checking at all.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:02:48 +00:00
Love Hörnquist Åstrand 05557b9ae9 Add verify --allow-proxy-certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 14:43:14 +00:00
Love Hörnquist Åstrand 5a3e4a1865 add verify --allow-proxy-certificate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 14:42:45 +00:00
Love Hörnquist Åstrand d82349fba1 Add proxy certificate errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 14:41:14 +00:00
Love Hörnquist Åstrand db9e1df818 Fix comment about subject name of proxy certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:49:27 +00:00
Love Hörnquist Åstrand cf3c9e7986 Make proxy certificate work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:35:20 +00:00
Love Hörnquist Åstrand e9a7ef8057 tests for proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:32:17 +00:00
Love Hörnquist Åstrand 104b2bda39 gen proxy and non-proxy tests certificates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:31:58 +00:00
Love Hörnquist Åstrand a52db0479d Add definition for proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:31:26 +00:00
Love Hörnquist Åstrand 0c10f202f4 proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:30:50 +00:00
Love Hörnquist Åstrand 1b98d3a6ff (hx509_verify_path): verify proxy certificate have no san or ian
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:36:49 +00:00
Love Hörnquist Åstrand 253352539c (hx509_verify_set_proxy_certificate): Add
(*): rename policy cert to proxy cert


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:21:20 +00:00
Love Hörnquist Åstrand 3d4b238a8b Initial support for policy certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:05:10 +00:00
Love Hörnquist Åstrand a487250048 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 08:03:10 +00:00
Love Hörnquist Åstrand e03eee6809 Add definitions from RFC 3820, Proxy Certificate Profile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 08:02:56 +00:00
Love Hörnquist Åstrand 9176358a8f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:24:13 +00:00
Love Hörnquist Åstrand 43c959fd1d document option password-file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:24:04 +00:00
Love Hörnquist Åstrand 594b3f5d86 Add option password-file, read password from the first line of a file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 21:21:23 +00:00
Love Hörnquist Åstrand a2380d5c14 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 16:20:55 +00:00
Love Hörnquist Åstrand 9632fbb0b3 ignore Makefile.in
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 16:17:49 +00:00
Love Hörnquist Åstrand 64f262a5d1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 16:15:55 +00:00
Love Hörnquist Åstrand 0571f5c745 Try to detect another KDC running.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 16:15:41 +00:00
Love Hörnquist Åstrand 30503ce62c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 16:11:50 +00:00
Love Hörnquist Åstrand fc2dc04d5c more tests regarding doing AS-REQ and TGS-REQ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 14:23:58 +00:00
Love Hörnquist Åstrand 31617a6385 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 13:04:36 +00:00
Love Hörnquist Åstrand 3586978011 krb5.conf template
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 13:04:15 +00:00
Love Hörnquist Åstrand d9e41b6d6b make tests/kdc/Makefile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 12:51:23 +00:00
Love Hörnquist Åstrand 6f6bb91306 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 12:49:22 +00:00
Love Hörnquist Åstrand d7014d06a9 check that the keytab have the right kvno
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 12:49:11 +00:00
Love Hörnquist Åstrand a680a138f2 (create_principal*): If client doesnt send kvno, make sure to set it to 1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 12:38:45 +00:00
Love Hörnquist Åstrand 2edcff9efa Catch the case where the client sends no encryption types or no pa-types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 12:23:04 +00:00
Love Hörnquist Åstrand 96eaf2075c create a server too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 10:53:48 +00:00
Love Hörnquist Åstrand 5530c158df check kdc too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 10:50:40 +00:00
Love Hörnquist Åstrand 1a4ace0238 Add add-modify-delete
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 10:30:41 +00:00
Love Hörnquist Åstrand 6ab72dde33 basic kadmin tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 10:30:10 +00:00
Love Hörnquist Åstrand a6b897ef0d (hdb_replace_extension): set error message on failure, not success.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 10:20:22 +00:00
Love Hörnquist Åstrand 1c567ba114 SUBDIR += kdc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 08:58:53 +00:00
Love Hörnquist Åstrand 97a3f9b3ca x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 08:58:35 +00:00
Love Hörnquist Åstrand e8ee222d4e Test framework for getting and checking tickets, start kdc on localhost:8888.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 08:58:19 +00:00
Love Hörnquist Åstrand 45d5ba491f Test framework for getting and checking tickets.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 08:57:47 +00:00
Love Hörnquist Åstrand 36dfd3e386 log all message to localhost
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 08:14:51 +00:00
Love Hörnquist Åstrand 74b4df65c7 clean messages file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17221 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 08:14:27 +00:00
Love Hörnquist Åstrand 520d13e506 (parse_key_set): handle error case better
(hdb_generate_key_set): return better error


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 08:09:38 +00:00
Love Hörnquist Åstrand f5d20ae666 (hdb_create): print out what we don't support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 20:57:58 +00:00
Love Hörnquist Åstrand c00bcb52eb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 20:30:06 +00:00
Love Hörnquist Åstrand 54f16d4f4c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:23:48 +00:00
Love Hörnquist Åstrand 1a4fa0bb22 include <krb5-types.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:23:38 +00:00