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:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=MsR/YZcNV6dLN3AnQEqe1kd/HuvLi uNDCKau3PgHO3P37m45qy3KDL4h2m4toUtYLH6rvhXssdwpwEMTZ6apWNCLaCb4y 750hAe5D4UA02K8rq1tSOZYmgPJfI1nXLhIFzByDZEACzSN7p8PwsRqjnKCxv2/c f7vgN2AOQ7ZC54= 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:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=xW+mij862niru5aLZLVdLJ+0P4Q=; b=ne9 75EZx/ekH1LeMPQmrsOamYP07FqBJQvzM9rZkHjYmg7XlpjBeSIcD1Wjckw+r423 RywcIOQAco1WWSQpxtKS8yOjmo1nPdVimXGbu0B5aiI2d7++mCcvUHKRv9tAzhGM f1q2Auyrfh4sF+yrNJ4145LYeL+C+z3Z2k2OHeQI= 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=-1.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-wg0-f45.google.com MIME-Version: 1.0 X-Received: by 10.194.189.138 with SMTP id gi10mr25494528wjc.86.1421154029136; Tue, 13 Jan 2015 05:00:29 -0800 (PST) Date: Tue, 13 Jan 2015 14:00:29 +0100 Message-ID: Subject: Problems with cURL and Kerberos From: Nils-Helge Garli Hegvik To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Hi! I'm trying to use cURL within cygwin to load a website that requires kerberos-authentication. I have read multiple guides I have found, and I'm trying the following: - Create the file /etc/krb5.conf and set the default_realm - Run 'kinit' to request a kerberos ticket - Run 'klist' to verify that a kerberos ticket has been aquired - Run 'curl --negotiate -u: -L -b cookies.txt -c cookies.txt https:// This actually appears to send a header with a token of some sort, but it does not seem to be accepted by the server. Running the exact same command with the pure windows version of cURL does work, so it appear to be related to the cygwin curl/kerberos tools. Does anyone now what could be the issue? I have installed cygwin cURL 7.39.0_1, with krb5-workstation 1.12.2-1, libkrb5_26, 1.5.3-1. Regards, Nils-Helge Garli Hegvik -- 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