Commit Graph

5375 Commits

Author SHA1 Message Date
Johan Danielsson
90a6ce1725 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 17:16:27 +00:00
Johan Danielsson
9ff457f2fd we need to generate a local subkey here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11333 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 17:16:12 +00:00
Johan Danielsson
2e1f72ec6b generate a local subkey if AP_OPTS_USE_SUBKEY is set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11332 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 17:13:52 +00:00
Johan Danielsson
8b71b2c312 we don't have enough information about whether to generate a local
subkey here, so don't try to


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 17:12:45 +00:00
Johan Danielsson
6ec0900515 new function krb5_auth_con_generatelocalsubkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11330 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 17:11:02 +00:00
Johan Danielsson
34a237bf21 only set kdc_sec_offset if looking at an initial ticket
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11329 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 17:10:18 +00:00
Johan Danielsson
efd5e9c1a4 (init_context_from_config_file): simplify initialisation of srv_lookup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 17:03:12 +00:00
Johan Danielsson
12a60da9a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 15:37:28 +00:00
Johan Danielsson
1473f2521c (init_auth): set AP_OPTS_USE_SUBKEY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 15:37:16 +00:00
Johan Danielsson
375526d7de (send_request): set AP_OPTS_USE_SUBKEY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11325 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 15:34:35 +00:00
Johan Danielsson
6d5b2af358 add AP_OPTS_USE_SUBKEY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 15:19:15 +00:00
Johan Danielsson
b0caab605a spelling (from Adrian Mrva)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-02 12:42:00 +00:00
Assar Westerlund
237df05e6c also test krb5_524_conv_principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-31 03:33:07 +00:00
Assar Westerlund
33ab912948 (TESTS): add name-45-test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-31 03:12:11 +00:00
Assar Westerlund
1abaea1a35 add testcases for krb5_425_conv_principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-31 03:11:52 +00:00
Assar Westerlund
0bab980d00 fix initializer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-30 03:20:11 +00:00
Assar Westerlund
0690340f53 also test _short functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-30 02:31:39 +00:00
Assar Westerlund
4673402bf9 use com_err/error_message API
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-29 20:45:35 +00:00
Assar Westerlund
e8056249b4 add parse-name-test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-29 04:02:24 +00:00
Assar Westerlund
fff7350902 add a program for testing parsing and unparsing principal names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-29 04:00:55 +00:00
Assar Westerlund
aca3e31c17 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 22:58:00 +00:00
Assar Westerlund
93a9c8d495 (make_print_version_LDADD): do not hardcode -ldes, use $(LIB_des)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 22:57:42 +00:00
Johan Danielsson
9c8c5455dd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:07:30 +00:00
Johan Danielsson
65864e2302 (dns_srv_order): do alignment tricks with the random() state (from NetBSD)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:07:24 +00:00
Johan Danielsson
d538ad6784 move around sections (from NetBSD)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 20:04:31 +00:00
Johan Danielsson
028ec6ea82 move NeXT SGTTY stuff here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 16:45:58 +00:00
Jacques A. Vidrine
969a8f5cf8 Document dns_lookup_srv, dns_lookup_realm, and the special token
`dns_locate' in the [domain_realms] section.
Drop documentation for `srv_lookup'.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 15:33:59 +00:00
Johan Danielsson
c638984e5d add LIBRARY section (partly from NetBSD)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 15:30:59 +00:00
Johan Danielsson
b59dafe5ca add some disabled code to bail out if there is no parable config file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 15:27:24 +00:00
Jacques A. Vidrine
d07685c5a6 Add dns_lookup_kdc, dns_lookup_realm, dns_lookup_realm_labels
checks.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 15:27:19 +00:00
Jacques A. Vidrine
3b58aa8030 krb4_get_tickets goes in appdefaults (for kinit), not libdefaults
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 15:17:34 +00:00
Johan Danielsson
61e743ecc8 use full month name, and add LIBRARY section
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 14:46:20 +00:00
Jacques A. Vidrine
e8a466e5d8 = Add a knob `dns_lookup_realm' to control global use of dns-locate for
domain to realm mappings.

= Add a special token (`dns_locate') to control use of dns-locate
  on a domain-by-domain basis in the [domain_realms] section.

= Add a knob `dns_lookup_realm_labels' to specify which labels
  to use with dns-locate.  The default is to use only `_kerberos'.
  Set to `dns_lookup_realm_labels = krb5-realm _kerberos' for
  compatibility with previous releases.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 13:36:57 +00:00
Jacques A. Vidrine
1d68b59387 Rename the srv_lookup' option to dns_lookup_kdc'.
`srv_lookup' can still be specified for backwards compatibility.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 13:36:47 +00:00
Assar Westerlund
473718f2d9 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-27 20:07:23 +00:00
Assar Westerlund
d6a7b8a83e (parse_reply): verify the lengths (both external and internal) are
consistent and not too long
(dns_lookup_int): be conservative in the length sent in to to
parse_reply


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-27 20:07:02 +00:00
Assar Westerlund
ace97827a5 add missing semicolon
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 21:43:38 +00:00
Assar Westerlund
ac32847555 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:33:43 +00:00
Assar Westerlund
7613548436 (krb5_425_conv_principal_ext): lookup AAAA rrs before A ones when
using the resolver to verify a mapping, also use getaddrinfo when
resolver is not available


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:31:40 +00:00
Assar Westerlund
16380081d3 add prototypes for str, unvis functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:30:42 +00:00
Assar Westerlund
b61d95fffc add fallback definition for T_AAAA
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:30:16 +00:00
Assar Westerlund
7b9c9dcd4f (receive_everything): type-correctness calling _krb5_get_int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:29:37 +00:00
Assar Westerlund
0cf44e300e (find_db_spec): const-correctness in parameters to krb5_config_get_next
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:28:36 +00:00
Assar Westerlund
46cc72d9f5 (find_db): const-correctness in parameters to krb5_config_get_next
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:28:11 +00:00
Assar Westerlund
321d14c2e5 include <string.h> in the generated files (for memset)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-26 13:27:20 +00:00
Assar Westerlund
f5c091c294 make it use getarg so that it can handle --help and --version (and
thus make check can pass)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-23 03:43:18 +00:00
Assar Westerlund
16b8fc5b01 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-23 03:19:38 +00:00
Assar Westerlund
1778731bc7 make it use getarg so that it can handle --help and --version (and
thus make check can pass)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-23 03:19:21 +00:00
Assar Westerlund
d58e378f3a make this build again
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-23 03:17:34 +00:00
Assar Westerlund
3284bae206 (der_get_int): handle len == 0. based on a patch from Love
<lha@stacken.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-22 19:11:07 +00:00