document side effects of incomplete implementations in regtool and cyglsa-config, suggest a manual restore procedure

Ilguiz Latypov ilatypov@infradead.org
Wed Jan 27 22:21:00 GMT 2010


The current cyglsa-config script does not detect a failure in regtool that cannot read the LSA Authentication Packages registry entry,

  $ regtool get /HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Lsa/Authentication\ Packages 
  Error (2): The system cannot find the file specified.

  $ cat /proc/registry/HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control/Lsa/Authentication\ Packages 

  $ reg query 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa' /v 'Authentication Packages'

  ! REG.EXE VERSION 3.0

  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
      Authentication Packages     REG_SZ  msv1_0

As a consequence, cyglsa-config drops "msv1_0" from the key value because it succeeds in setting it with the wrong set of values.

(I am not sure why my entry has type REG_SZ while I see online posts mentioning type REG_MULTI_SZ).

Whether regtool and cyglsa-config are fixed or not, I am suggesting to document the side effects resulting from the corrupt entry value or from the possible bugs in the added DLL.  I spent many hours trying to find the cause of these effects.  The suggested documentation addition is attached.

-- 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch-bad-cyglsa-side-effects-ntsec.sgml.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100127/4d207016/attachment.txt>
-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list