delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/04/20/10:26:19

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=E6UJGFlA6+UG+TEZ4Zfj04tSXFu/S2XTK/3CYwuzhFJZdLgKd4+cA
L5uQ0CwOhHxUXpjIL2CNU73FS+NAU8iwRRPYRsqItDMcG6wdsLy1MqRX36Mr6Y0A
IaXaJgyHQEyTBYHQRmY7XlIaoXsjCaupjj2zg7rRulgIIfRHglnU0Y=
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=UPOyeN2/6FMDugKcmSOHuYBWp7E=; b=U1U4/qv8nhF5KsN9YGyan4Jz8+B+
du2aynNaUIPwlvpBVQDGC3ohUrkKUa9F2SbX1hmFxcJyQNcZyaC5k3b0gaoIwRji
lE/v0xyM+OcicFmrseY8DuX6HeggCvOCcioFplJBGqIRB5RaO+fBPk24ZtAfLFCs
5lEs4i4Qk4ymjIc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-96.6 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=grok, H*i:sk:57177EB, H*MI:sk:57177EB, H*f:sk:57177EB
X-HELO: calimero.vinschen.de
Date: Wed, 20 Apr 2016 16:25:45 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: git clone fails with error chmod on config.lock failed: Invalid argument
Message-ID: <20160420142545.GB25668@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20160128172322 DOT GC18626 AT calimero DOT vinschen DOT de> <5715DCB9 DOT 7060401 AT gmail DOT com> <20160419081107 DOT GC26794 AT calimero DOT vinschen DOT de> <57161490 DOT 1000301 AT gmail DOT com> <20160419133937 DOT GF26794 AT calimero DOT vinschen DOT de> <57177EB4 DOT 6050902 AT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <57177EB4.6050902@gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)

--oLBj+sq0vYjzfsbl
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Apr 20 15:05, Tomas Jura wrote:
> On 04/19/2016 03:39 PM, Corinna Vinschen wrote:
> >>BTW: My machine is Windows Server 2008, yesterday I also run the Windows
> >>update procedure before I notified the chmod error.
> >>A months ago, I had to migrate to the new AD account. The cygwin was
> >>installed using my old account, which is deleted now. Is it possible th=
at
> >>the query to AD runs under my old account?
> >That's a good question.  The problem is that I can't see *why* the
> >requests fail.  This bugs me since failing LookupAccountSid calls should
> >result in a debug message when running strace.
> >
> >Do you have changed your /etc/nsswitch.conf file by any chance?
> No I did not. All lines are commented out there.
>=20
> >
> >Would you mind to create strace output of the command `id'?
> See attachment

Thanks.  It's not helpful, unfortunately.  The only hint that something
is going wrong is the same message as with chmod:

  internal_getlogin: group not found in group DB

There's no other strace message even remotely related to account mapping.
I don't grok that.  There should really be some error message :(

Btw., what's the output of `id'?

I'm wondering... is it possible that LDAP access to your DCs is
restricted?=20=20

Also, can you change /etc/nsswitch.conf like this:

  db_enum: cache local primary

(see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch-enu=
m)

exit and restart your shell and call `getent group'?  What does it
print?  Are the AD accounts enumerated and what info is printed for
them?  Examples are sufficent, I don't need your entire AD DB :)

Also, what does `getent passwd $USER' print?


Corinna

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

--oLBj+sq0vYjzfsbl
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXF5FpAAoJEPU2Bp2uRE+gOUwP/3THfYajdgluUL8ZWXV8fPLh
+ChnRJtv9KgMSnphbZDA9zsjjrhW6Vv8TTtGjg/voIlBXOAXbTPvh040s02lTmQ0
glNxtKIRMQ6yQql5k48o3KSgF0eHQZ3B6B4OcXNk0XweizAsLgiVDJamxnD9Ypfh
qKdyux1XXMXG4Ke9v89RTFfQ5GMKskcRRFiJtjFHeEz2nxZWemIN8Q5dHgNd9nGM
7PTS/kVNb25OZEyVSJ3lv+gmun/tbE3W8DffymVrGhv611n2yig061oHjKSlPfyJ
EwYoGwpUk9nCR+EgTOuzk+2e6o7kip+dNoOzVmnovYZmayeI6kityeYoeXweKDdX
nwoiKqX17l02gZl5O892GK0Qr/fv6Tj/i0LB0nZVYRa6gqApS71A14ZH8hHEiPOR
XoaznPdC/N2Vbh8hIzRc1trSQbH8vqRVpJdosKT0XyUqgwUU50NCY+rIMwGB4Sz/
sI3W/Hya5uIo74vhpegACa8c81GATFKmz1cwcGEJ9x16vpBEaLzFtNFvHrBla/0u
XBV0w3lJOAyheIX66gFeUfIvFdrJ/yT78lK6a84JxlG0K/S0/FmWe7TAYQl+V26f
xs03ZybOdDMHwgxo7BNn2VfGiIbQEvsJ29yDCmB7049JlqDswZjCBMRHPFAKzPjd
K54EJCewVYEXVCQqrFht
=yATK
-----END PGP SIGNATURE-----

--oLBj+sq0vYjzfsbl--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019