This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Paasword validation in Windows Domain ?
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.
>
> 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/