From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Windows Guest Account Locked SSH
Date: Wed, 06 Nov 2013 15:24:00 -0000 [thread overview]
Message-ID: <527A5EE5.2070206@cygwin.com> (raw)
In-Reply-To: <3B5A3AEF8D16D1489ECFF9EB07DA0B99976FA3EB@CBPDEXCHAS01.gmpnt.rootdom.gmp.police.cjx.gov.uk>
On 11/6/2013 5:26 AM, Jez.Noake@gmp.police.uk wrote:
> I have a similar problem to this post:
> http://cygwin.com/ml/cygwin/2012-06/msg00507.html
>
> except that the version I am using is 1.7.25, downloaded relatively recently.
>
> It seems that making an ssh connection to the CygWin host, using RSA
> certificate to achieve passwordless connection, causes the SSHD service on
> the host to perform an authentication using the account that the service is
> hosted with ... but that it apparently does not qualify the account with a
> domain (ie. the local machine) and apparently the assumption is that it
> should be a DOMAIN account - there was no DOMAIN\CYG_SERVER account so it
> fails and I assume it then tries DOMAIN\Guest as a fall-back, with the wrong
> password and therefore locks out DOMAIN\Guest
>
> So I created a DOMAIN\CYG_SERVER account with the same password as
> <LOCALDOMAIN>\CYG_SERVER and presto!, SSH connections from my client with no
> domain guest lockout.
>
> I have googled to infinity and beyond and found only a few references to
> this problem, and none of them suggest this or any other solution, merely
> that you can try this and that (one relating to duplicated SID's - not the
> reason)
<snip>
> Can anyone specify a better solution than creating a matching domain account?
>
> I can't help thinking that I have missed some configuration item that
> would deal with this directly.
No, this is exactly the way to do it. ssh-host-config cannot create a
privileged domain account when run as any user from any machine so it
doesn't try to. If you need a domain user to be able to authenticate with
pubkey, you have to do what you did to make that work. The side effect
of locking the domain guest account is a new twist I hadn't heard of
before but then again, it is Windows we're talking about. ;-)
--
Larry
_____________________________________________________________________
A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
next prev parent reply other threads:[~2013-11-06 15:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <3B5A3AEF8D16D1489ECFF9EB07DA0B99976FA34A@CBPDEXCHAS01.gmpnt.rootdom.gmp.police.cjx.gov.uk>
[not found] ` <3B5A3AEF8D16D1489ECFF9EB07DA0B99976FA3B2@CBPDEXCHAS01.gmpnt.rootdom.gmp.police.cjx.gov.uk>
[not found] ` <3B5A3AEF8D16D1489ECFF9EB07DA0B99976FA3D4@CBPDEXCHAS01.gmpnt.rootdom.gmp.police.cjx.gov.uk>
2013-11-06 10:26 ` Jez.Noake
2013-11-06 11:18 ` Adam Dinwoodie
2013-11-06 15:24 ` Larry Hall (Cygwin) [this message]
2013-11-06 22:54 ` Christopher Faylor
2012-06-27 12:13 George Luiz Bittencourt
2012-06-27 18:24 ` David Sastre Medina
2012-07-07 9:48 ` Linda Walsh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=527A5EE5.2070206@cygwin.com \
--to=reply-to-list-only-lh@cygwin.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).