Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8DE64200D08 for ; Thu, 7 Sep 2017 06:52:05 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8C69C1611C4; Thu, 7 Sep 2017 04:52:05 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D37D11609BF for ; Thu, 7 Sep 2017 06:52:04 +0200 (CEST) Received: (qmail 64128 invoked by uid 500); 7 Sep 2017 04:52:03 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 64117 invoked by uid 99); 7 Sep 2017 04:52:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Sep 2017 04:52:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 386D61A6D47 for ; Thu, 7 Sep 2017 04:52:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.001 X-Spam-Level: X-Spam-Status: No, score=-100.001 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id tr9xBJMqH1cx for ; Thu, 7 Sep 2017 04:52:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id DCA195F254 for ; Thu, 7 Sep 2017 04:52:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id F1A15E010F for ; Thu, 7 Sep 2017 04:52:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id A9D1F24143 for ; Thu, 7 Sep 2017 04:52:00 +0000 (UTC) Date: Thu, 7 Sep 2017 04:52:00 +0000 (UTC) From: "Frank Zeng (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (DIRKRB-650) Getting capaths section from krb5.conf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 07 Sep 2017 04:52:05 -0000 [ https://issues.apache.org/jira/browse/DIRKRB-650?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156401#comment-16156401 ] Frank Zeng edited comment on DIRKRB-650 at 9/7/17 4:51 AM: ----------------------------------------------------------- Initial patch attatched. below is the example: capaths section of krb5.conf: [capaths] ATHENA.MIT.EDU = { ANDREW.CMU.EDU = GNU.ORG GNU.ORG = . } ANDREW.CMU.EDU = { ATHENA.MIT.EDU = GNU.ORG } GNU.ORG = { ATHENA.MIT.EDU = . } the parse result of ATHENA.MIT.EDU to ANDREW.CMU.EDU: getCapath[0]=ATHENA.MIT.EDU getCapath[1]=GNU.ORG getCapath[2]=ANDREW.CMU.EDU P.S. the unit test has also been added. was (Author: zenglinx): Initial patch attatched. below is the example: {quote}capaths section of krb5.conf: [capaths] ATHENA.MIT.EDU = { ANDREW.CMU.EDU = GNU.ORG GNU.ORG = . } ANDREW.CMU.EDU = { ATHENA.MIT.EDU = GNU.ORG } GNU.ORG = { ATHENA.MIT.EDU = . } the parse result of ATHENA.MIT.EDU to ANDREW.CMU.EDU: getCapath[0]=ATHENA.MIT.EDU getCapath[1]=GNU.ORG getCapath[2]=ANDREW.CMU.EDU{quote} P.S. the unit test has also been added. > Getting capaths section from krb5.conf > -------------------------------------- > > Key: DIRKRB-650 > URL: https://issues.apache.org/jira/browse/DIRKRB-650 > Project: Directory Kerberos > Issue Type: Sub-task > Reporter: Jiajia Li > Assignee: Frank Zeng > Attachments: DIRKRB-650-v1.patch > > > [capaths] Contains the authentication paths used with direct (nonhierarchical) cross-realm authentication. Entries in this section are used by the client to determine the intermediate realms which may be used in cross-realm authentication. It is also used by the end-service when checking the transited field for trusted intermediate realms. -- This message was sent by Atlassian JIRA (v6.4.14#64029)