delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/28/05:55:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 28 Jan 2010 11:55:22 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: document side effects of incomplete implementations in regtool and cyglsa-config, suggest a manual restore procedure
Message-ID: <20100128105522.GA6734@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <468537 DOT 57513 DOT qm AT web88303 DOT mail DOT re4 DOT yahoo DOT com>
MIME-Version: 1.0
In-Reply-To: <468537.57513.qm@web88303.mail.re4.yahoo.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jan 27 12:24, Ilguiz Latypov wrote:
> 
> 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.

Here's another idea.  Since you're the one having the problem and
being able to reproduce it, why don't you fix the cyglsa-config
script instead to recognize this situation and handle it gracefully?
That would be much more helpful than a longish paragraph explaining
what could go wrong if it goes wrong.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019