Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: From: "Habermann, David (DA)" To: cygwin AT cygwin DOT com Subject: RE: Paasword validation in Windows Domain ? Date: Mon, 13 Jan 2003 11:26:42 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Note-from-DJ: This may be spam It should be noted that this does not work if running on W98, it must be on XP or NT (someone please correct me if I'm wrong here). David Habermann -----Original Message----- From: Pierre A. Humblet [mailto:pierre DOT humblet AT ieee DOT org] Sent: Monday, January 13, 2003 10:01 AM To: cygwin AT cygwin DOT com Subject: Re: Paasword validation in Windows Domain ? On Mon, Jan 13, 2003 at 10:45:14AM +0100, jurgen DOT defurne AT philips DOT 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/ -- 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/