X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Subject: RE: Unable to run sshd under a domain sshd_server account [SOLVED] Date: Tue, 13 May 2008 11:41:56 -0500 Message-ID: <3B3EFBD49B94AD4DBB7B7097257A8046DD0311@FDSVAST06SXCH01.flooddata.net> In-Reply-To: <4829C1BC.4050705@cygwin.com> References: <3B3EFBD49B94AD4DBB7B7097257A8046DD020D AT FDSVAST06SXCH01 DOT flooddata DOT net> <3B3EFBD49B94AD4DBB7B7097257A8046DD0232 AT FDSVAST06SXCH01 DOT flooddata DOT net> <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> From: "Schutter, Thomas A." To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id m4DGgpn1009655 Larry Hall wrote: > Schutter, Thomas A. wrote: > > Larry Hall wrote: > >> Schutter, Thomas A. wrote: > >>>> Actually supplying the password instead of '*' should work. > >>>> Igor > >>> OK. The pipe thing makes sense. But supplying the password does > not > >>> work either: > >>> $ net use '\\other\f$' MyPassword1 > >>> System error 1909 has occurred. > >>> > >>> The referenced account is currently locked out and may not be > >> logged > >>> on to. > >> Actually, that means you've had too many login failures and Windows > has > >> locked your account. You need to wait a while and/or contact your > >> admin to get this resolved. Once done, the above should work. > > > > I don't think so. I just tried and I can login to the account just > fine > > on both machines. But I still get the same error when I run the > > "net use" command from a ssh shell. Also, the "net use" command > works if > > I run it from a console cygwin shell. > > > > I think that the "referenced account" is "sshd_server". Look at what > > happens with this command from a console cygwin shell: > > $ net use '\\other\f$' /user:sshd_server > > The password or user name is invalid for \\other\f$. > > > > Enter the password for 'sshd_server' to connect to 'other': > > System error 1909 has occurred. > > > > The referenced account is currently locked out and may not be > logged on to. > > > > Which is the same error when run without the /user option from a ssh > shell. > > 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. -- Tom Schutter First American - Proxix Solutions (512) 977-6822