Commit Graph

649 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
8998f51418 spelling, from jmc <jmc@prioris.mini.pw.edu.pl>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-02-04 21:48:01 +00:00
Love Hörnquist Åstrand
34cbf40caa s/databases/a database/
s/Not/not/


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-31 22:25:09 +00:00
Love Hörnquist Åstrand
a9aa4b4eaf add missing .
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-31 22:15:24 +00:00
Love Hörnquist Åstrand
1f0aaff6f6 (encode_524_response): its 2b not b2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 14:59:21 +00:00
Love Hörnquist Åstrand
2d078d467a always include kerberos4.c and 524.c in kdc_SOURCES to support 524
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:47:06 +00:00
Love Hörnquist Åstrand
ec1a8d0763 always compile in support for 524
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:45:11 +00:00
Love Hörnquist Åstrand
ccdf3df70e move out krb/524 protos from under #ifdef KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:44:38 +00:00
Love Hörnquist Åstrand
146162e8c5 export encode_v4_ticket() and get_des_key() even when we build without
kerberos 4, 524 needs them


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:36:34 +00:00
Johan Danielsson
a2434c987d remove old encrypt_v4_ticket prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-08 18:27:40 +00:00
Johan Danielsson
bcfd1e0ca0 (init_socket): initialise sa_size to size of sockaddr_storage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-02 14:31:01 +00:00
Johan Danielsson
669fa4d24c implement crude b2 style (non-)conversion for use with afs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-07 10:07:55 +00:00
Johan Danielsson
fa0524600b move encrypt_v4_ticket to 524.c, since that's where it's used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-07 10:05:23 +00:00
Johan Danielsson
6dc8410423 check that %-quotes are followed by two hex digits
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 15:12:59 +00:00
Johan Danielsson
73f54b2e7f make sure life is positive (from John Godehn)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-21 12:59:41 +00:00
Johan Danielsson
69cc215e6f don't need des.h here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 20:04:46 +00:00
Jacques A. Vidrine
3d7ec07178 We need <limits.h> now for UINT_MAX.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 14:16:55 +00:00
Jacques A. Vidrine
9849899e7f Validate some counts that may be received from the network:
Check that they are non-negative, and that they are small enough to
avoid integer overflow when used in memory allocation calculations.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 14:03:03 +00:00
Assar Westerlund
73aa6bce70 (encode_reply): correct error logging
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-05 02:55:01 +00:00
Johan Danielsson
9dbccbeb68 use ASN1_MALLOC_ENCODE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-04 18:42:22 +00:00
Johan Danielsson
03b00835b5 set AP_OPTS_USE_SUBKEY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-04 18:19:41 +00:00
Assar Westerlund
68a70a156f add missing ifdef DAEMON
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-29 01:51:07 +00:00
Johan Danielsson
b94f52a528 invert detach flag meaning to lessen the confusion
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 21:27:16 +00:00
Johan Danielsson
d8d14738e2 add detach options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 21:26:43 +00:00
Johan Danielsson
71d5ee0ce2 maybe detach from console?
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 21:12:03 +00:00
Johan Danielsson
d272c5c219 markup changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 21:09:05 +00:00
Johan Danielsson
f781cef162 add blurb about adding and removing addresses; update kdc.conf section
to match reality


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-22 09:55:00 +00:00
Johan Danielsson
2c147bd837 more ws
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:18:38 +00:00
Johan Danielsson
879fc6b8bc more, mostly whitespace, fixes from Thomas Klasusner
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:07:29 +00:00
Johan Danielsson
747a00df69 remove Ns before comma (from Thomas Klausner)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 16:37:20 +00:00
Johan Danielsson
8ef0cefbd8 update protos
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-19 12:18:07 +00:00
Johan Danielsson
b0ef62525d (kdc_openlog): no need for a config_file parameter
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-19 12:17:49 +00:00
Johan Danielsson
cd299be4f8 just treat kdc.conf like any other config file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-19 12:16:59 +00:00
Johan Danielsson
62bff3a986 (addr_to_string): check return value of sockaddr2address
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-12 13:29:48 +00:00
Johan Danielsson
47b7f07d33 ENOENT -> HDB_ERR_NOENTRY (from Derrick Brashear)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-07-31 09:43:20 +00:00
Johan Danielsson
56967035b9 add some cache-control-foo to the http responses (from Gombas Gabor)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11056 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-07-04 14:53:11 +00:00
Johan Danielsson
a3ff467dc7 don't free encrypted padata until we're really done with it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-15 14:24:17 +00:00
Johan Danielsson
f446478772 when decrypting pa-data, try all keys matching enctype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-07 10:27:35 +00:00
Johan Danielsson
f5c1154132 storage tweaks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 16:08:24 +00:00
Johan Danielsson
7b3d5dbb6e (get_pa_etype_info): sort ETYPE-INFOs by requested KDC-REQ etypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 10:24:49 +00:00
Johan Danielsson
fc4f2a6921 constify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 10:18:50 +00:00
Johan Danielsson
d1927c345d make port_str const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 10:17:49 +00:00
Johan Danielsson
e165bc3f98 constify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-04-18 09:47:25 +00:00
Johan Danielsson
e93c997617 (find_etype): unsigned -> krb5_enctype (from Reinoud Zandijk)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-22 12:12:44 +00:00
Assar Westerlund
c672a244ba make the kvno's in the krb4 universe by the real one % 256, since they
cannot only be 8 bit, and the v5 ones are actually 32 bits


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-03-10 23:05:57 +00:00
Johan Danielsson
c2cde6766e (get_dbinfo): if there are database specifications in the config file,
don't automatically try to use the default values (from Gombas Gabor)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-02-04 10:53:48 +00:00
Assar Westerlund
1633b94ab9 mdoc fixes (refer correctly to programs). from Ruslan Ermilov <ru@FreeBSD.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-24 15:30:49 +00:00
Assar Westerlund
9f1c66fe5f use krb5_enctype consistently. From Ben Harris <bjh21@netbsd.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-01-06 23:10:06 +00:00
Assar Westerlund
c597d7cb0f printf size_t correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-23 05:13:17 +00:00
Assar Westerlund
a72c878c4f (valid_princ): use TRUE/FALSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-20 09:34:42 +00:00
Johan Danielsson
2499b84bc7 add realm override option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-09-18 09:54:15 +00:00