2009-08-01  Charles Wilson  <...>

	Release 0.9.1
	* NEWS: Update.
	* csih.sh: Update version.
	* version.h: Update version.

2009-07-23  Corinna Vinschen  <...>

	* cygwin/getVolInfo.c: Check ZwOpenFile status code for
	STATUS_INVALID_PARAMETER and retry top open with FILE_READ_DATA
	access.  Simply STATUS_NO_MEDIA_IN_DEVICE condition.

2009-05-03  Charles Wilson  <...>

	Add error checking for supported OS/cygwin version.
	* NEWS: Update.
	* csih.sh (csih_win_product_name): New function, allows
	to cache results of calling winProductName since we
	have to call it anyway.
	(_csih_late_initialization_code): set cache variable
	for use by csih_win_product_name().
	(main): Check that OS is at least WinNT, and cygwin
	version is at least 1.7.0, else issue error.

2009-05-03  Charles Wilson  <...>

	Update version number on trunk.
	* NEWS: Update.
	* csih.sh (main): Update csih_VERSION.
	* version.h: New file.
	* native/getAccountName.cpp: Use version.h to set
	version number.
	* native/winProductName.c: Ditto.

2009-05-03  Charles Wilson  <...>

	Release 0.2.0
	* NEWS: Update.
	* csih.sh (main): Update csih_VERSION.
	* native/getAccountName.cpp: Bump version number.
	* native/winProductName.c: Bump version number.

2009-03-29  Charles Wilson  <...>

	ACLs for /var/*; supress unnecessary info msgs
	* csih.sh (_csih_setup): Add ACLs for system user
	and Administrators group to /var/log, /var/run, and
	/var/empty.
	(csih_select_privileged_username): Supress informational
	messages about other privileged users when called with
	-u $specific_username_request.

2009-03-28  Charles Wilson  <...>

	* TODO: New.
	* AUTHORS: Updated.
	* csih.sh (main): Bump version number.
	(_csih_well_known_privileged_accounts[_quoted]): New.
	(csih_privileged_accounts): New -u $username option;
	check also the specified $username, as well as the
	'well known' accounts.
	(csih_privileged_account_exists): Modify semantics;
	now return true if account exists and has necessary
	privileges, even if it is not one of the 'well known'
	accounts.
	(csih_select_privileged_username): Add -u $default_user
	option. Allows to specify some (possibly not yet
	existing) account for the service to run under, IF
	if is not already installed. This allows to override
	the *default* default, cyg_server.
	(csih_is_windows7): New.
	(csih_is_exactly_windows7): New.
	(csih_is_exactly_server2008r2): New.
	* native/getAccountName.cpp: Bump version number.
	* native/winProductName.c: Bump version number.
	Update for Windows 7, Windows Server 2008 R2.
	* NEWS: Update documentation.

2009-03-28  Charles Wilson  <...>

	*  csih.sh (csih_privileged_accounts): Issue
	warning if $username in /etc/passwd but not SAM.
	Reported by: Herb Maeder

2009-03-28  Julio Costa  <...>

	* csih.sh (csih_select_privileged_username): Add
	-f option.
	(csih_create_privileged_user): Expand comments.

2009-01-28  Corinna Vinschen  <corinna-cygwin@cygwin.com>

	* csih.sh (csih_get_cygenv): Don't check input for certain values.

2008-08-20  Charles Wilson  <...>

	* csih.sh (_csih_setup): suppress error messages
	from chmod (when run as normal user).

2008-08-20  Charles Wilson  <...>

	Correct csih_check_access behavior.

	* csih.sh (csih_check_access): update documentation.
	Fix broken if-clauses -- [ fn -a $var -eq "foo" ]
	doesn't work; use ( fn && [ $var -eq "foo" ]).
	Remove test (and erroneous comments) concerning
	ACLs and 'other' permission bits.
	(csih_select_privileged_username): reformat messages.

2008-08-20  Charles Wilson  <...>

	csih-0.1.8 release

	* csih.sh (main): bump version number

2008-08-20  Corinna Vinschen  <corinna-cygwin@cygwin.com>

	Better support for domain accounts.

	* csih.sh (csih_create_privileged_user): return success
	if user already exists in /etc/passwd (allows to use
	pre-existing domain account as privileged user).
	(csih_create_unprivileged_user): return success
	if user already exists in /etc/passwd (allows to use
	pre-existing domain account as unpriv user).

2008-08-20  Charles Wilson  <...>

	* csih.sh (csih_create_unprivileged_user): detect
	if fail to add user to /etc/passwd.

2008-08-20  Charles Wilson  <...>

	* csih.sh (_csih_setup): Attempt to set correct permissions
	on /var/run, /var/log, /var/empty, and /etc.

2008-08-16  Charles Wilson  <...>

	csih-0.1.7 release
	Fix bugs and improve Vista and cygwin-1.7 support.

	* csih.sh (main): update documentation, bump version
	number.
	(csih_cygver): new function.
	(csih_cygver_is_oneseven): new function.
	(csih_sanity_check): Check for stat program.
	(csih_get_system_and_admins_ids): Use 'stat -c %A'
	instead of 'ls -ld'.
	(csih_check_dir_perms): ditto.
	(csih_check_sys_mount): Document as cygwin-1.5.x
	specific. Unconditionally return 0 (true) for
	cygwin-1.7 and above.
	(csih_check_basic_mounts): ditto.
	(_csih_setup): Allow /var to have text bit set --
	iow, match permissions pattern 'd..x..x..[xt]'
	(csih_select_privileged_username): workaround bug in
	cygwin-1.7 mkpasswd. Reparagraph error user message,
	fix documentation typo.
	(csih_service_should_run_as): Return either privileged
	account name OR system, not both.
	* NEWS: Update documentation.

2008-08-07  Charles Wilson  <...>

	csih-0.1.6 release
	Add getVolInfo utility program. Use it to avoid 
	checking permissions on volumes that do not support ACLs.

	* csih.sh (main): update documentation.
	(csih_WIN32_VOLS_WITH_ACLS): new client-accessible var.
	(csih_WIN32_VOLS_WITHOUT_ACLS): ditto.
	(csih_path_supports_acls): new function.
	(_csih_convert_w32vol_to_shell_pattern): new function.
	(_csih_path_in_volumelist_core): new function.
	(_csih_path_in_volumelist): new function.
	(csih_get_system_and_admins_ids): update comments.
	No longer an error if Administrators group is not found
	in /etc/passwd.
	(_csih_warning_for_win9x_perms): new function.
	(_csih_warning_for_missing_ACL_support): new function.
	(csih_check_dir_perms): bail out early (returning success
	but with a warning) if on OS older than windows NT, or the
	specified file/dir is on a volume that does not support ACLs.
	(csih_check_access): ditto. Also, improve comments. If
	csih_ADMINSUID is empty, gracefully skip checking if file/dir
	is owned by the Administrators group.
	* cygwin/Makefile: new file.
	* cygwin/getVolInfo.c: new file.
	* COPYING: update documentation.
	* NEWS: update documentation.

2008-08-04  Charles Wilson  <...>

	Accept pre-existing privileged domain accounts.
	Default to privileged account on NT/2k/XP if exist.

	* csih.sh (csih_privileged_accounts): Always look
	for privileged users if NT or better. Look in both
	/etc/passwd and local SAM.
	(csih_privileged_account_exists): Update documentation
	to reflect behavior change inherited from above.
	(csih_select_privileged_username): Attempt to return
	a username even on NT/2k/XP (but default to empty if
	no pre-existing privileged user on those OS's). Be more
	specific in the informational messages emitted. Look
	in both /etc/passwd and local SAM for accounts, if user
	specified one we don't know about already.
	(csih_create_privileged_user): Improve comments.
	(csih_create_unprivileged_user): Improve comments.
	See FIXME! (remove this line from ChangeLog when resolved)
	(csih_service_should_run_as): Improve comments. Check
	both /etc/passwd and local SAM if "answer" is an account
	that did not exist when script was launched. For NT/2k/XP,
	default to pre-existing privileged user (if one exists), and
	only report SYSTEM otherwise.
	* NEWS: Document new behavior

2008-07-19  Corinna Vinschen  <corinna-cygwin@cygwin.com>

	* csih.sh (csih_account_has_necessary_privileges): Don't
	explicitely test for SeDenyXXX rights, nor for
	SeIncreaseQuotaPrivilege.
	(csih_create_privileged_user): Drop setting
	SeDenyInteractiveLogonRight and SeIncreaseQuotaPrivilege.

2008-07-19  Charles Wilson  <...>

	csih-0.1.5 release

	* cish.sh (csih_account_has_necessary_privileges):
	Use editrights -t instead of editrights -l and fgrep.

2008-07-19  Corinna Vinschen  <corinna-cygwin@cygwin.com>

	* csih.sh (csih_account_has_necessary_privileges,
	csih_create_privileged_user): Don't disallow network
	logon for service user account.

2008-04-14  Charles Wilson  <...>

	csih-0.1.4 release

	* csih.sh: add MIT/X license text.
	(csih_error):  Removed any direct heritage from cygport due to
	licensing concerns.
	(csih_warning): ditto
	(csih_inform): ditto
	(csih_verbose): ditto
	* COPYING: update documentation
	* NEWS: update documentation
	* COPYING.GPLv3: removed

2008-04-09  Charles Wilson  <...>

	* csih.sh (csih_account_has_necessary_privileges): new function
	(csih_select_privileged_username): new behavior if optionally
	specified service is installed.
	(csih_service_should_run_as): new optional argument service_name.
	If specified, checks to see if that service is already installed,
	and returns the installed account name if so. Otherwise, behavior
	is unchnaged.

2008-04-07  Corinna Vinschen  <...>

	* csih.sh (csih_create_privileged_user): fix typo
	(_csih_setup): fix typo

2008-04-07  Charles Wilson  <...>

	* csih.sh (csih_select_privileged_username): moved
	below _csih_setup so it can be a main entry point.
	Added option parsing: -q query mode, and service_name.
	Added caching; once csih_PRIVILEGED_USERNAME is set,
	avoid extra reprocessing.
	(csih_version_ge): new function for comparing version
	numbers. 'csih_version_ge A B' returns true if A >= B,
	where A and B are of the form x.y.z.
	(csih_version_le): ditto, for A <= B.
	(csih_version_gt): ditto, for A > B.
	(csih_version_lt): ditto, for A < B.
	(csih_version_eq): ditto, for A == B.

2008-04-02  Charles Wilson  <...>

	* csih.sh (csih_create_privileged_user): accept
	password as optional first argument.
	* native/winProductName.c (usage): new function
	(help, license, version): ditto
	(main): add support for basic option parsing and
	help.
	* native/Makefile: link winProductName against 
	libnative (for getopt support).
	* NEWS: new file
	* AUTHORS: new file
	* COPYING: new file
	* COPYING.GPLv3: new file
	* COPYING.LGPLv2.1: new file
	* COPYING.MIT_X: new file


2008-03-16  Charles Wilson  <...>

	csih-0.1.3 release

	* csih.sh (_csih_late_initialization_code): new function.
	moved inline late initialization code to here.

2008-03-16  Charles Wilson  <...>

	csih-0.1.2 release

	* native/winProductName.c: new file
	* native/Makefile: add rules for winProductName
	* csih.sh (csih_is_exactly_vista): new function
	* csih.sh (csih_is_exactly_server2008): new function
	* csih.sh: protect usage of $csih_progname against
	leading '-' character, throughout.
	* csih.sh (late initialization code): add new code
	block after definition of csih_invoke_helper().

2008-03-06  Charles Wilson  <...>

	csih-0.1.1 release

	* native/getAccountName.cpp: new file
	* native/getopt.c: new file
	* native/getopt.h: new file
	* native/getopt1.c: new file
	* native/lookupAccountName.cpp: new file
	* native/lookupAccountName.h: new file
	* native/Makefile: new file
	* native/ReadMe.Win32Error.txt: new file
	* native/Win32Error.h: new file
	* csih.sh (csih_is_2k): new function
	(csih_is_xp): new function
	(csih_is_vista): new function
	(csih_invoke_helper): new function
	(csih_get_localized_account_name): new function
	(csih_get_guest_account_name): new function
	(csih_guest_account_active): new function

