Commit Graph

5753 Commits

Author SHA1 Message Date
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
Johan Danielsson
6274df487f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-22 16:23:46 +00:00
Johan Danielsson
ddaa2ea7d1 we may need a prototype for strndup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-22 16:16:25 +00:00
Johan Danielsson
b47783e83f we seem to call KRB5KDC_ERR_KEY_EXP KRB5KDC_ERR_KEY_EXPIRED, so define
the former to the latter


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-22 10:06:20 +00:00
Assar Westerlund
ad3f648c61 print OIDs too, based on a patch from Love <lha@stacken.kth.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-21 23:55:21 +00:00
Assar Westerlund
9d521d4e04 add dependencies from the generated source files to the header files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-21 16:58:58 +00:00
Johan Danielsson
1eedc8c8b0 more krb5_ssize_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-21 12:21:57 +00:00
Johan Danielsson
ce3e17ec51 move ssize_t before roken-common.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-21 09:42:55 +00:00
Johan Danielsson
d62c06839a ssize_t -> krb5_ssize_t
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-21 09:08:07 +00:00
Johan Danielsson
eaa06fee02 typedef ssize_t here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 17:34:29 +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
86ae7dc7d0 don't put Ns before comma
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 16:23:07 +00:00
Johan Danielsson
090742662a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 15:53:02 +00:00
Johan Danielsson
5d1e7df512 _res might not be available
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 15:52:57 +00:00
Johan Danielsson
8b18192879 correct documentation for verify_ap_req_nofail
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 14:53:03 +00:00
Johan Danielsson
7973bfd426 hmm, back out previous, since it was correct after all
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 14:48:31 +00:00
Johan Danielsson
9ee5424d97 include stdio.h and roken.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 13:00:35 +00:00
Johan Danielsson
4862da5c6b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 12:47:53 +00:00
Johan Danielsson
76ab32b3d0 don't add comma after last enum member
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 12:44:51 +00:00
Johan Danielsson
91141a8897 only use altzone if we have it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 12:42:37 +00:00
Jacques A. Vidrine
fed304b01c RFC 2743 says (regarding gss_acquire_cred),
``A caller may provide the value NULL (GSS_C_NO_NAME) for
  desired_name, which will be interpreted as a request for a
  credential handle that will invoke default behavior when passed
  to GSS_Init_sec_context(), if cred_usage is GSS_C_INITIATE
  or GSS_C_BOTH, or GSS_Accept_sec_context(), if cred_usage is
  GSS_C_ACCEPT or GSS_C_BOTH.''


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 12:02:45 +00:00
Johan Danielsson
e703d7229f AI_NUMERICHOST needs special handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 11:55:04 +00:00
Johan Danielsson
a6419d60fa (fail_verify_is_ok): correct inverted return value
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-20 11:31:01 +00:00