Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Date: Mon, 14 May 2001 18:15:27 +0200 From: Corinna Vinschen To: cygdev Subject: Re: secur32.dll not present on winnt 4.0 sp 5 Message-ID: <20010514181527.U5386@cygbert.vinschen.de> Reply-To: cygdev Mail-Followup-To: cygdev References: <72348772478 DOT 20010514174143 AT logos-m DOT ru> <20010514161552 DOT B29465 AT cygbert DOT vinschen DOT de> <132352071682 DOT 20010514183642 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <132352071682.20010514183642@logos-m.ru>; from deo@logos-m.ru on Mon, May 14, 2001 at 06:36:42PM +0400 On Mon, May 14, 2001 at 06:36:42PM +0400, egor duda wrote: > Hi! > > Monday, 14 May, 2001 Corinna Vinschen vinschen AT redhat DOT com wrote: > > CV> On Mon, May 14, 2001 at 05:41:43PM +0400, egor duda wrote: > >> for now, is it possible to conditionalize LSA stuff so that it has > >> been called only if secure32.dll is available? > > CV> I have just checked in a patch. Could you please try if that > CV> works for you? It tests whether Secur32.dll could be loaded > CV> or not. > > doesn't it fire api_fatal () in std_dll_init if LoadLibrary fails? No. The symbols are loaded with LoadDLLfuncEx(name, n, dllname, notimp) with notimp set to 1. That results in the call returning 0 and GetLastError is set to ERROR_PROC_NOT_FOUND. I'm now checking for that and returning INVALID_HANDLE then. > even after i remove LSA* functions from autoload.cc, sshd seems to > fail to change user context. No, that can't work. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc.