On Windows 8.1 and later, the NetUserChangePassword call apparently doesn't accept the usual "\\server" string anymore, but requires to use the "domain" instead, otherwise it emits en error code 1265, ERROR_DOWNGRADE_DETECTED. Since this is accepted by pre-8.1 as well, use the domain indiscriminately when calling NetUserChangePassword from passwd(1). While at it, do some minor cleanup in passwd.c. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
		
			
				
	
	
		
			90 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			90 lines
		
	
	
		
			3.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
What's new:
 | 
						|
-----------
 | 
						|
 | 
						|
- Support for POSIX-1.2008 locale objects and per-thread locales.
 | 
						|
 | 
						|
  New API per POSIX-1.2008: newlocale, freelocale, duplocale, uselocale,
 | 
						|
  nl_langinfo_l, isalnum_l, isalpha_l, isblank_l, iscntrl_l, isdigit_l,
 | 
						|
  isgraph_l, islower_l, isprint_l, ispunct_l, isspace_l, isupper_l, iswalnum_l,
 | 
						|
  iswalpha_l, iswblank_l, iswcntrl_l, iswctype_l, iswdigit_l, iswgraph_l,
 | 
						|
  iswlower_l, iswprint_l, iswpunct_l, iswspace_l, iswupper_l, iswxdigit_l,
 | 
						|
  isxdigit_l, tolower_l, toupper_l, towctrans_l, towlower_l, towupper_l,
 | 
						|
  wctrans_l, wctype_l, strcasecmp_l, strcoll_l, strerror_l, strfmon_l,
 | 
						|
  strftime_l, strncasecmp_l, strxfrm_l, wcscasecmp_l, wcscoll_l,
 | 
						|
  wcstrncasecmp_l, wcstrxfrm_l.
 | 
						|
 | 
						|
  New API, GNU extensions: isascii_l, toascii_l, strptime_l, strtod_l,
 | 
						|
  strtof_l, strtol_l, strtold_l, strtoll_l, strtoul_l, strtoull_l, wcsftime_l,
 | 
						|
  wcstod_l, wcstof_l, wcstol_l, wcstold_l, wcstoll_l, wcstoul_l, wcstoull_l.
 | 
						|
 | 
						|
- locale(1) now supports a -i/--input option to fetch the current input
 | 
						|
  locale (this is basically equivalent to the current keyboard layout setting).
 | 
						|
 | 
						|
- New API: pthread_getname_np, pthread_setname_np.
 | 
						|
 | 
						|
 | 
						|
What changed:
 | 
						|
-------------
 | 
						|
 | 
						|
- Drop support for Windows XP and Windows Server 2003/2003 R2.
 | 
						|
 | 
						|
- Drop support for very old SUNWNFS filesystem.
 | 
						|
 | 
						|
- Further header file improvements in terms of feature test macros.
 | 
						|
 | 
						|
- Raise number of supported partitions per disk (for raw access) to 63.
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin/2016-06/msg00136.html
 | 
						|
 | 
						|
- Add a workaround for filesystems not supporting the FileAllInformation
 | 
						|
  info class.
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin/2016-07/msg00350.html
 | 
						|
 | 
						|
- Support AzureAD accounts.
 | 
						|
 | 
						|
- "nobody" account support for WinFSP.
 | 
						|
 | 
						|
 | 
						|
Bug Fixes
 | 
						|
---------
 | 
						|
 | 
						|
- Try to avoid spurious DENY ACEs when creating files in directories
 | 
						|
  with non-POSIX-like (rather: Windows-like) permissions.
 | 
						|
  Addresses: Report and reproducer on IRC.
 | 
						|
 | 
						|
- Make sure ldd(1) does not exit prematurely when enumerating DLLs.
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin/2016-05/msg00185.html
 | 
						|
 | 
						|
- Fix strace timer output in child process.
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin/2016-07/msg00067.html
 | 
						|
 | 
						|
- Change blkcnt_t to signed type per POSIX.
 | 
						|
 | 
						|
- Fix definition of SSIZE_MAX on 32-bit systems.
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin/2016-07/msg00179.html
 | 
						|
 | 
						|
- Fix transposing invalid chars in Windows filenames on relative paths.
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin/2016-07/msg00193.html
 | 
						|
 | 
						|
- Don't raise SIGTTIN from select(2)/poll(2).
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin-developers/2016-07/msg00004.html
 | 
						|
 | 
						|
- Use correct FPU rounding mode in truncl.
 | 
						|
  Addresses: https://rt.perl.org/Public/Bug/Display.html?id=128665
 | 
						|
 | 
						|
- Fix a regression in ioctl(fd, FIONREAD, ...) introduced in Cygwin 2.5.0.
 | 
						|
  This only affects 64 bit Cygwin.
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin/2016-07/msg00001.html
 | 
						|
 | 
						|
- Handle "clear screen" escpae sequence in console window more reliable.
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin/2016-07/msg00310.html
 | 
						|
 | 
						|
- Allow kill(pid, <anysig>) on zombies to return successfully, rather than
 | 
						|
  only kill(pid, 0), to align behaviour with POSIX requirements.
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin/2016-08/msg00188.html
 | 
						|
 | 
						|
- Fix off_t typedef on 64-bit.
 | 
						|
  Addresses: https://sourceware.org/ml/newlib/2016/msg01028.html
 | 
						|
 | 
						|
- Fix weird problem running passwd on newer Windows versions.
 | 
						|
  Addresses: https://cygwin.com/ml/cygwin/2016-08/msg00608.html
 |