directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Zeng (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DIRKRB-650) Getting capaths section from krb5.conf
Date Thu, 07 Sep 2017 04:52:00 GMT

    [ 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)

Mime
View raw message