This is the mail archive of the
mailing list for the Cygwin project.
RE: Unable to run sshd under a domain sshd_server account [SOLVED]
> > > > > The application event log has this error message:
> > > > > The description for Event ID ( 0 ) in Source ( sshd ) cannot
> > > > > found. The local computer may not have the necessary registry
> > > > > information or message DLL files to display messages from a
> > > > > computer. You may be able to use the /AUXSOURCE= flag to
> > > > > this description; see Help and Support for details. The
> > > > > information is part of the event: sshd: PID 2068: service
> > > > > failed: signal 11 raised.
> > >
> > > Oops -- a segfault. This is definitely a bug somewhere -- no
> > > what, sshd should not segfault.
> > Agreed.
> Those problems are usually very hard to reproduce. If you're set up
> build a debug version of sshd and run it under gdb to reproduce the
> a stack backtrace would be helpful.
Unfortunately I am not setup to build a debug version. But I have
tested on a new machine and can report that it happens if user running
the sshd service does not have write permission to the /var/log/sshd.log
file. In this case it actually seems easy to reproduce.
> > > > In the other thread, Larry Hall pointed me to the FAQ
> > > > http://cygwin.com/faq/faq-nochunks.html#faq.using.shares. One of
> > > > suggestions was to "provide your password to a net use command".
> > > > was unable to make that work, because "net use" never asks for
> > > > password:
> > > > $ net use \\other\f$
> > > > System error 67 has occurred.
> > > >
> > > > The network name cannot be found.
> > >
> > > See "net help use":
> > > The syntax of this command is:
> > > NET USE
> > > [devicename | *] [\\computername\sharename[\volume] [password |
> > > ...
> > > password Is the password needed to access the shared
> > > resource.
> > > * Produces a prompt for the password. The
> > > not displayed when you type it at the password
> > > prompt.
> > >
> > > So, you need to type "net use '\\other\f$' \*" (note the
> > escaped/quoted
> > > '*'), and it'll prompt you for the password.
> > OK. So on a console cygwin shell:
> > $ net use '\\other\f$'
> > The command completed successfully.
> > But when run in a ssh shell (using the sshd_server account):
> > $ net use '\\other\f$' \*
> > Type the password for \\zoom\f$: System error 1326 has occurred.
> > Logon failure: unknown user name or bad password.
> Umm, yes. Sorry. I forgot that sshd runs in a pty, which is a pipe
> far as Windows is concerned. And 'net' cannot read the password from
> > Same thing happens with:
> > $ net use '\\other\f$' '*'
> > $ net use '\\other\f$' "*"
> Actually supplying the password instead of '*' should work.
OK. The pipe thing makes sense. But supplying the password does not
$ net use '\\other\f$' MyPassword1
System error 1909 has occurred.
The referenced account is currently locked out and may not be logged
First American - Proxix Solutions
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html