Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56E0617DC0 for ; Wed, 21 Jan 2015 05:09:36 +0000 (UTC) Received: (qmail 4398 invoked by uid 500); 21 Jan 2015 05:09:36 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 4351 invoked by uid 500); 21 Jan 2015 05:09:36 -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 4339 invoked by uid 99); 21 Jan 2015 05:09:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Jan 2015 05:09:36 +0000 Date: Wed, 21 Jan 2015 05:09:36 +0000 (UTC) From: "Kai Zheng (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DIRKRB-112) MIT Kerberos configuration format support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DIRKRB-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14285172#comment-14285172 ] Kai Zheng commented on DIRKRB-112: ---------------------------------- Reviewed and committed with minor fixing in comments. commit c8e3dfde25e21452768d31393f89939f9d26301d Author: drankye Date: Wed Jan 21 21:05:40 2015 +0800 DIRKRB-112 MIT Kerberos configuration format support. Contributed by Lin Chen > MIT Kerberos configuration format support > ----------------------------------------- > > Key: DIRKRB-112 > URL: https://issues.apache.org/jira/browse/DIRKRB-112 > Project: Directory Kerberos > Issue Type: Sub-task > Reporter: Lin Chen > Assignee: Lin Chen > Attachments: DIRKRB-112_v1.patch, DIRKRB-112_v2.patch > > > This is going to support INIT configuration file format. Below is a sample (krb5.conf): > {code} > default = FILE:/var/log/krb5libs.log > kdc = FILE:/var/log/krb5kdc.log > admin_server = FILE:/var/log/kadmind.log > [libdefaults] > default_realm = EXAMPLE.COM > dns_lookup_realm = false > dns_lookup_kdc = false > ticket_lifetime = 24h > renew_lifetime = 7d > forwardable = true > {code} > For above sample, we can have: > {code} > Conf conf = ... > conf.addIniConfig("/etc/krb5.conf"); > conf.getString("kdc") == "FILE:/var/log/krb5kdc.log"; > Config config = conf.getConfig("libdefaults"); > config.getBoolean("forwardable") == true > ... > {code} > Based on it, it will be easy to support MIT Kerberos configurations like krb5.conf and kdc.conf. -- This message was sent by Atlassian JIRA (v6.3.4#6332)