delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/13/13:50:36

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Unable to run sshd under a domain sshd_server account [SOLVED]
Date: Tue, 13 May 2008 12:49:00 -0500
Message-ID: <3B3EFBD49B94AD4DBB7B7097257A8046DD0346@FDSVAST06SXCH01.flooddata.net>
In-Reply-To: <4829CEAD.9010001@cygwin.com>
References: <3B3EFBD49B94AD4DBB7B7097257A8046DD020D AT FDSVAST06SXCH01 DOT flooddata DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0805121820090 DOT 11953 AT access1 DOT cims DOT nyu DOT edu> <3B3EFBD49B94AD4DBB7B7097257A8046DD0232 AT FDSVAST06SXCH01 DOT flooddata DOT net> <Pine DOT GSO DOT 4 DOT 63 DOT 0805121915470 DOT 11953 AT access1 DOT cims DOT nyu DOT edu> <3B3EFBD49B94AD4DBB7B7097257A8046DD02F7 AT FDSVAST06SXCH01 DOT flooddata DOT net> <4829BD0B DOT 4070705 AT cygwin DOT com> <3B3EFBD49B94AD4DBB7B7097257A8046DD0304 AT FDSVAST06SXCH01 DOT flooddata DOT net> <4829C1BC DOT 4050705 AT cygwin DOT com> <3B3EFBD49B94AD4DBB7B7097257A8046DD0311 AT FDSVAST06SXCH01 DOT flooddata DOT net> <4829CEAD DOT 9010001 AT cygwin DOT com>
From: "Schutter, Thomas A." <tschutter AT proxix DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id m4DHoWNm017070

Larry Hall wrote:
> Schutter, Thomas A. wrote:
> > Larry Hall wrote:
> 
> <snip>
> 
> >> Ah, good point.  I missed that the "/user" option wasn't being used.
> >> You
> >> need/want that.
> >
> > Ug.  Still no go.  From a console cygwin shell:
> >   $ net use '\\other\f$' MyPassword /user:tschutter
> >   The command completed successfully.
> >   $ net use '\\other\f$' /delete
> >   \\other\f$ was deleted successfully.
> >
> > And immediately followed by this from a ssh cygwin shell:
> >   $ net use '\\other\f$' MyPassword /user:tschutter
> >   System error 1326 has occurred.
> >
> >   Logon failure: unknown user name or bad password.
> 
> Is 'tschutter' a local or domain user?  I've lost track through this
> thread.
> If it's a domain user, try using the 'domain\user' syntax.

tschutter is a domain user.  So from a ssh cygwin shell:
  $ net use '\\other\f$' MyPassword '/user:FLOODDATA\tschutter'
  The command completed successfully.

So I would suggest that the FAQ entry about shares at
http://cygwin.com/faq/faq-nochunks.html#faq.using.shares should be
expanded.  It should mention that the '*' method of specifying the
password will not work, and that you must give the /user option.

--
Tom Schutter
First American - Proxix Solutions
(512) 977-6822


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019