Wed Nov 13 02:53:31 1996  Tom Yu  <tlyu@mit.edu>

	* osconfig.c: Add warning re: global variables.

	* ktdefname.c, osconfig.c: Revert previous kt_default_name
	changes.

	* ktdefname.c (krb5_kt_default_name): Fix a few memory-leak type
	problems in previous changes.

Tue Nov 12 22:07:55 1996  Tom Yu  <tlyu@mit.edu>

	* osconfig.c: Remove krb5_defkeyname to catch other things that
	may break.

	* ktdefname.c (krb5_kt_default_name): Change logic to no longer
	use a global variable; also add krb5_kt_set_default_name() to
	allow for the changing of the default keytab name in the context.

Wed Nov  6 16:24:56 1996  Theodore Y. Ts'o  <tytso@mit.edu>

	* init_os_ctx.c (os_init_paths): Don't ignore errors found from
		parsing the config file.  Currently, we return an error if
		the profile isn't found.  In the future we can maybe do
		something better with intelligent defaulting if krb5.conf
		doesn't exist, but we don't have this today.

Thu Aug 22 15:19:47 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* an_to_ln.c (db_an_to_ln): Remove references to dead BERK_DB_DBM
	 	code.

Tue Jul 30 19:15:55 1996  Sam Hartman  <hartmans@tertius.mit.edu>

	* Makefile.in (check-unix): Comment out an_2_ln tests that use
        database.

	* an_to_ln.c (krb5_aname_to_localname): Make the db lookup verison
        of aname_2_localname optional.

Sun Jul 28 22:39:12 1996  Tom Yu  <tlyu@mit.edu>

	* an_to_ln.c (aname_do_match): #elif HAVE_REGEXP_H should have
		been HAVE_REGEXPR_H

Fri Jul 26 15:58:32 1996  Marc Horowitz  <marc@mit.edu>

	* configure.in, an_to_ln.c (do_replacement, aname_do_match): use
 	the compile() function in -lgen on solaris.  Check for the
 	relevant stuff at configure-time

Fri Jul 12 21:38:15 1996  Marc Horowitz  <marc@mit.edu>

	* ktdefname.c (krb5_kt_default_name): allow the default keytab name
	to be specified in the config file.

Wed Jun 12 01:12:32 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* net_read.c (krb5_net_read):
	* net_write.c (krb5_net_write): In case of an error, on Windows
		machines, set errno from SOCKET_ERRNO, since the interface
		assumes the error is passed back the errno global
		varaible.  This really needs to be fixed sometime...

	* read_msg.c: If ECONNABORTED is not defined, try using the
		Winsock version of the error code (WSAECONNABORTED).

Mon Jun 10 21:48:45 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>

	* read_pwd.c:
	* promptusr.c:
	* lock_file.c:
	* kuserok.c:
	* ktdefname.c (krb5_kt_default_name): 
	* init_os_ctx.c (os_init_paths): 
	* ccdefname.c: 
	* an_to_ln.c (db_an_to_ln): Change _WINDOWS to _MSDOS, and add
	 	check for _WIN32.

Thu Apr 18 16:24:44 1996  Theodore Y. Ts'o  <tytso@mit.edu>

	* macsock.c (getsockname, getpeername): Correctly implement
 		getsockname(), so it does getsockname(), not
 		getpeername(), and add the function getpeername().

Sat May 11 10:08:15 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* configure.in: Need to include sys/types.h before regexp.h in
		test to see if regcomp works.
		Add V5_USE_SHARED_LIB for the tests that are built.

Tue Apr 30 17:51:47 1996  Ken Raeburn  <raeburn@cygnus.com>

	* configure.in: Test that regcomp actually works.

	* Makefile.in (check-unix): Use $(RM).

	* t_an_to_ln.c (main): Print principal name when an error is
	detected.

Thu Apr 11 22:15:44 1996  Theodore Y. Ts'o  <tytso@dcl>

	* ustime.c (krb5_us_timeofday): When doing the time offset
		adjustments, make sure the microseconds field doesn't go
		negative.

Thu Mar 28 17:20:12 1996  Theodore Y. Ts'o  <tytso@dcl>

	* DNR.c: Replace eight-year-old version of this file with the
		latest version from the Code Warrior MacTCP files.  

	* macsock.c: Use new MacTCP header files.

