delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/08/30/16:55:45

From: bilbo AT ameritech DOT net (Dan Maynard)
Subject: Re: winnt/95 authentication
30 Aug 1997 16:55:45 -0700 :
Sender: mail AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <Pine.LNX.3.95.970824114939.6451A-100000.cygnus.gnu-win32@hobbit1.shire.net>
X-Authentication-Warning: hobbit1.shire.net: bilbo owned process doing -bs
X-Sender: bilbo AT hobbit1 DOT shire DOT net
Original-To: gnu-win32 AT cygnus DOT com
Original-cc: Ian Collins <Ian AT kiwiplan DOT co DOT nz>
In-Reply-To: <3.0.3.32.19970821192623.0069e5d8@pop.mindspring.com>
MIME-Version: 1.0
Original-Sender: owner-gnu-win32 AT cygnus DOT com

> >Is there any way of authenticating a password against windows nt server
> >domain security in gnu-win32?

snippet from Sergey's patch to login.c:

============================

HANDLE hToken;
char *username;
char *pp;		<=- password

	if (LogonUser(username, NULL, pp, LOGON32_LOGON_INTERACTIVE,
		LOGON32_PROVIDER_DEFAULT, &hToken))

============================

returns:
	nonzero success
	zero failed


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019