Mail Archives: cygwin-developers/2001/05/14/12:34:17
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.
- Raw text -