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

