X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=NZfn/spB+VoklFTXJr5GPCgTcvdCXWFh+dx0hPJpL6J GLnwSoeBzMkaoKxJdlt7RXZWcHPYh7lOEjawjk4E/U4kzLCJgxYbBp2oWH9gFSaj sycIpqCzAaGm/PPIKdxILsOYa11yb6H4wP2kCFYbMa89WWNeWVvU8ygj9BjFkGp0 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=XkE2TuGXRUzkqcRc4SB120EXTjM=; b=BMZmivkz12+oQmzho bicwhMqpvyLgON086omyezxRINJJJYxgZOQEngbyc0pp/O7iQJDFmzSYYw/Y/ATy TeChR+omJfoFP252z8dsn3VCDN1igNbzis0d6awTPHU86Yk/3foGeukoi5zWD/GY xjy48Wuq1MPY9tNILoymjD3DHs= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: limerock01.mail.cornell.edu X-CornellRouted: This message has been Routed already. Message-ID: <534DA152.2080304@cornell.edu> Date: Tue, 15 Apr 2014 14:14:58 -0700 From: Ken Brown User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Still testing needed: New passwd/group AD/SAM integration References: <20140410145323 DOT GB2437 AT calimero DOT vinschen DOT de> <53487C6E DOT 9010905 AT cornell DOT edu> <20140412111325 DOT GA3271 AT calimero DOT vinschen DOT de> <53494BAA DOT 3020005 AT cornell DOT edu> In-Reply-To: <53494BAA.3020005@cornell.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes I've come across a glitch involving sshd and cygserver. I normally have both running, but I've discovered that I have to start sshd before I start cygserver, or else I have problems (can't ssh from a non-administrator account to an administrator account). Here are the details on 64 bit Cygwin; I haven't tested 32 bit: I've installed the full 2014-04-12 snapshot and removed /etc/passwd and /etc/group. I have an ordinary user kbrown and an administrator user kbrown-admin. I now do the following: 1. Start sshd. 2. Start cygserver. 3. Start a Cygwin Terminal as user kbrown. 4. ssh into the kbrown-admin account (with publickey authentication used by default). $ ssh kbrown-admin AT localhost Enter passphrase for key '/home/kbrown/.ssh/id_rsa': setsockopt IPV6_TCLASS 16: Protocol not available: Last login: Tue Apr 15 13:57:12 2014 from fe80::9956:cbba:6928:151c%11 Everything is fine. 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 AT localhost kbrown-admin AT localhost's password: Permission denied, please try again. kbrown-admin AT 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. Ken -- 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