Commit Graph

16635 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
385c718ea1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 12:38:59 +00:00
Love Hörnquist Åstrand
d4c22d7bf8 Build as-req.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 12:38:29 +00:00
Love Hörnquist Åstrand
0c6b815385 Sprinkel some as-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 12:38:03 +00:00
Love Hörnquist Åstrand
506b246491 simple test program checking that as ap-req/as-rep exchange works
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 12:37:09 +00:00
Love Hörnquist Åstrand
2497e2d799 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 12:01:32 +00:00
Love Hörnquist Åstrand
76ee5cb311 (tgs_rep2): check that the client exists in the kerberos database if
its local request.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 12:01:09 +00:00
Love Hörnquist Åstrand
5c9982831b pass down HDB_F_GET_ flags as appropriate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:33:21 +00:00
Love Hörnquist Åstrand
357ca89f2d (_kdc_db_fetch4): pass down flags though krb5_425_conv_principal_ext2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:32:13 +00:00
Love Hörnquist Åstrand
2a5d097734 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:19:53 +00:00
Love Hörnquist Åstrand
eea5f34855 Pass in HDB_F_GET_ANY to all ->hdb fetch to hint what entries we are looking for
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:18:52 +00:00
Love Hörnquist Åstrand
06660d5790 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:10:51 +00:00
Love Hörnquist Åstrand
988af20ec2 set and clear error string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:10:07 +00:00
Love Hörnquist Åstrand
5f22b44baa Break out the that we request from principal from the entry and pass
it in as a separate argument.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:09:30 +00:00
Love Hörnquist Åstrand
e4adaa6783 Break out the that we request from principal from the entry and pass
it in as a seprate argument.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:06:57 +00:00
Love Hörnquist Åstrand
83d3254750 (_kdc_db_fetch): Break out the that we request from principal from the
entry and pass it in as a seprate argument.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:05:25 +00:00
Love Hörnquist Åstrand
d176572cbc (hdb_get_entry): Break out the that we request from principal from the
entry and pass it in as a seprate argument.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:01:30 +00:00
Love Hörnquist Åstrand
becd133799 Break out the that we request from principal from the entry and pass
it in as a seprate argument.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 11:00:29 +00:00
Love Hörnquist Åstrand
47d79a7568 Break out the that we request from principal from the entry and pass
it in as a seprate argument. Add more flags to ->hdb_get(). Re-indent.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 10:59:32 +00:00
Love Hörnquist Åstrand
4170a1fe6e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 09:18:09 +00:00
Love Hörnquist Åstrand
390feff0cb rshd_SOURCES += add limits_conf.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 09:17:54 +00:00
Love Hörnquist Åstrand
b927ccbbf1 Include "loginpaths.h"
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 09:17:01 +00:00
Love Hörnquist Åstrand
94731a9251 Read limits from limits.conf, patch from Daniel Ahlin on non-root login.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 09:16:11 +00:00
Love Hörnquist Åstrand
97d0c9dd3c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 09:15:05 +00:00
Love Hörnquist Åstrand
7f951c53d0 Shared paths between login and rshd.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 09:14:20 +00:00
Love Hörnquist Åstrand
9f74e254e8 CRL delta support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-27 08:01:04 +00:00
Love Hörnquist Åstrand
bbe32e832c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:11:13 +00:00
Love Hörnquist Åstrand
f9889e9eab ignore leftover from OpenSSL generation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:10:14 +00:00
Love Hörnquist Åstrand
01da7f3a0c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:09:34 +00:00
Love Hörnquist Åstrand
5a305af6a1 Add name malformated error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:09:02 +00:00
Love Hörnquist Åstrand
1047c39f0d (hx509_parse_name): don't abort on error, rather return error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:08:36 +00:00
Love Hörnquist Åstrand
378ecba935 Test failure parsing name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 20:07:48 +00:00
Love Hörnquist Åstrand
25f574426e (_krb5_pk_allow_proxy_certificate); less arguments better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:54:16 +00:00
Love Hörnquist Åstrand
61be59e8c7 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:53:52 +00:00
Love Hörnquist Åstrand
2e299e21c3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:44:01 +00:00
Love Hörnquist Åstrand
b4cb62bc99 document pki-allow-proxy-certificate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:43:45 +00:00
Love Hörnquist Åstrand
459f0648f1 Add option [kdc]pki-allow-proxy-certificate=bool to allow using proxy certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:42:48 +00:00
Love Hörnquist Åstrand
53905171a0 (_krb5_pk_allow_proxy_certificates): expose hx509_verify_set_proxy_certificate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:41:40 +00:00
Love Hörnquist Åstrand
d7bc1efbc8 (_kdc_pk_check_client): Use hx509_cert_get_base_subject to get subject
name of the certificate, needed for proxy certificates.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:36:22 +00:00
Love Hörnquist Åstrand
c7b6f93485 When verifying certificates, store subject basename for later consumption.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 18:33:55 +00:00
Love Hörnquist Åstrand
4035c1117d regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:18:11 +00:00
Love Hörnquist Åstrand
dcbc344ca5 Add test_name to regression tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:17:33 +00:00
Love Hörnquist Åstrand
3a3a774e1e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:16:52 +00:00
Love Hörnquist Åstrand
0117efb5aa test to parse and print name and check that they are the same.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:16:44 +00:00
Love Hörnquist Åstrand
d9f7944c9b (hx509_parse_name): fix length argument to printf string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:15:57 +00:00
Love Hörnquist Åstrand
fe9bb14be8 (hx509_parse_name): fix length argument to stringtooid, 1 too short.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 17:12:36 +00:00
Love Hörnquist Åstrand
70552d3ed2 remove debug printf's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:59:52 +00:00
Love Hörnquist Åstrand
e944135b02 (hx509_parse_name): make compile pre c99
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:56:26 +00:00
Love Hörnquist Åstrand
b55c0fbc9c OpenSSL have a serious issue of user confusion -subj in -ca takes the
arguments in LDAP order. -subj for x509 takes it in x509 order.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:49:23 +00:00
Love Hörnquist Åstrand
b1139e02d0 (hx509_verify_path): handle the case where the where two proxy certs
in a chain.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:47:45 +00:00
Love Hörnquist Åstrand
5cf4bf36f0 enable two proxy certificates in a chain test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:45:01 +00:00