www.delorie.com/archives/browse.cgi | search |
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. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |