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 To: cygwin AT cygwin DOT com From: Liang Wang Subject: Re: OpenSSH Date: Thu, 28 Oct 2004 22:57:10 +0800 Lines: 31 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: 61.170.231.211 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (windows-nt) X-IsSubscribed: yes rickiez writes: > I have a 2000 server running Cygwin and SSH and it has been working fine for a > year or so, but I went to add a user to Active Directory and I can see the user > in /etc/passwd Do you mean you add user information into /etc/passwd manually? IMO, you should do as following: $ mkpasswd -l -c >/etc/passwd $ mkgroup -l -c >/etc/group Use -d option if you want to add domain user. > but when I try to log in via SSH it denies me and logs it in > event viewer as: > > The description for Event ID ( 0 ) in Source ( sshd ) cannot be found. The local > computer may not have the necessary registry information or message DLL files to > display messages from a remote computer. The following information is part of > the event: sshd : PID 2348 : Failed password for illegal user "username" from > 192.168.0.12 port 1079. > > > > I replaced the real username with "username" for security reasons. > > > > > Any help is greatly appreciated. -- 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/