This is the mail archive of the cygwin@cygwin.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]
Other format: [Raw text]

Re: Paasword validation in Windows Domain ?


On Mon, Jan 13, 2003 at 10:45:14AM +0100, jurgen.defurne@philips.com wrote:
> Hello,
> 
> I want to know if it is possible using the Cygwin tools
> to validate a user/password against the domain
> a computer is in.

Yes, that's exactly what happens when you telnet or ssh,
providing a password.

Cygwin provides a function: 
cygwin_logon_user (user_pwd_entry, cleartext_password); 
See http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-SETUID
As indicated before, the user needs to be in passwd.

Pierre

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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