This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: cyglsa lsaauth failure


http://cygwin.com/ml/cygwin-announce/2010-04/msg00021.html

In particular,
========================================================================
==
NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE
NOTE

Cygwin 1.7.1 or earlier users of LSA authentication using the cyglsa.dll
or cyglsa64.dll files *must* replace the old cyglsa DLL with the new one
from this package, otherwise LSA authentication will fail with the new
1.7.3 Cygwin DLL.

This is unfortunately necessary, but it should be the last time for
quite some time.

DON'T FORGET TO REBOOT after replacing cyglsa.dll.
========================================================================
== 


Dave 


-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Tom Schutter
Sent: Tuesday, April 20, 2010 4:53 PM
To: cygwin@cygwin.com
Subject: cyglsa lsaauth failure

I have a machine where cron worked in 1.7.1, but now fails after an
upgrade to 1.7.5.  Using strace, I have determined that lsaauth
succeeded before, but it now fails.

This is the strace output from the Cygwin 1.7.1 cron:
   50 43500986 [main] cron 2092 cygsidlist::debug_print: -- ende sidlist
---
 8503 43509489 [main] cron 2092 lsaauth: 0x67C = lsaauth ()
  251 43509740 [main] cron 2092 load_registry_hive: User registry hive
for S-1-5-21-2555220796-769361577-1294736918-8718 already exists

This is the strace output from the Cygwin 1.7.5 cron:
   38 38536506 [main] cron 2612 cygsidlist::debug_print: -- ende sidlist
---
 3901 38540407 [main] cron 2612 lsaauth: LsaLogonUser: 0xC00000F1
   47 38540454 [main] cron 2612 seterrno_from_win_error:
/ext/build/netrel/src/cygwin-1.7.5-1/winsup/cygwin/sec_auth.cc:1143
windows error 87
   42 38540496 [main] cron 2612 geterrno_from_win_error: windows error
87 == errno 22
   38 38540534 [main] cron 2612 __set_errno: void
seterrno_from_win_error(const char*, int, DWORD):319 val 22
  276 38540810 [main] cron 2612 lsaauth: 0x0 = lsaauth ()
   70 38540880 [main] cron 2612 seteuid32: lsaauth failed, try
create_token.

Is there anything else that I can do to diagnose the problem?

Is there any way to enable more verbosity/logging in cyglsa?  It would
be helpful to know when login attempts are being made, if they are
successful, what the LsaLoginUser parameters are, and most importantly
any information as to why they fail.

--
Tom Schutter
First American Spatial Solutions
303-440-7272 x6822
512-977-6822

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]