Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Mon, 19 Jun 2000 23:08:27 +0400 From: Egor Duda X-Mailer: The Bat! (v1.41) Reply-To: Egor Duda Organization: DEO X-Priority: 3 (Normal) Message-ID: <9964.000619@logos-m.ru> To: cygwin CC: Corinna Vinschen Subject: Re[2]: OpenSSH 2.1 to Windows2000 In-reply-To: <394E673A.C5FA7EEF@vinschen.de> References: <394E673A DOT C5FA7EEF AT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi! Monday, 19 June, 2000 Corinna Vinschen corinna AT vinschen DOT de wrote: >> I'm not an expert on either CygWin or Win2k, but I did notice that >> Win2k has a function CreateLogonSession() that might be used to get >> ssh sessions into the NT box without the need for NT password >> authentication. I haven't really investigated any further since >> we're not using Win2k here. CV> If some kind soul could provide example code how to build CV> a LSA authentication package I would be glad. MS description CV> is not very instructive... i've tried to research this question some time ago, and real problem i couldn't overcome was not writing LSA auth, but calling it from user-space. Seems that LSALogonUser() call is available from kernel-space only. Microsoft uses special driver (ksecdd.sys) to do this call, and applications communicate with ksecdd.sys via undocumented LPC (Local Procedure Call) by some undocumented protocol. working examples of lsa coan be found in PlatformSDK. You can also get results of my (vain) attempts to make it work from http://www.logos-m.ru/~deo/data/lsa-test.tar.gz local authority dll builds ok, dumps info that it successfully registered, but client.exe fails -- it cannot call LSALogonUser from ntoskrnl.exe. i'll be very glad if it helps a bit... Egor. mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19 -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com