Wed Mar 27 18:31:44 1996  Theodore Y. Ts'o  <tytso@dcl>

	* macsock.c (gethostbyname, gethostbyaddr): Use universal
		procedure pointers (UPP), which are required on the Mac
		Power PC.

Mon Mar 18 21:49:39 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* configure.in: Add KRB5_RUN_FLAGS

	* Makefile.in: Use runtime flags.

Mon Mar 18 17:30:54 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* sn2princ.c (krb5_sname_to_principal): Add casting to avoid warnings.

Mon Mar 18 14:18:58 EST 1996  Richard Basch  <basch@lehman.com>

	* sn2princ.c: Do not try to re-assign const variables.

Sun Mar 17 20:42:17 1996  Ezra Peisach  <epeisach@mit.edu>

        * configure.in: Add USE_ANAME, KRB5_LIBRARIES

	* Makefile.in: Properly use libraries as specified by configure

Wed Mar 13 13:11:49 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* t_std_conf.c: Include string.h

Thu Feb 29 16:14:46 1996  Theodore Y. Ts'o  <tytso@dcl>

	* sendto_kdc.c (krb5_sendto_kdc): Take out calls to
		SOCKET_INITIALIZE and SOCKET_CLEANUP.  This gets done in
		win_glue.c, and we only need to do this once.  (XXX What
		about Macintosh?)

Tue Feb 27 18:48:03 1996  Theodore Y. Ts'o  <tytso@dcl>

	* hostaddr.c (krb5_os_hostaddr): Use #define NEED_SOCKETS instead
		of #including <netdb.h>  (this breaks under windows).

Mon Feb 26 17:04:26 1996  Theodore Y. Ts'o  <tytso@dcl>

	* promptusr.c: Don't compile promptusr for Windows or Macintosh.

Sat Feb 24 18:57:56 1996  Theodore Y. Ts'o  <tytso@dcl>

	* ktdefname.c (krb5_kt_default_name): Under Windows, assume that
		the keytab file is located in the Windows directory.

Thu Feb 22 13:16:16 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* Makefile.in (check-unix): Set LD_LIBRARY_PATH for kdb5_anadd.

	* hostaddr.c (krb5_os_hostaddr): Set magic number in structure.

	* full_ipadr.c (krb5_make_full_ipaddr): Set magic number in structure.

Sat Feb 17 00:05:38 1996  Theodore Y. Ts'o  <tytso@pao.MIT.EDU>

	* def_realm.c (krb5_get_default_realm): If the configuration file
		does not exist (context->profile == NULL) return
		KRB5_CONFIG_CANTOPEN; if the default realm is not defined
		in the configuration file, return an error message saying
		so.   These changes just make the diagnostic error
		messages more clear.

Thu Jan 11 18:32:54 1996  Ezra Peisach  (epeisach@paris)

	* Makefile.in (check-unix): Ultrix test does not support -x.

Fri Jan  5 09:00:47 1996  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* locate_kdc.c (krb5_locate_kdc): Add parrentheses for assignment
		in conditional. (gcc -Wall)

	* init_os_ctx.c (krb5_os_init_context): Remove unused variables

	* an_to_ln.c (aname_do_match): Initialize local variable before
		referenced. 

Thu Jan  4 22:23:04 1996  Theodore Y. Ts'o  <tytso@dcl>

	* hostaddr.c (krb5_os_hostaddr): New function which takes a
		hostname and returns a list of krb5 addresses.  (This is
		basically a glue routine that converts the result of
		gethostbyname() to krb5 addresses.)

Thu Dec 21 17:51:58 1995  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in (t_an_to_ln): Use $(LD) instead of $(CC) to link
		final executables, so that we can more easily use purify.

	* hst_realm.c (krb5_get_host_realm): Eliminate memory leak; realm
		was already being allocated by the profile library; no
		reason to reallocate it again.

Wed Nov 15 10:53:16 1995    <tytso@rsts-11.mit.edu>

	* promptusr.c: New function for doing generic tty input and output.
		Eventually read_password should use this function.

Wed Nov 15 20:40:03 1995  Mark Eichin  <eichin@cygnus.com>

	* lock_file.c (krb5_lock_file): initialize lock_arg to a copy of a
 	static (thus zero) struct flock, to avoid panic'ing sunos 4.1.4.

