Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
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
Date: Wed, 12 Jan 2005 12:07:34 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: cannot access $HOME (on Samba) via ssh
Message-ID: <20050112110734.GK23702@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <41E4F105.1080409@coware.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <41E4F105.1080409@coware.com>
User-Agent: Mutt/1.4.2i

On Jan 12 10:42, Harald Dunkel wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Igor Pechtchanski wrote:
> 
> | Hmm, weird.  Can you, from an ssh session, run "net use
> | '\\bierfass\dunkel' /user:dunkel '*'" and type in your password (assuming
> | your username is 'dunkel' and that this is the name you normally use to
> | authenticate with the Samba server)?  Does that command fail?  If not, are
> | you able to access your home directory after issuing that command?
> 
> Yes, it fails. I get
> 
> 
> $ net use '\\bierfass\dunkel' /user:dunkel '*'
> Geben Sie das Kennwort fr \\bierfass\dunkel ein: Systemfehler 1312 
> aufgetreten.
> 
> Eine angegebene Anmeldesitzung ist nicht vorhanden. Sie wurde gegebenenfalls
> bereits beendet.
> 
> 
> Sorry, but I've got just a German version of Win2k. It says
> something like
> 
> 
> $ net use '\\bierfass\dunkel' /user:dunkel '*'
> Please enter the passwort for \\bierfass\dunkel: System error 1312 occured.
> 
> The specified login session does not exist. Maybe the session was
> already terminated.
> 
> 
> There was no time to enter a password. The system error
> message came up immediately.

Yes, that's Windows for you.  The interactive features don't like to
work in pseudo ttys.  Try this:

  net use '\\bierfass\dunkel' '/user:DOMAIN\dunkel' 'your-password'

Assuming the name of your domain is DOMAIN.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

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

