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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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