Sun Nov 12 05:31:21 1995  Mark W. Eichin  <eichin@cygnus.com>

	* def_realm.c (krb5_get_default_realm): check for PROF_NO_PROFILE
	and return KRB5_CONFIG_CANTOPEN instead of BADFORMAT so that the
	user in the end knows what is going on.

Mon Oct  9 19:05:24 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* ktdefname.c (krb5_kt_default_name): If profile_secure flag is
		set in the context then do not allow changing the location
		of the default keytab with an environment variable.

Fri Oct  6 22:04:57 1995  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in: Remove ##DOS!include of config/windows.in.
		config/windows.in is now included by wconfig.

Thu Oct  5 07:49:26 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* init_os_ctx.c (krb5_secure_config_files): New function that 
		will set flag and path to prevent user from overriding
		configuration files with environment variables.

Mon Oct  2 17:36:38 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* init_os_ctx.c (krb5_os_init_context): Put back in the
		KRB5_CONFIG environment before setting to default.

Tue Sep 26 22:46:01 1995  Mark Eichin  <eichin@cygnus.com>

	* init_os_ctx.c (krb5_os_init_context): use profile_init_path for
	unix, and DEFAULT_PROFILE_PATH.

Fri Sep 29 16:31:47 1995  Theodore Y. Ts'o  <tytso@dcl>

	* osconfig.c: Remove krb5_lname_file; it's not used any more.

Mon Sep 25 16:58:17 1995  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the
		Makefile. 

Fri Sep 22 15:57:33 1995  Mark Eichin  <eichin@cygnus.com>

	* write_msg.c (krb5_write_message): check the real length
	variable, not the net version.

Wed Sep 20 12:00:00 1995  James Mattly  <mattly@fusion.com>

	* macsock.c:  Added TCP streams to the emulation package.  gethostname
		now no longer returns true cannonical hostnames.

Wed Sep 13 11:01:18 1995 Keith Vetter (keithv@fusion.com)

	* Makefile.in: had to define away DBFLAGS for the PC.

Mon Sep 11 17:46:18 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* genaddrs.c (krb5_auth_con_genaddrs): Replace function
		declaration back to int instead of SOCKET due to prototype
		mismatching. 

Sun Sep 10 12:00:00 1995  James Mattly  <mattly@fusion.com>

	* ustime.c: use the version of getTimeZoneOffset in :os:crypto: for
		_MACINTOSH.

Wed Sep  6 12:00:00 1995  James Mattly  <mattly@fusion.com>

	* localaddr.c changed name to oslocaladdr.c for metrowerks project
		file management.

	* ustime.c:  changed mac version of krb5_crypto_us_timeofday to compile
		with contemporary header files for metrowerks

	* macsock.c:  added tcp stream support to suppliment the udp.  Added
		getsockname.  Fixed gethostname to stop appending '.' to the
		end of a connonical hostname.

	* net_write.c:  need to cast file descriptors to SOCKETs

	* net_read.c:  need to cast file descriptors to SOCKETs

	* krbfileio.c:  mac doesn't support fsync, define the usage out

	* init_os_cxt.c:  move the default location of the krb conf file to
		the preferences folder.  Added some routines to take a 
		mac FSSpec and turn it into a mac pathname string.

	* hst_realm.c:  assign a NULL to retrealms to clean up a warning.

	* genaddrs.c:  support getsockname from macsock

	* ccdefname.c:  move the cred cache to the preferneces folder for mac

	* an_to_ln.c:  turn functions off because I don't have a dbm library

	* timeofday.c:  make krb5_timeofday use krb5_crypto_us_timeofday to 
		incorperate the epoch difference between mac and unix.

Fri Sep  1 00:47:27 1995  Theodore Y. Ts'o  <tytso@dcl>

	* Makefile.in (check-unix): Add a test case to make sure
		krb5_get_host_realm does something sane when passed in a
		hostname which doesn't have a default domain.

	* hst_realm.c (krb5_get_host_realm): If an hostname does not have
		a domain, don't try to get a domain default (which
		results in a strange error being returned).

	* toffset.c: Added new file which implements the abstract
		interfaces for manipulating the time offset fields in the
		os context.

	* ustime.c (krb5_us_timeofday): Add support for using the time
		offset fields in the os context.

	* timeofday.c (krb5_timeofday): Add support for using the time
		offset fields in the os context.

	* init_os_ctx.c (krb5_os_init_context): Initialize the time offset
		and flags fields in the os context.

