From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "tenspd137 ." Newsgroups: gmane.emacs.bugs Subject: bug#35969: 26.2, Excorporate Date: Thu, 30 May 2019 11:06:38 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="63113"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35969@debbugs.gnu.org To: Thomas Fitzsimmons Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 30 19:07:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWOWG-000GIL-CZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 19:07:12 +0200 Original-Received: from localhost ([127.0.0.1]:56885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWOWF-0003B5-D5 for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 13:07:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38611) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWOW9-0003Ay-Og for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 13:07:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWOW6-00086C-3m for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 13:07:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48441) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWOW5-00085s-Vi for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 13:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWOW5-00037I-Q1 for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 13:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "tenspd137 ." Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 May 2019 17:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35969 X-GNU-PR-Package: emacs Original-Received: via spool by 35969-submit@debbugs.gnu.org id=B35969.155923601411965 (code B ref 35969); Thu, 30 May 2019 17:07:01 +0000 Original-Received: (at 35969) by debbugs.gnu.org; 30 May 2019 17:06:54 +0000 Original-Received: from localhost ([127.0.0.1]:33752 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWOVx-00036u-Vr for submit@debbugs.gnu.org; Thu, 30 May 2019 13:06:54 -0400 Original-Received: from mail-ot1-f43.google.com ([209.85.210.43]:45352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWOVv-00036e-OV for 35969@debbugs.gnu.org; Thu, 30 May 2019 13:06:52 -0400 Original-Received: by mail-ot1-f43.google.com with SMTP id t24so6301986otl.12 for <35969@debbugs.gnu.org>; Thu, 30 May 2019 10:06:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jDnmAlaClVfkK3WjX1eVjiHFKypdfP56zF2YP+EWA+0=; b=knNKFTTU1qoyNWJMRlys3qwZMmOFdpkqStW4XAq4l/rf9PbZJqEJq6hkd/0UcX0GLm MdUCJCWxwksiO7FaECSDMRtBojo2LOKWqyC3H2ov1oFZpbrp+OmreMGrq9S63uNR3Cwa l79dA7D/3hJn660igUdpFIqyE8D7t7Y/sMQzqX+rpdFJ3o2HTXwnH2SHFhuCfcia0Wjn pWHm1bUYZovEZ9tkhCW5fPt0zCell8IIZZAWIg9x6595GzYZHhOUOU4u29lUHxCkcjF5 8OJx0TCyi9qqEPnSfrL7hfyRwiXFlHN6hbfMaMl6SmiCmekQJONQ/swLGwQ2+ivLnzdE 33fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jDnmAlaClVfkK3WjX1eVjiHFKypdfP56zF2YP+EWA+0=; b=VxMrE3HLkAcNIqz45K54VbPurVgAyleOlK3pQf6wATYJBri1iIo86IjmR59Nr19apw WJQuUDoYxSGzpQqBCDe8hlFTf6UA+Vxly3kegCqXfTWrTl/4ZKdFxPwXhcgjvBDtDv/r 0e2tCdrvh65Xgsb7VODz/3g7bxiYpPXsm5z8Lz75d1Tf7iyu8+60hJWWeAH9Ncv/QXh2 vcm8G+I3tp9YF60QBCflfthJcb1KfK0eOR5jl/iuCrwz/cKLKyE7WMsvEDdYHKj9zcNd 0jPewfvv/DGslMGSXAL4C4RoX2gXfUo4wJWJ1yZNcvds/souI3FG5BFXPN4howL01Dkz oniA== X-Gm-Message-State: APjAAAWB7f8CISKpxfQLNMoMuMjyGH4qFjeI4IaavLzA9MgvEZbPEqI5 P8k18tH22+9Uppq8tHsGUNSGs+Sm9DVl0LhgQydcayOkllA= X-Google-Smtp-Source: APXvYqyqwB8mWDt/Fl38HHCsCWDH9kq/ny9qv3WpaPkKVyoKKWwjNJICiUQVZE45lGZGNHMXlD9ogcP8FpFwGzRyCgU= X-Received: by 2002:a9d:5f04:: with SMTP id f4mr2839oti.240.1559236006010; Thu, 30 May 2019 10:06:46 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159930 Archived-At: Thomas- Here is the httpbin.org authentication test buffer (through emacs / proxy) HTTP/1.1 401 UNAUTHORIZED Access-Control-Allow-Credentials: true Access-Control-Allow-Origin: * Date: Thu, 30 May 2019 15:32:25 GMT Referrer-Policy: no-referrer-when-downgrade Server: nginx WWW-Authenticate: Basic realm="Fake Realm" X-Content-Type-Options: nosniff X-Frame-Options: DENY X-XSS-Protection: 1; mode=block Content-Length: 0 Connection: Close and here is the failed excahnge.asmx buffer HTTP/1.1 401 Unauthorized Server: Microsoft-IIS/10.0 request-id: fb0b957e-f55c-49b9-9fb5-fd9a58a5f31a X-WSSecurity-Enabled: True X-WSSecurity-For: Logon X-FederationTrustTokenIssuerUri: urn:federation:MicrosoftOnline X-WSSecurity-SymmetricKey-Enabled: True X-WSSecurity-X509Cert-Enabled: True X-OAuth-Enabled: True X-Powered-By: ASP.NET X-FEServer: SN6PR1501CA0010 WWW-Authenticate: Basic Realm="" Date: Thu, 30 May 2019 15:36:43 GMT Connection: close Content-Length: 0 and, as a bonus, the result of url-exchange.asmx from Emacs not using a proxy on the "other" lan using url-retrieve-synchronusly HTTP/1.1 401 Unauthorized Server: Microsoft-IIS/10.0 request-id: 369ea2d9-8dce-408c-a38e-fb8035f98065 X-WSSecurity-Enabled: True X-WSSecurity-For: Logon X-FederationTrustTokenIssuerUri: urn:federation:MicrosoftOnline X-WSSecurity-SymmetricKey-Enabled: True X-WSSecurity-X509Cert-Enabled: True X-OAuth-Enabled: True X-Powered-By: ASP.NET X-FEServer: SN4PR0201CA0037 WWW-Authenticate: Basic Realm="" Date: Thu, 30 May 2019 16:40:48 GMT Content-Length: 0 I tried to get logs from a successful exorporate useage, but the http result buffers appear to come and go, and if I try URL-DEBUG, a lot happens and eventually emacs on my laptop locks up, but if you want me to try anything specific or there is a way to look at things step by step, just let me know. Thanks! -C On Wed, May 29, 2019 at 4:10 PM tenspd137 . wrote: > > Yes - I will try to do it tomorrow morning. Thanks again! > > -C > > On Wed, May 29, 2019 at 4:01 PM Thomas Fitzsimmons wrote: > > > > Hi, > > > > "tenspd137 ." writes: > > > > > Sorry for questioning - but I don't think it is successful in the > > > basic authentication case - unless I am misreading some of the output. > > > > No problem; I quoted the "status=200" line which I think indicates that > > it was successful. But url creates another buffer and puts the > > authentication response in there; to be sure, you'd need to check that. > > I think for httpbin.org, it will contain the headers and then: > > > > { > > "authenticated": true, > > "user": "user" > > } > > > > just like your wget experiment. > > > > For your prior test run, the secondary buffer is mentioned in > > *URL-DEBUG* here: > > > > > retrieval -> Synchronous fetching done (#) > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > Can you redo the httpbin.org authentication test within Emacs, through > > the proxies, and paste the contents of that secondary/response buffer? > > > > It would be helpful if you could paste the redacted secondary/response > > buffer contents for the failed Exchange authentication too. > > > > > As for testing authentication against no proxy - yes, I can. In fact, > > > I actually have. It works. > > > > [...] > > > > OK, good to know, thanks. The use case makes sense. > > > > Thanks, > > Thomas