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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=BvoscT1D1d4echnxwHtN6qHhHPJh1VsHsOvwfP9wFcfkEH8do78wm MBWtJSI8zNk/RwwTrtpVtl+2yIq+3oRMkQTY4IZhuEKumNkFvfdesnBZSTVENk9/ Jh1HtjMdSqaJ6mQxl/mMbHOHx8emQ3y/R4ujW+bmIaSN20MZCHYMlQ= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=fqRizproWgUtL4J5ZuCsJ0brk2A=; b=GD1pnCdMg1i7zKECX4867bK1dRaU 0fj37ZgZ5Ql0LniQkCIh0S/vgh7hj//cZ5KH6pQhxAKhZgb6Ycs+Ba4LcgMjMazj FLHrW8zKNNqjvXthHlD/jHQFPYpDvSZXjjz7y0h09oV+VXR67pVqwBrukK8IJLY2 aNHtBk8UGttEXUw= 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=-4.6 required=5.0 tests=AWL,BAYES_50 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 21 Jan 2015 10:37:43 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-003 (Christmas/New Year release) Message-ID: <20150121093743.GA8272@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <87oaqynpzq DOT fsf AT Gertrud DOT fritz DOT box> <20150107174122 DOT GB4190 AT calimero DOT vinschen DOT de> <20150108171825 DOT GB15791 AT calimero DOT vinschen DOT de> <8761cez7qi DOT fsf AT Rainer DOT invalid> <20150112103834 DOT GA15213 AT calimero DOT vinschen DOT de> <1317243972 DOT 20150112155044 AT yandex DOT ru> <20150112142131 DOT GK15791 AT calimero DOT vinschen DOT de> <462951490 DOT 20150113065357 AT yandex DOT ru> <20150113090938 DOT GR15791 AT calimero DOT vinschen DOT de> <1408516413 DOT 20150121024550 AT yandex DOT ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <1408516413.20150121024550@yandex.ru> User-Agent: Mutt/1.5.23 (2014-03-12) --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 21 02:45, Andrey Repin wrote: > Sorry for the holdup, I was trying to crack it by myself. > But I was unsuccessful, and have to reach for help. > Even the most striped down configuration doesn't produce visible improvem= ents. >=20 > The setup: A Win7 machine - member of a NT4-style domain. (No AD yet.) > Logged in as domain user with admin rights. > Current profile path is C:\Users\. > group/passwd files are moved away. >=20 > Contents of nsswitch.conf (the last, stripped down next to nothing attemp= t): >=20 > passwd: db > group: db >=20 > db_home: /%H > db_shell: /bin/sh >=20 >=20 > > set HOME > HOMEDRIVE=3DC: > HOMEPATH=3D\Users\anrdaemon.CCENTER >=20 > > getent passwd %USERNAME% > anrdaemon:*:1051576:1049089:U-CCENTER\anrdaemon,S-1-5-21-1031481445-32916= 99540-3997755762-3000:/home/anrdaemon:/bin/bash >=20 > If I understand it right, the /%H should always return usable value, so do > /bin/sh. But I can't get it to work. Weird, really. I just tried it again myself and it worked immediately. What I'm doing is this: - I'm *not* running cygserver. - Open a mintty. - Change the nsswitch.conf settings and save the file. - Start another mintty to observe the effect. If cygserver is not running, every new mintty session will see the latest version of the nsswitch.conf file and create the passwd/group entries from there. I'm wondering if that's a side effect of using a NT4 domain. This isn't supported in Cygwin anymore for quite some time. After all AD has replaced NT4 15 years ago. All the LDAP calls to fetch the AD attributes won't work in an NT4 domain, for instance. But even if all the calls to the DB fail, the /path scheme shouldn't be affected. For a start, can you run `strace -o getent.trace getent passwd anrdaemon in a mintty session started *after* changing nsswitch.conf and send the getent.trace file? It might give some clue. Thanks, Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUv3NnAAoJEPU2Bp2uRE+gMxQQAJKatWfHGsA8STeA0G65Ckcz /3fOsIDbnuSH4+ncFdO0iL/TOVWBpDQIJxBTvKCfB9Gb7JsAsxMYFIv9UKxzAwNq CIQTdSFdrTquyj1ZSiNsNstseUr9jVHEB62CtbMl86BoQhuyWG+FHub+PL5NQ16U nkGCe5UlGYMOpGaQOzgNEh2CkpW2y2xBF40YpZaBOz1u+9HFF5YB4TB4saDM3m3/ 67OzspkgLxO7Kjt6aGSe6n6QiiN6EWVRUMfNUwo4HlhI7wvwSHIsku7gfqpshKaA dC5e72xxrDIp755rRveoaQP/uVJ0XyzrKqotyDeMS/TvVDVkMMpmR0ABD3PezhXE LlUDvjjRup+Y+VdLi2CYU6MjpNgjuborRhiwjTOUgajSKSZSnAH4k1p2KaQNPtz8 nIuT3pZaQ0T2vrNtoDC88oA/S8uawQqeJ5dMR7GmQcHbjqxZB+/GXQcYhvwk7eE/ aBeM1/LlcPCBGh4PiUF07ONp//y5t+09YiCXQq3SjF5M6iCLUE1Rwop3jIwyR5ER +JneHBuY8giJLdCjcQ0PuqE192AwHGv+i+5HEcStI/jUK5r3r3nmxf8CJqS+OQq/ qOHYxmtutVAJpX9jnP4mLnk/l9tSlPtsWbb0T17UmzWDJ/Bc5Fl9hJO1EDuGgjSN 6tLJLCBC1BQdC5m5sWGG =0fxk -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--