This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: winnt/95 authentication
- To: gnu-win32 at cygnus dot com
- Subject: Re: winnt/95 authentication
- From: Dan Maynard <bilbo at ameritech dot net>
- Date: Sun, 24 Aug 1997 12:13:09 +0000 (GMT)
- cc: Ian Collins <Ian at kiwiplan dot co dot nz>
> >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".