Thu Aug 31 17:24:48 EDT 1995	Paul Park	(pjpark@mit.edu)

	* t_an_to_ln.c - Translate until error and return status.
	* Makefile.in - Test aname_to_lname under check-unix.

Thu Aug 24 18:56:35 1995  Theodore Y. Ts'o  <tytso@dcl>

	* .Sanitize: Update file list.

Wed Aug 16 02:45:19 1995  Chris Provenzano <proven@mit.edu>

        * lock_file.c (krb5_lock_file()), unlck_file.c (krb5_unlock_file()):
		Pass the fd in instead of converting it from FILE *.

Fri Aug  4 22:51:15 1995  Tom Yu  <tlyu@dragons-lair.MIT.EDU>

	* kuserok.c (krb5_kuserok): Add parens to shut up gcc -Wall

	* genaddrs.c (krb5_auth_con_genaddrs): Add parens to shut up gcc
		-Wall

	* an_to_ln.c: Include ctype.h to get some prototypes; also add
		parens to shut up gcc -Wall

Fri Jul 28 23:28:11 1995  Sam Hartman  <hartmans@tertius.mit.edu>

	* sn2princ.c (krb5_sname_to_principal): GDon't use default realm
        just because we are on local machine. Instead, go through normal
        translations.

Fri Jul 7 16:32:41 EDT 1995	Paul Park	(pjpark@mit.edu)
	* Makefile.in - Find com_err in TOPLIBD.

Thu Jul  6 17:26:03 1995  Tom Yu  <tlyu@lothlorien.MIT.EDU>

	* localaddr.c: moved to lib/crypto/os; just a stub here.

	* ustime.c: moved to lib/crypto/os; just a stub here.

Thu Jul  6 09:56:56 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* Makefile.in (clean): Remove t_an_to_ln.o

Wed July  5 15:52:31 1995  James Mattly  <mattly@fusion.com>
	* an_to_ln.c added _MACINTOSH conditions
	* genaddrs.c added HAS_MACSOCK_H conditions
	* krbfileio.c added THREEPARAMOPEN
	* kuserok.c added THREEPARAMOPEN
	* macsock.c added stub for gethostnameA
	* mk_faddr.c added HAS_MACSOCK_H conditions
	* read_pwd.c added _MACINTOSH condition
	* sys_log.c added _MACINTOSH condition

Fri Jun 30 14:44:17 EDT 1995	Paul Park	(pjpark@mit.edu)
	* an_to_ln.c - Add profile logic to aname_to_lname.  We can now
		specify databases, rules and explicit mappings to convert
		between auth name and local name.
	* t_an_to_ln.c - Rudimentary test procedure.  Needs work to be automatic
	* configure.in - Add --with-aname-dbm to select between Berkeley and
		DBM aname database format.
	* Makefile.in - Add definitions to select aname rules.

Tue Jun 27 15:48:41 EDT 1995	Paul Park	(pjpark@mit.edu)
	* read_pwd.c(intr_routine) - Add signal name argument to signal handler
		to conform to prototype.

Sat Jun 10 23:07:27 1995  Tom Yu  (tlyu@dragons-lair)

	* genaddrs.c: krb5_auth_context redefinitions

Fri Jun  9 22:08:33 1995  Theodore Y. Ts'o  <tytso@dcl>

	* gmt_mktime.c (gmt_mktime): Change assertion to check to make
		sure that the day of the month is >= 1, not 0.

Fri Jun  9 19:34:29 1995    <tytso@rsx-11.mit.edu>

	* configure.in: Remove standardized set of autoconf macros, which
		are now handled by CONFIG_RULES.

Wed Jun  7 14:43:56 1995    <tytso@rsx-11.mit.edu>

	* def_realm.c (krb5_get_default_realm), get_krbhst.c
		(krb5_get_krbhst), hst_realm.c (krb5_get_host_realm), 
		init_os_ctx.c (krb5_os_init_context), osconfig.c, 
		realm_dom.c (krb5_get_realm_domain): Remove old ifdef'ed
		code which read in krb.conf and krb.realms.

	* read_pwd.c (krb5_read_password): Remove old #ifdef notdef code.
		Significantly simplified and cleaned up function.
		Removed BSD 4.3 compatibility code.  (If we ever need
		to make this work on a non-POSIX system, we'll supply
		POSIX termios emulation functions in src/lib/krb5/posix.)

