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