-Tue May 2 20:51:14 1995 Mark Eichin <eichin@cygnus.com>
-
- * get_krbhst.c (krb5_get_krbhst): look in KRB5_ENV_KDC
- (KERBEROS_SERVER) for a REALM:SERVER string. This overrides
- anything else for that realm and is intended for un-installed
- client use, testsuite use, and diagnostic use.
-
Mon May 1 17:05:21 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* init_os_ctx.c (krb5_set_config_files): Added required const to
* case.
*/
- cp = getenv(KRB5_ENV_KDC);
- /* Format is REALM:SERVER */
- if (cp != NULL
- && strncmp (realm->data, cp, realm->length) == 0
- && cp[realm->length] == ':') {
- rethlist = (char **)calloc(2, sizeof (*rethlist));
- if (rethlist == NULL)
- return ENOMEM;
- rethlist[0] = strdup(cp + realm->length + 1);
- if (rethlist[0] == NULL) {
- krb5_xfree(rethlist);
- return ENOMEM;
- }
- rethlist[1] = NULL;
- *hostlist = rethlist;
- return 0;
- }
-
krb5_find_config_files();
if (!(config_file = fopen(krb5_config_file, "r")))
/* can't open */