Fri Jun 2 17:54:12 1995 Keith Vetter (keithv@fusion.com)

	* net_read.c, net_write.c: made to work with sockets.

Fri May 26 20:20:58 1995  Theodore Y. Ts'o  (tytso@dcl)

	* configure.in, Makefile.in: Add support for building shared libraries.

Thu May 25 15:33:45 1995 Keith Vetter (keithv@fusion.com)

	* os-proto.h: moved prototype for krb5_make_fulladdr to
	   los-proto.h since it's needed by the krb directory.
	* ktdefnam.c: fixed signed/unsigned mismatch.
	* read_pwd.c: pc stub didn't track changes to the real routines
	   parameter list (const was added).

Tue May 23 16:29:24 1995  Theodore Y. Ts'o  (tytso@dcl)

	* t_std_conf.c, timeofday.c, unlck_file.c: Rearrange #include
		files so that krb5.h gets included first, so that the
		debugging information can be more efficiently collapsed
		since the type numbers will be the same.

Tue May 16 10:33:03 EDT 1995	Paul Park	(pjpark@mit.edu)
	* gmt_mktime.c	- Use the actual year instead of the number of years
			  since 1900 when determining if a year has a leapday.
			  Makes dates after February in the year 2000 correct.

Mon May 15 05:08:05 1995    <tytso@rsx-11.mit.edu>

	* ktdefname.c (krb5_kt_default_name): Use the KRB5_KTNAME
		environment variable to override the default location of
		the keytab.

Mon May  8 22:19:23 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* read_pwd.c (krb5_read_password): use volatile on all
		systems. Let configure define volatile to nothing on
		systems without. 

	* configure.in: Add HAS_ANSI_VOLATILE

	* mk_faddr.c (krb5_make_fulladdr): Allocate enough memory for
		raddr contents.

	* read_pwd.c (krb5_read_password): Make arguments prompt and
		prompt2 const char * for convenience to callers.

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
		function declaration to be compatbile with call to
		profile_init. 

Mon May 01 15:56:32 1995  Chris Provenzano (proven@mit.edu)

        * genaddrs.c (krb5_auth_con_genaddrs()),
	* mk_faddr.c (krb5_make_fulladdr()), os-proto.h :
                Changes to auth_context to better support full addresses.

Sun Apr 30 16:03:59 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* osconfig.c: Global variables krb5_config_file and
		krb5_trans_file conditionalized on OLD_CONFIG_FILES.

Sat Apr 29 07:07:22 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>

	* init_os_ctx.c (krb5_set_config_files): New function.  Provides a
		way to set a new set of config files for a particular OS
		context.

	* init_os_ctx.c (krb5_os_init_context): Don't return an error if 
		profile_init() returns an error.

Fri Apr 28 09:58:31 EDT 1995	Paul Park	(pjpark@mit.edu)

	Move adm_conn.c from libkrb5 to libkadm.

Thu Apr 27 17:50:14 1995 Keith Vetter (keithv@fusion.com)

	* adm_conn.c: added constant to pull in needed PC code, and
	   removed two unused variables.
	* genaddrs.c: needed casts on getsockname and getpeername calls.
	* mk_faddr.c: the int->byte code needed explicit casts.
	* os-proto.h: added missing prototype for krb5_make_fulladdr.

Wed Apr 26 16:00:52 EDT 1995	Paul Park	(pjpark@mit.edu)

	* Add adm_conn.c - module to provide a connection to an administrative
	  (kpasswd/kadmin) server.

Wed Apr 27 11:30:00 1995 Keith Vetter (keithv@fusion.com)

	* osconfig.c: krb5_find_config_files only used for OLD_CONFIG_FILES.
	* init_os_.c: Get config file location via windows ini files.

Thu Apr 27 13:04:54 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* Makefile.in (clean): Remove t_std_conf.o 

