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: <015301c2baea$87aa1720$78d96f83@POMELLO> From: "Max Bowsher" To: , References: Subject: Re: Paasword validation in Windows Domain ? Date: Mon, 13 Jan 2003 09:59:57 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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. > > I would like to setup web service on the intranet, > which can only be used by certain persons. Since > I a have no interest in creating and maintaining a > user database, it would be nice if users of the > service can be prompted for their name and > password, and that I can validate these against > the current domain. AFAIK, you can almost do what you want. It should all work provided you keep your /etc/passwd up-to-date as you add and remove users. NB: Passwords are *not* stored in /etc/passwd, they are checked with Windows - i.e. what you want. I suggest that you look at mk{passwd,group} -d and see if you can work out an acceptable way of regenerating this on a schedule or when users are created/removed. Max. -- 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/