This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Still testing needed: New passwd/group AD/SAM integration

On Apr 16 08:32, Ken Brown wrote:
> On 4/16/2014 8:28 AM, Ken Brown wrote:
> >On 4/16/2014 2:35 AM, Corinna Vinschen wrote:
> >>On Apr 16 10:04, Corinna Vinschen wrote:
> >>>On Apr 15 14:14, Ken Brown wrote:
> >>>>I've come across a glitch involving sshd and cygserver.  [...]
> >>>>Now I close the Cygwin Terminal, stop both services, and restart
> >>>>them in the other order (cygserver first, then sshd).  Repeating
> >>>>steps 3 and 4, I can't login:
> >>>>
> >>>>$ ssh kbrown-admin@localhost
> >>>>kbrown-admin@localhost's password:
> >>>>Permission denied, please try again.
> >>>>kbrown-admin@localhost's password:
> >>>>
> >>>>Notice that (a) I didn't get a prompt for the passphrase for my ssh
> >>>>key, and (b) my password wasn't accepted.
> >>>
> >>>Thanks for the report, Ken.  I'll have a look.
> >>
> >>To clarify:  This is a non-domain machine, right?  And sshd is running
> >>under the cyg_server account while cygserver is running under the
> >>LocalSystem account?
> >
> >Yes to all.
> >
> >>I'm just testing this, only with a domain machine and domain accounts,
> >>and I can't reproduce this.  I have a bit of a problem to test this on a
> >>non-domain machine because my network is set up for domain machines...
> >>
> >>However, I found that I made a blatant mistake in cygserver.  The
> >>message length was computed one byte too short, so the trailing \0 in
> >>the passwd/group string wasn't transmitted.  This *might* be the cause
> >>for your problem.
> >>
> >>I just built a new snapshot.  Can you please try if this fixes it for
> >>you?  Make sure to use the new cygserver!
> >
> >Yes, that fixed it.  Thanks.
> >
> >>While I was at it, I also added a patch to get rid of the "setsockopt
> >>IPV6_TCLASS 16: Protocol not available" message.
> >
> >Good.  It's nice to see that anymore.
>                   ^
>                  not

Thanks for testing!  I had hoped that this is the culprit.   The
difference was obviously something realted to using or not using


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpJfNzUtbuzP.pgp
Description: PGP signature

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]