Tue Apr 25 21:58:23 1995  Chris Procenzano (proven@mit.edu)

	* Makefile.in : Added source files mk_faddr.c and genaddrs.c.
	* mk_faddr.c (krb5_mk_fulladdr()): Makes a full address from
		a struct sockaddr_in.
	* genaddrs.c (krb5_auth_con_genaddrs()) : Generate a full address
		from the active file descriptor and place it in the 
		auth_context for the calls mk_safe(), mk_priv(), mk_safe(), 
		rd_cred(), rd_priv(), and rd_safe().
	* gen_rname.c (krb5_gen_replay_name()) : Fixed to take any type of
		krb5_address and generate a rcache name.
	* os-proto.h (krb5_make_full_ipaddr()) : Removed prototype.

Tue Apr 25 14:09:26 1995  Theodore Y. Ts'o  <tytso@dcl>

	* t_std_conf.c (main): Add declaration of optarg.

Tue Apr 25 04:50:13 1995  Chris Procenzano (proven@mit.edu)

	* locate_kdc.c (krb5_locate_kdc()): Pass a NUL terminated realm
		to profile_get_values(). 

Mon Apr 24 17:20:14 1995  Ezra Peisach  <epeisach@kangaroo.mit.edu>

	* locate_kdc.c (krb5_locate_kdc): Don't deref NULL pointer
	returned from profile_get_values if profile is not set.

Sat Apr 22 00:11:12 1995  Theodore Y. Ts'o  (tytso@dcl)

	* Makefile.in, configure.in, t_std_conf.c: Add test program to
		test the standard configuration krb5 routines.

	* osconfig.c: Don't define krb5_kdc_udp_portname and
		krb5_kdc_sec_portname any more.	 There's no real point...

	* hst_realm.c (krb5_get_krbhst): Strip off the trailing dot from
		the hostname if present.

	* locate_kdc.c (krb5_locate_kdc): Use the profile code to get the
		list of Kerberos servers (plus port numbers) for a
		particular realm from [realms]/<realm>/kdc

Fri Apr 21 11:38:45 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>

	* def_realm.c (krb5_get_default_realm): Use the profile code to
		get the default realm from [libdefaults]/default_realm.

	* get_krbhst.c (krb5_get_krbhst): Use the profile code to get the
		list of Kerberos servers for a particular realm from 
		[realms]/<realm>/kdc

	* realm_dom.c (krb5_get_realm_domain):	Use the profile code to
		get the default domain postfix for a realm (used only to
		convert V4 -> V5 principals) from 
		[realms]/<realm>/default_domain

	* hst_realm.c (krb5_get_host_realm): Use the profile code to get
		the default realm given a particular host from
		[domain_realm]/<host|domain>

	* init_os_ctx.c (krb5_os_init_context): When the OS context is
		initialized, also initialize the profile file.	This loads
		in the /etc/krb5.conf file.

Wed Apr 19 13:50:19 1995  Ezra Peisach	(epeisach@kangaroo.mit.edu)

	* def_realm.c: (krb5_get_default_realm) - remove global default realm.
		Moved into the context. (krb5_set_default_realm) added.

Fri Apr 14 22:15:00 1995  Theodore Y. Ts'o  <tytso@lurch.mit.edu>

	* an_to_ln.c (dbm_an_to_ln): Don't compile dbm_an_to_ln() if
		USE_DBM_LNAME isn't defined.

Fri Apr 14 15:15:48 1995    <tytso@rsx-11.mit.edu>

	* hst_realm.c (krb5_get_host_realm): Eliminate memory leak in the
		unlikely case that gethostname fails.

		If the krb.realms file isn't available, use the default
		realm of the host.

Thu Apr 13 15:49:16 1995 Keith Vetter (keithv@fusion.com)

	* *.[ch]: removed unneeded INTERFACE from non-api functions.
	* read_pwd.c: __STDC__ conditional also checks the _WINDOWS define.

Fri Apr 7 15:32:04 1995 Keith Vetter (keithv@fusion.com)

	* ccdefname.c: 
	   changed windows stored filename syntax--dropped the 'FILE:' part.
	   changed buffer from malloc to static since we don't want it 
	    ever to fail, and nobody checks it for errors.

Wed Apr 5 16:32:07 1995 Keith Vetter (keithv@fusion.com)

	* get_krbh.c: better error handling--old return values were 
	   being overwritten.
	* locate_kdc.c: added new error code KRB5_REALM_CANT_RESOLVE for
	   when we have realm names but can't find their addresses.
	   Also, fixed up indenting of an if clause.
	* sendto_kdc.c: added winsock init/destroy calls because some
	    PC tcp/ip stacks seem to need it.

