From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5011 invoked by alias); 14 May 2008 08:57:56 -0000 Received: (qmail 5002 invoked by uid 22791); 14 May 2008 08:57:56 -0000 X-Spam-Check-By: sourceware.org Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 14 May 2008 08:57:37 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 68C646D434D; Wed, 14 May 2008 10:57:34 +0200 (CEST) Date: Wed, 14 May 2008 11:48:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Unable to run sshd under a domain sshd_server account [SOLVED] Message-ID: <20080514085734.GJ18799@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <3B3EFBD49B94AD4DBB7B7097257A8046DD020D@FDSVAST06SXCH01.flooddata.net> <20080513073720.GA22193@calimero.vinschen.de> <3B3EFBD49B94AD4DBB7B7097257A8046DD02FC@FDSVAST06SXCH01.flooddata.net> <20080513163756.GC18799@calimero.vinschen.de> <3B3EFBD49B94AD4DBB7B7097257A8046DD031A@FDSVAST06SXCH01.flooddata.net> <20080513165732.GF18799@calimero.vinschen.de> <3B3EFBD49B94AD4DBB7B7097257A8046DD0327@FDSVAST06SXCH01.flooddata.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3B3EFBD49B94AD4DBB7B7097257A8046DD0327@FDSVAST06SXCH01.flooddata.net> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2008-05/txt/msg00256.txt.bz2 On May 13 12:07, Schutter, Thomas A. wrote: > Corinna Vinschen wrote: > > You're jumping to conclusions. The reason why USERNAME and USERDOMAIN > > are wrong I explained in my first reply. Both values don't matter > when > > Cygwin tries to connect to the PDC, as long as the /etc/passwd > pw_gecos > > field contains a valid U-DOMAIN\username entry. This information is > > used to connect to the PDC. > > > > > > Corinna > > OK. My /etc/passwd file was generated with the "mkpasswd -l -d" > command. > The /etc/passwd pw_gecos field for tschutter is just > "U-FLOODDATA\tschutter". So what debugging step can I take next? Try to find out what goes wrong. Can Cygwin get the DC for the domain? An strace of an sshd session will help, look for an error message in a function called get_logon_server. Does the DC refuse information? You should find something in the DC's event logs. Btw., a workaround for such problems is to add the user to the appropriate groups in /etc/group. This will give you a nice user token even if the DC is not cooperative. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/