X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: David Abrahams <dave@boost-consulting.com>
Subject:  Re: sshd: can't mount samba shares
Date:  Tue, 13 Mar 2007 12:51:52 -0400
Lines: 23
Message-ID:  <87mz2haxxz.fsf@valverde.peloton>
References:  <20070305102955.GA21715@calimero.vinschen.de> <87lkibg60i.fsf@valverde.peloton> <20070305141920.GB23520@calimero.vinschen.de> <87y7ma8fez.fsf@valverde.peloton> <20070307140845.GO24859@calimero.vinschen.de> <87zm6o666m.fsf@valverde.peloton> <87odn22u0h.fsf@valverde.peloton> <20070312124350.GB30716@calimero.vinschen.de> <876495i7ms.fsf@valverde.peloton> <87zm6hgsh4.fsf@valverde.peloton> <20070313155857.GG24859@calimero.vinschen.de>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.0 (gnu/linux)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


on Tue Mar 13 2007, Corinna Vinschen <corinna-cygwin-AT-cygwin.com> wrote:

> Which reminds me... what you could try is this:  Have a look into the
> /bin/ssh-host-config script and create a user sshd_server the same way
> as that script does on Windows 2K3 and newer.  The simplest way would
> be to remove the sshd service entirely (cygrunsrv -E sshd) and to tweak
> the ssh-host-config script so that it treats XP the same way as 2K3
> (change line 115 to test for "5.1" instead of "5.2").  Then use
> ssh-host-config again to install the sshd service and let it create
> the sshd_server user account the same way as it did on your XP 64
> machine.  You will still see the wrong USERDOMAIN and USERNAME values
> when using passwordless login, but you're running in a valid normal
> logon session.  Maybe that helps.

Works!  Why do you suppose that is?

(Thank you)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com


--
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/

