From: bilbo@ameritech.net (Dan Maynard)
Subject: Re: winnt/95 authentication
30 Aug 1997 16:55:45 -0700
Sender: mail@cygnus.com
Approved: cygnus.gnu-win32@cygnus.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@hobbit1.shire.net
Original-To: gnu-win32@cygnus.com
Original-cc: Ian Collins <Ian@kiwiplan.co.nz>
In-Reply-To: <3.0.3.32.19970821192623.0069e5d8@pop.mindspring.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-Sender: owner-gnu-win32@cygnus.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@cygnus.com" with one line of text: "help".
