Wed Apr  9 12:31:08 1997  Jeremy Allison <jra@cygnus.com>

	* ovsec_kadmd.c (log_badauth_display_status): Changed *n++
	to *n += 1 as they are not equivalent.

Mon Mar 31 15:41:09 1997  Mark W. Eichin  <eichin@cygnus.com>

	* schpw.c (process_chpw_request): fix botched edit that
	reinitialized local_kaddr.

Mon Mar 31 02:35:44 1997  Marc Horowitz  <marc@cygnus.com>

	* schpw.c (process_chpw_request): be careful about what address
 	krb5_{mk,rd}_priv see.  If getsockame on a connected udp socket
 	gives nothing, use krb5_os_localaddr instead.  This will lose on a
 	multihomed host, but there's no way to do that right if the os is
 	broken.

	* ovsec_kadmd.c (do_schpw): Use a two-socket model for multihomed
 	hosts.  This is obscure, but necessary.  Comments in the code give
 	substantially more detail.

	* schpw.c, ovsec_kadmd.c: back out Mark's changes below to try a
 	different approach.

Sat Mar 29 01:20:05 1997  Mark Eichin  <eichin@cygnus.com>

	* schpw.c (process_chpw_request): drop file descriptor arg and
	just take source sockaddr_in as an argument.  The result of
	getpeername was overwritten by the destination argument anyway.

	* ovsec_kadmd.c (main): initialize a second socket for connected
	sends.  Depends on SO_REUSEADDR semantics and gets initialized
	first, so the second one acts as the listener.
	(do_schpw): new argument send_fd is the sending socket.  Use
	connect to point this one at the client for replies, and then use
	getsockname to find the real local address.

Thu Mar 27 17:48:30 1997  Marc Horowitz  <marc@cygnus.com>

	* schpw.c (process_chpw_request): fix memory management errors

Mon Mar 24 17:06:05 PST 1997  Jeremy Allison <jra@cygnus.com>

	* win32service.h: Removed registry entries now in osconf.h
	* kadmin_service.c: Changed CloseHande's to RegCloseKey's.

Wed Mar 12 16:37:44 1997  Michael Graff  <explorer@flame.org>

	* ovsec_kadmd.c: set fromlen before calling recvfrom().

Tue Mar 11 13:05:47 1997  Jeremy Allison <jra@cygnus.com>

	* kadmin_service.c: Fixed arg processing. Added help
	option.
	* ovsec_kadmd.c: Split usage() function in two to
	allow it to be called from NT service code.

Wed Mar  5 14:07:30 1997  Jeremy Allison <jra@cygnus.com>

	* Makefile.in: Added -DKERBNET for service code.
	* kadmin_service.c: Added auto install code.
	* ovsec_kadmd.c: Removed signal handlers for CYGWIN32 code.
	* win32service.h: Added new prototypes for auto install code.

Thu Feb 27 19:06:37 1997  Marc Horowitz  <marc@cygnus.com>

	* schpw.c (process_chpw_request): the protocol has been changed to
 	include a packet size at the head of the request and reply.

Thu Feb 13 17:55:21 1997  Jeremy Allison <jra@cygnus.com>

        * kadmin_service.c: Fixed bug in add_extra_args that causes
        kdc to crash if no args specified in registry.

Wed Feb 12 18:46:34 1997  Stephen Peters  <speters@cygnus.com>

	* kadm_rpc_svc.c: Use new logging routines.
	* ovsec_kadmd.c: Use new logging routines.
	* server_stubs.c: Use new logging routines.

Wed Feb 12 03:17:02 1997  Chris Provenzano  <proven@cygnus.com>
 
        * Makefile.in: Link with -lmisc for getopt_long().
        * ovsec_kadmd.c: Use getopt_long() and added --version option.
	Added options --nofork and -n to mirror option -nofork
	Added options --port and -p to mirror option -port.
	Options -port and -nofork should be depricated.
 
Tue Feb 11 10:01:17 1997  Stephen Peters  <speters@cygnus.com>

	* server_stubs.c (get_next_princs_1): New function.

	* kadm_rpc_svc.c (kadm_1): Add in get_next_princs code.

Mon Feb 10 16:38:14 1997  Jeremy Allison <jra@cygnus.com>

        * win32service.h: Added prototypes for log_message
        and str_oserr.
        * kadmin_service.c: Fixed error reporting for registry
        code. Caused all error erporting in NT specific code
        to go through log_message.

Wed Feb  5 20:29:33 1997  Marc Horowitz  <marc@cygnus.com>

	* schpw.c (process_chpw_request): change the code to deal with
 	KRB-ERROR returns in the case that something goes wrong, but it's
 	still possible to construct an unauthentic error reply.
	* ovsec_kadmd.c (do_schpw): rework the logic to deal with error
 	packets.  The return value from process_chpw_request() and the
	repdata are now orthogonal.

Mon Feb  3 17:44:22 1997  Marc Horowitz  <marc@cygnus.com>

	* ovsec_kadmd.c (main): added a kdc.conf var for the kpasswd port.
	* ovsec_kadmd.c (main, kadm_svc_run, do_schpw): added code to
 	listen on a second port for password change requests.
	* schpw.c: implements password change protocol
	* Makefile.in (OBJS): add schpw.o
	
Fri Jan 31 12:39:53 1997  Jeremy Allison <jra@cygnus.com>

	* win32service.h: Added new file for NT service code.
	* kadmin_service.c: Added new file for NT service code.
	* ovsec_kadmd.c: Changed main to original_main for service
	code. Added lock calls around calls to service rpc requests.
	Ensures NT cannot shut us down in the middle of servicing
	database requests.
        * configure.in: Added check for advapi32 library.
        * Makefile.in: Added service files (compile to empty
        under UNIX). Added rule to copy service_main.c from
        windows/service to local directory.

Mon Dec 16 10:58:39 1996  Jeremy Allison <jra@cygnus.com>

	* kadm_rpc_svc.c: Added <sys/socket.h> for __CYGWIN32__.
	* ovsec_kadmd.c: Added (1) and (2) to GSS-API authentication
	error messages so users can report correctly which one failed.
	* server_stubs.c: Added <sys/socket.h> for __CYGWIN32__.

Thu Sep 26 14:43:17 1996  Chris Provenzano  <proven@cygnus.com>

        * Makefile.in: Changes to allow to different packaging
        Currently there is pkg-all, pkg-server, and pkg-client

