[
https://issues.apache.org/jira/browse/AMBARI-9244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14286865#comment-14286865
]
Hudson commented on AMBARI-9244:
--------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #1562 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/1562/])
AMBARI-9244. JAAS configuration file parser leaves trailing quote in quoted
values (rlevas) (rlevas:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=2686976e85fbc9c701e6478f1f48b0b057d66579)
*
ambari-common/src/main/python/resource_management/libraries/functions/security_commons.py
* ambari-agent/src/test/python/resource_management/TestSecurityCommons.py
> JAAS configuration file parser leaves trailing quote in quoted values
> ---------------------------------------------------------------------
>
> Key: AMBARI-9244
> URL: https://issues.apache.org/jira/browse/AMBARI-9244
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent
> Affects Versions: 2.0.0
> Reporter: Robert Levas
> Assignee: Robert Levas
> Labels: kerberos, security
> Fix For: 2.0.0
>
> Attachments: AMBARI-9244_01.patch
>
>
> The JAAS configuration file parser used in determining the security state of
> some components (like ZooKeeper and HBase) leaves trailing quote in quoted
> values.
> For example:
> {code}
> Client {
> com.sun.security.auth.module.Krb5LoginModule required
> useKeyTab=true
> storeKey=true
> useTicketCache=false
> keyTab="/etc/security/keytabs/hbase.service.keytab"
> principal="hbase/[email protected]";
> };
> {code}
> The value for {{keytab}} is being parsed as
> {{/etc/security/keytabs/hbase.service.keytab"}} rather than
> {{/etc/security/keytabs/hbase.service.keytab}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)