This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: winnt/95 authentication



> >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".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]