From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11138 invoked by alias); 16 May 2014 20:35:27 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 11085 invoked by uid 89); 16 May 2014 20:35:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f178.google.com Received: from mail-ig0-f178.google.com (HELO mail-ig0-f178.google.com) (209.85.213.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 16 May 2014 20:35:20 +0000 Received: by mail-ig0-f178.google.com with SMTP id hl10so1292235igb.17 for ; Fri, 16 May 2014 13:35:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=RLvKngzyW5xG4Pov+z92Syw8UYw4LFuurNlu2dueEQ4=; b=WXy3/d+N21enCPOpp1auFO4Hz06BXywiyf/Flt8Va3oWqiH26K90bV9sztau/OFzpk D3gV7nFQSoHWZuw0T6jRjhjvK4DkodRg9ZaRqOKUtuyq9SoyzjBK9VnIoHa20tZ5Mdhg Nix2wC7u4A53Srg9a5/4dPVwM6I+p7zZ5VH4cwQvYHiqe/oavQC961u94/pf/V8ovkK9 Wi+tMpnx99jBjbKt8FoKydgj3UeL+xrIwYlUYEL4r0ApRLiwONzXdrWCysFMNZQqiKp1 X48EkVKusDJJGCLQm3gDroiaTG8JT2jFLvveGBhIa5qgH5KfySL3BU65cSFwFs5ph/Kr BvoQ== X-Gm-Message-State: ALoCoQlSzrEDre8Iuu5TgrHKe8TGTDK0+r9f4i6BpUtxhP6N7QwpW+F/bgqu3AUgUvSWvYy6eWdm X-Received: by 10.50.66.174 with SMTP id g14mr55027508igt.44.1400272518296; Fri, 16 May 2014 13:35:18 -0700 (PDT) Received: from [192.168.2.237] (76-219-158-219.lightspeed.iplsin.sbcglobal.net. [76.219.158.219]) by mx.google.com with ESMTPSA id e6sm250480igq.6.2014.05.16.13.35.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 16 May 2014 13:35:17 -0700 (PDT) Message-ID: <5376767D.2010504@breisch.org> Date: Fri, 16 May 2014 22:08:00 -0000 From: "Chris J. Breisch" User-Agent: Postbox 3.0.9 (Windows/20140128) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: More testing needed: New passwd/group AD/SAM integration References: <20140513145247.GQ2436@calimero.vinschen.de> <20140513161626.GT2436@calimero.vinschen.de> <20140513164122.GU2436@calimero.vinschen.de> <20140513191732.GX2436@calimero.vinschen.de> <20140514113659.GD2436@calimero.vinschen.de> <20140514150654.GF2436@calimero.vinschen.de> In-Reply-To: <20140514150654.GF2436@calimero.vinschen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-05/txt/msg00370.txt.bz2 Corinna Vinschen wrote: > Thanks for testing. If you find any other problems or annoyances, > please speak up. > > > Thanks, > Corinna > I have a problem with ssh using this on a domain machine. $ uname -a CYGWIN_NT-6.3 cbreisch-win8 1.7.30s(0.272/5/3) 20140514 11:29:16 x86_64 Cygwin I had ssh set up and working properly before installing the snapshot. $ cat /etc/nsswitch.conf passwd: files group: files If I leave it using files, I have no problems. So, I change it to db and attempt to restart sshd $ cat /etc/nsswitch.conf passwd: db group: db # cygrunsrv -E sshd # cygrunsrv -S sshd cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started. Add files back in: $ cat /etc/nsswitch.conf passwd: db files group: db files $ cygrunsrv -S sshd works perfectly. It appears to have something to do with the cyg_server account. Perhaps because I set it up before I installed the snapshot? Why would that matter? In any event, when set to use files, I can do this: $ id cyg_server uid=1008(cyg_server) gid=513(None) groups=513(None),0(root),545(Users) when only using db, I get $ id cyg_server id: cyg_server: no such user cyg_server does exist on the machine: $ net users User accounts for \\CBREISCH-WIN8 ------------------------------------------------------------------------------- Administrator Chris clfs cyg_server Guest LocalAdmin man sshd The command completed successfully. and is in /etc/passwd $ grep cyg_server /etc/passwd cyg_server:unused:1008:513:Privileged server,U-CBREISCH-WIN8\cyg_server,S-1-5-21-2077790098-1200989767-2685255527-1008:/cygdrive/d/cygwin/root/var/empty:/bin/bash Interesting, I just noticed that it says /cygdrive/d/cygwin/root... There's no such path. $ ls /cygdrive/d/cygwin/root ls: cannot access /cygdrive/d/cygwin/root: No such file or directory I changed my /cygdrive mount to /win but even /win/d/cygwin/root doesn't exist. .../cygwin/root is from an old install. $ ls /win/d/cygwin/root ls: cannot access /win/d/cygwin/root: No such file or directory -- Chris J. Breisch -- 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