Fri Mar 31 16:30:03 1995  Theodore Y. Ts'o  (tytso@dcl)

	* realm_dom.c (krb5_get_realm_domain): Don't indent #ifdef's!

	* hst_realm.c (krb5_get_host_realm): Don't indent #ifdef's!

Thu Mar 30 15:54:54 1995 Keith Vetter (keithv@fusion.com)

	* localaddr.c: in Windows/Mac code, fixed bug due to wrong level
	   of indirection on memcpy call.

Tue Mar 28 19:22:28 1995 Keith Vetter (keithv@fusion.com)

	For Windows, added calls to get the default config, realms and
	ccache files out of a windows ini file.
	* ccdefname.c: does this for the credential cache.
	* osconfig.c: does this for the config and realms files.
	* get_krbh.c, realm_do.c, hst_real.c, def_real.c: added calls to
	   set the default values.

Tue Mar 28 18:35:20 1995  John Gilmore	(gnu at toad.com)

	* DNR.c:  Add Apple MacTCP source file for domain name resolution.
	* macsock.c:  Add fake socket support routines for MacTCP.
	* Makefile.in (OBJS, SRCS):  Add DNR and macsock.
	* ccdefname.c:	On Mac, default cred cache is "STDIO:krb5cc" for now.
	FIXME, this needs to find the Preferences folder and use that.
	FIXME, shouldn't be conditioned on HAVE_MACSOCK_H.
	* gmt_mktime.c:	 Use HAVE_SYS_TYPES_H.
	* krbfileio.c:	Remove <sys/types.h>.
	* localaddr.c, sendto_kdc.c:  Convert to more generic socket
	support.  Use closesocket instead of close, SOCKET_ERRNO rather
	than errno, SOCKET rather than int, etc.
	* localaddr.c:	Use getmyipaddr() from macsock.c, if on Mac.
	Add FIXME for multiple local addresses.
	* lock_file.c:	Provide a dummy version for MacOS.
	* read_pwd.c (ECHO_PASSWORD):  Add #ifdef's to avoid all the ioctls
	and other stuff that turn off echoing.	This is useful for debugging
	on MacOS.  FIXME:  ECHO_PASSWORD needs to be added to configure.in.
	* ustime.c:  Bring in Mac-specific time-and-timezone code.  It
	probably isn't hooked up correctly, yet.

Mon Mar 27 14:16:39 1995  John Gilmore	(gnu at toad.com)

	* full_ipadr.c, gen_rname.c, port2ip.c, read_msg.c, write_msg.c:
	Remove explicit includes of socket files.
	* locate_kdc.c:	 Remove <sys/types.h> and "os-proto.h".

	* macsock.c (connect, send, recv):  Add for K5 compatability.
	(getmyipaddr):	Add for use in K5.

	* macsock.c:  Add Mac socket support file, verbatim from K4 release.

Fri Mar 24 17:58:15 1995  Theodore Y. Ts'o  (tytso@rt-11)

	* locate_kdc.c: Don't include sys/socket.h, netdb.h, netinet/in.h,
		since these files are already included by k5-config.h
	
	* sendto_kdc.c: Don't include sys/socket.h, since it is already
		included by k5-config.h

	* sn2princ.c: Don't include netdb.h, since it is already included
		by k5-config.h

Thu Mar 23 23:11:36 1995  Theodore Y. Ts'o  <tytso@dcl>

	* realm_dom.c (krb5_get_realm_domain): Don't indent preprocessor
		directives.  (Not portable).

	* hst_realm.c (krb5_get_host_realm): Don't indent preprocessor
		directives.  Removed excess close paren introduced by
		Keith.

Wed Mar 22 18:59:47 1995 Keith Vetter (keithv@fusion.com)

	* hst_realm.c, realm_dom.c: windows DLL can't use fscanf so had
	   to write a couple of routines to read what we need from the file.

Wed Mar 22 13:30:35 1995 Keith Vetter (keithv@fusion.com)

	* an_to_ln.c, kuserok.c: last two os routines ported to the PC.

