Subject: Re: winnt/95 authentication
From: [email-masked] (Dan Maynard)

30 Aug 1997 16:55:45 -0700
Sender: [email-masked]
Approved: [email-masked]
Distribution: cygnus
Message-ID: <[email-masked]>
X-Authentication-Warning: hobbit1.shire.net: bilbo owned process doing -bs
X-Sender: [email-masked]
Original-To: [email-masked]
Original-cc: Ian Collins <[email-masked]>
In-Reply-To: <[email-masked]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Original-Sender: [email-masked]

> >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
"[email-masked]" with one line of text: "help".