delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/13/10:14:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 13 Jan 2003 10:01:08 -0500
From: "Pierre A. Humblet" <pierre DOT humblet AT ieee DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Paasword validation in Windows Domain ?
Message-ID: <20030113150107.GA389283@WORLDNET>
References: <OF0E8587E0 DOT DB26B3D6-ON41256CAD DOT 0035481E-C1256CAD DOT 0035A775 AT diamond DOT philips DOT com>
Mime-Version: 1.0
In-Reply-To: <OF0E8587E0.DB26B3D6-ON41256CAD.0035481E-C1256CAD.0035A775@diamond.philips.com>
User-Agent: Mutt/1.4i

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019