From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-2.7 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RCVD_IN_SORBS_SPAM,RP_MATCHES_RCVD shortcircuit=no autolearn=no autolearn_force=no version=3.4.0 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by dcvr.yhbt.net (Postfix) with ESMTP id 63DD91FAA8 for ; Tue, 16 May 2017 18:15:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751571AbdEPSPl (ORCPT ); Tue, 16 May 2017 14:15:41 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:35227 "EHLO mail-it0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751226AbdEPSPk (ORCPT ); Tue, 16 May 2017 14:15:40 -0400 Received: by mail-it0-f43.google.com with SMTP id c15so67410775ith.0 for ; Tue, 16 May 2017 11:15:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=accedian-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=5hR3f3qeBEWWlrvqW0+1Gqr865KLnvRFxCjPbhs9qbA=; b=ZKZvtuj5gxq/gZnwg0KXyb6uPSC1SS1dkKhLX5sYmPb7Wf6x5FL3AfTfXBH3YQsVgY rzXtXszWtNGUl5mG7HMtNvuxZMFcpVBhMlTbQhvTAE8d+2YGRdJorR8/UCXIjCyhuqKI 9oRq8EQjxBy7hMSVPFadTP/bBQ8Fek6QBGBh6aFbx3rfGFfL/RBPuX7Hh6B6IU6LqDBa agYKhh8nnRWWYetovnt966X8wSwrNqTH5JT70JqbILYYvOM17/2/fxTDbIA/nYNntn7D cdZV65Asha7s1y3+mQxoqlj7wa+1xGZ8raDHKQdgiRbQnbXg3oskPyXfbRBccIzaF2KM qy5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=5hR3f3qeBEWWlrvqW0+1Gqr865KLnvRFxCjPbhs9qbA=; b=kBPXm4awC1onc6vCZdO9aHZZE8XpxTFH3GRE/DmAZiZ0k+JXahlUZsnOZ1wLt+YlQx ZSCoAvJjg1yiBkKyRRuQqwoP5HY5OwR9RJzjmFhS44YWd4BCWsEKO/8FqL0I5PWZpKs4 IJ7PV8CJFAuueDCrAAMutiAtdPbqdZs0mM44qLZJd5btgWzw7uWnfKSJeUQ4A2CTLbu+ AYewOGTzzSjwvNLxBcuXsdf/I6tTi5tWtq/+44EHorwUopM0RQZ5EBj3v2BsG7uLdkHa 4MvXZv8VQDwtOr6L1iFVDiNzNCAM3deBFJ4djD+F3X+ZTsd7s4RdLZPN3jw832lpIeSg ziuQ== X-Gm-Message-State: AODbwcCIG77Zjlm6QqMpYAdkGHWN7GZbVtBRNidDO6bNwEdCrujdtbsc 8s1XUtQPGgR4rnYUsKbgjkUsH9avV7ojN3461WcLUgq2lifVcEwdzUvLQtlMDVWP1ZTvlWGKDLY c7UrycnkyC14= X-Received: by 10.36.25.196 with SMTP id b187mr11866560itb.30.1494958539443; Tue, 16 May 2017 11:15:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.112.23 with HTTP; Tue, 16 May 2017 11:15:39 -0700 (PDT) In-Reply-To: References: From: Jean-Francois Bouchard Date: Tue, 16 May 2017 14:15:39 -0400 Message-ID: Subject: Re: clone vs submodule operation with HTTP cURL To: git Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Hello, Anyone can help with this ? The workaround is hardly possible in a medium environment as it needs editing and adding env to everyone and in every clone. Thanks !! JF On Mon, May 15, 2017 at 5:38 PM, Jean-Francois Bouchard wrote: > Hello, > > Follow-up to this post. > > I seems that setting GIT_HTTP_PROXY_AUTHMETHOD=3Danyauth is a workaround > to this issue. > > So now the issue is : git is not setting AUTHMETHOD correctly when > doing a submodule update > > Note that a user is needed in the URL string. :@ does not work, > empty.auth variable does not work. > > Any ideas ? > > Thanks, > JF > > On Thu, May 11, 2017 at 6:04 PM, Jean-Francois Bouchard > wrote: >> Hello everyone, >> >> In our usage of GSSAPI via HTTPS, all our operation with git are very >> well handle, however, when trying to update a submodule, git seems to >> be managing cURL differently. cURL drop the ball quickly. >> >> Example (No other setup needed on the client) : >> git clone HTTPrepo -> GET -> 401 -> GET -> 401 -> GET (this time with >> Authorization: Negotiate) -> 200 OK >> >> git submodule update -> GET -> 401 -> git prompt for username >> >> Is the codepath for clone regarding cURL is different than with submodul= e ? >> >> Using : 2.13.0, I have also tried the emptyAuth stuff with no avail. >> >> Thanks, >> JF --=20 Avis de confidentialit=C3=A9 Les informations contenues dans le pr=C3=A9sent message et dans toute pi=C3= =A8ce qui=20 lui est jointe sont confidentielles et peuvent =C3=AAtre prot=C3=A9g=C3=A9e= s par le secret=20 professionnel. Ces informations sont =C3=A0 l=E2=80=99usage exclusif de son= ou de ses=20 destinataires. Si vous recevez ce message par erreur, veuillez s=E2=80=99il= vous=20 plait communiquer imm=C3=A9diatement avec l=E2=80=99exp=C3=A9diteur et en d= =C3=A9truire tout=20 exemplaire. De plus, il vous est strictement interdit de le divulguer, de= =20 le distribuer ou de le reproduire sans l=E2=80=99autorisation de l=E2=80=99= exp=C3=A9diteur.=20 Merci. Confidentiality notice This e-mail message and any attachment hereto contain confidential=20 information which may be privileged and which is intended for the exclusive= =20 use of its addressee(s). If you receive this message in error, please=20 inform sender immediately and destroy any copy thereof. Furthermore, any=20 disclosure, distribution or copying of this message and/or any attachment= =20 hereto without the consent of the sender is strictly prohibited. Thank you.