Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 037CA91D0 for ; Tue, 3 Jan 2012 11:42:36 +0000 (UTC) Received: (qmail 61174 invoked by uid 500); 3 Jan 2012 11:42:35 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 61122 invoked by uid 500); 3 Jan 2012 11:42:30 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 61113 invoked by uid 99); 3 Jan 2012 11:42:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2012 11:42:28 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gsim@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Jan 2012 11:42:20 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q03Bfxuf027308 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 3 Jan 2012 06:41:59 -0500 Received: from [10.3.231.58] (vpn-231-58.phx2.redhat.com [10.3.231.58]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q03Bfwxg019657 for ; Tue, 3 Jan 2012 06:41:58 -0500 Message-ID: <4F02E973.8080205@redhat.com> Date: Tue, 03 Jan 2012 11:41:39 +0000 From: Gordon Sim Organization: Red Hat UK Ltd, Registered in England and Wales under Company Registration No. 3798903, Directors: Michael Cunningham (USA), Mark Hegarty (Ireland), Matt Parsons (USA), Charlie Peters (USA) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Lightning/1.0b1 Thunderbird/3.0.10 MIME-Version: 1.0 To: users@qpid.apache.org Subject: Re: Can /etc/krb5.keytab be discovered automatically when using GSSAPI References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Virus-Checked: Checked by ClamAV on apache.org On 12/23/2011 03:57 AM, tkdchen wrote: > Hi all, > > I'm using python-qpid to integrate message bus with a django site. The > site must connect a QPID broker in a kerberos enviroment, so I pass > sasl_mechanisms='GSSAPI' to Connection to construct an instance. > As the subject, I want to know when the script runs on server, whether > the /etc/krb5.keytab can be discovered automatically, or there is > something else need to be done via extra Python script codes. I believe you will still have to kinit to obtain a ticket. You can specify the key tab to use with the -t option to kinit. --------------------------------------------------------------------- Apache Qpid - AMQP Messaging Implementation Project: http://qpid.apache.org Use/Interact: mailto:users-subscribe@qpid.apache.org