This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Unable to run sshd under a domain sshd_server account [SOLVED]
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