Fri Mar 17 19:56:39 1995  John Gilmore	(gnu at toad.com)

	* Makefile.in (LDFLAGS):  Eliminate, duplicates config/pre.in.
	* localaddr.c:	Remove socket include files now handled in k5-int.h.

Wed Mar 15 12:19:47 1995 Keith Vetter (keithv@fusion.com)

	* sendto_kdc.c: made to work on the PC.

Tue Mar	 7 22:15:00 1995 Keith Vetter <keithv@fusion.com>

	* sendto_kdc.c: stubbed on the PC for now.

Tue Mar	 7 19:54:17 1995  Mark Eichin  <eichin@cygnus.com>

	* configure.in: take out ISODE_DEFS, ISODE_INCLUDE.

Tue Mar 7 13:35:21 1995 Keith Vetter (keithv@fusion.com)

	* *.c: ported all the c files except an_to_ln, kuserok, and
	  sendto_kdc which have windows stubs.
	* Makefile.in: reflects above changes.

Wed Mar 1 17:30:00 1995 Keith Vetter (keithv@fusion.com)

	* Makefile.in: made to work on the PC
	* ustime.c: added section for time on the PC
	* localaddr.c: added section for the PC--returns local IP address
	N.B. not sure how we're going to handle different machine dependent
	code changes. For now it's just added to the end of the file. Later,
	we have to decide on a solution for all.

Tue Feb 28 01:07:37 1995  John Gilmore	(gnu at toad.com)

	* *.c:	Avoid <krb5/...> includes.

Fri Feb	 3 08:24:18 1995  Theodore Y. Ts'o  (tytso@dcl)

	* gmt_mktime.c (gmt_mktime): Don't double count the leap day in a
		leap year.

Sun Jan 22 18:23:37 1995  John Gilmore	(gnu@cygnus.com)

	* get_krbhst.c (krb5_get_krbhst):  Declare realm argument const,
	to match prototype.

Wed Jan 18 11:08:59 1995    <tytso@rsx-11.mit.edu>

	* sendto_kdc.c (krb5_sendto_kdc): Fix use of connected sockets;
		previously krb5_sendto_kdc only used one socket per
		address family.	 This doesn't work; it now uses one
		socket per address. (krb5-bugs #938)

Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)

	* Actually move the file init_ctx.c to init_os_ctx.c in the CVS
		repository and also rename the routine	krb5_free_os_context()
		to krb5_os_free_context().

Fri Jan 13 15:23:47 1995  Chris Provenzano (proven@mit.edu)

    * Added krb5_context to all krb5_routines

	* Moved init_ctx.c to init_os_ctx.c because a library cannot
		have more than on file with the same name. See krb/init_ctx.c

Mon Dec 19 15:20:35 1994  Theodore Y. Ts'o  (tytso@dcl)

	* init_ctx.c: New file.	 Initializes and frees the krb5_os_context
	  structure. 

	* realm_dom.c (krb5_get_realm_domain): Fixed minor bug where the
		length of the returned domain was calculated incorrectly.

Mon Oct 31 17:04:08 1994  Theodore Y. Ts'o  (tytso@dcl)

	* lock_file.c: Back out POSIX_FILE_LOCKS change.  (Should be
		depending on autoconf.h to supply this #define if
		necessary.) 

Thu Oct 13 17:24:31 1994  Theodore Y. Ts'o  (tytso@maytag)

	* configure.in: Add ISODE_DEFS

Fri Oct	 7 13:23:18 1994  Theodore Y. Ts'o  (tytso@dcl)

	* configure.in: Add test for unistd.h

	* lock_file.c: Use POSIX_FILE_LOCKS if _POSIX_VERSION is defined
		in unistd.h

Thu Sep 22 20:46:08 1994  Theodore Y. Ts'o  (tytso@dcl)

	* configure.in: Put in correct dependency order of configure.in
		lines.

Wed Jul	 6 13:26:59 1994  Mark Eichin  (eichin@cygnus.com)

	* gmt_mktime.c (gmt_mktime): New file, new function. Similar to
	POSIX mktime, but always works in GMT.
	configure.in, Makefile.in: build gmt_mktime.

Wed Jun 22 15:49:30 1994  Theodore Y. Ts'o  (tytso at tsx-11)

	* locate_kdc.c (krb5_locate_kdc): Fixed default port numbers so
	they are loaded in network byte order instead of host byte order.


