delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/15/15:03:19

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.0.1.1.0.20040315145621.03405738@127.0.0.1>
X-Sender:
Date: Mon, 15 Mar 2004 15:00:37 -0500
To: "Calvin Smith" <exnihilo4 AT myrealbox DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <cygwin-lh AT cygwin DOT com>
Subject: Re: re: windows authentication for cygwin sshd
In-Reply-To: <1079379808.c833a59cexnihilo4@myrealbox.com>
References: <1079379808 DOT c833a59cexnihilo4 AT myrealbox DOT com>
Mime-Version: 1.0

If the user you're trying to access the domain with is not a valid domain
user, then you will have problems like this.  You don't need to be the 
domain administrator to run 'mkpasswd' with '-d' but you will need to 
run it as a user that's a member of the domain.

Larry


At 02:43 PM 3/15/2004, you wrote:
>Thanks for the information. When I tried to run mkpasswd, I got the following error message:
>
>mkpasswd: [1326] Logon failure: unknown user name or bad password.
>
>I looked in the man page and didn't see anything about using a username and password.
>
>Is this error message familiar to anyone? Do I have to login as a domain administrator (which I am not) to run this command successfully? I was trying to run it as a local administrator.
>
>thanks
>
>
>-----Original Message-----
>From: "Matt Berney" <mberney AT polyserve DOT com>
>To: <exnihilo4 AT myrealbox DOT com>, <cygwin AT cygwin DOT com>
>Date: Mon, 15 Mar 2004 10:51:59 -0800
>Subject: re: windows authentication for cygwin sshd
>
>Calvin,
>
>You can update the /etc/passwd file and /etc/group file with the domain users and groups with the following command:
>
>cd /etc
>/usr/bin/mkpasswd -l -g -d > passwd
>/usr/bin/mkgroup -l -d > group
>
>net stop sshd && net start sshd
>
>Use 'man mkpasswd' & 'man mkgroup' for help.
>
>--Matt
>
>
>
>
>
>
>--
>Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>Problem reports:       http://cygwin.com/problems.html
>Documentation:         http://cygwin.com/docs.html
>FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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