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=vBPignTOgGRt0EwvNUndK7WyBRiVmWl8Ngfi67lanmm /2Wsz4NGogWERR9bltMvq8M+LjQPoRap5zJdWyVv7D78VVJALe/j7/znkMGlFy2/ mQnpXCQeSvrWEwMLof4KNGwhBg9oUI3pxtjVN/TY4WtKc+3cdua91NpObwNqziak = 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=zZiAI2SbglCrCQhFQrOSANf1m7I=; b=uZiwCHzuKCereHLFR Xoe0WbLCUbmJnql26AMy5YTaOeJGkDl2+p6vT5I+Fgp3LRarn3HiLvFC7/+WMdP0 tvrClhMoORPABCzofALGCdsR+SITbFhQDYc+7vR4qJ0PUf9xxSMvKrJnwL0tcW4D PI+t4I/xPfQ0X4FKWdcft/yPqA= 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=-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 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) Message-ID: <5376767D.2010504@breisch.org> Date: Fri, 16 May 2014 16:35:09 -0400 From: "Chris J. Breisch" User-Agent: Postbox 3.0.9 (Windows/20140128) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: More testing needed: New passwd/group AD/SAM integration References: <20140513145247 DOT GQ2436 AT calimero DOT vinschen DOT de> <20140513161626 DOT GT2436 AT calimero DOT vinschen DOT de> <20140513164122 DOT GU2436 AT calimero DOT vinschen DOT de> <20140513191732 DOT GX2436 AT calimero DOT vinschen DOT de> <20140514113659 DOT GD2436 AT calimero DOT vinschen DOT de> <20140514150654 DOT GF2436 AT calimero DOT vinschen DOT 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 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