delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/18/11:34:01

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <39240BCC.25EDAAE8@vinschen.de>
Date: Thu, 18 May 2000 17:27:08 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin <cygwin AT sourceware DOT cygnus DOT com>
Organization: Cygnus Solutions, a Red Hat Company
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Olivier Jacquemin <Olivier DOT Jacquemin AT DialogSystems DOT be>
CC: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Login incorrect
References: <F1BF31E0C22AD2118B3B00805FCA4F95153FB2 AT MAIL1>

Olivier Jacquemin wrote:
> 
> Hello,
> 
> The login command does not work on my PC, the only result I can get is
> "Login incorrect".  My goal is to be able to log in using my usual NT
> _domain_ name and password (and ultimately to use remote access with rlogin
> or ftp).
> 
> In the /etc/passwd file, I tried both modifications proposed:
> <domain name>\<user name> at the beginning of the line, or
> U-<domain name>\<user name> just before ",S-..."
> Nothing seems to work.

Do you set the CYGWIN environment variable to contain
the word `ntsec'? You have to switch on the ntsec option
to get the U- and S- options in /etc/passwd to work.

You have to set that in the NT environment as I pointed out
in the today's thread
	"IMPORTANT: Installing inetd or sth else as service"
in the cygwin mailing list.

> What am I supposed to enter at the login prompt after running the login
> command ? Is it exactly the same (case-sensitive) as the NT user name that I
> use to log in the NT domain ?

No! You may use your name which is given in the pw_name
field in your passwd file, as described in the login README.

Imagin the example of a NT user "JohnDoe" in domain "BIGBROTHER".
You want to use the name "john" under Cygwin. The passwd file
looks like:

	john::123:111:John Doe,U-BIGBROTHER\JohnDoe,S-1-5-....

and you have to login with the name 

	john

and the NT password of the user

	JohnDoe

Ok?

> What about NT priviledges ? Do I need special priviledges to set up all this
> ?

Please, read the README files for inetutils and login.
They are part of the binary tar files and will be unpacked
in the / directory (not _that_ skillful solution, I know).

Hope, that helps,
Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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