ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-9244) JAAS configuration file parser leaves trailing quote in quoted values
Date Wed, 21 Jan 2015 18:34:35 GMT
Robert Levas created AMBARI-9244:
------------------------------------

             Summary: 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
             Fix For: 2.0.0


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/vp-ambari-ranger-med-0120-2.cs1cloud.internal@EXAMPLE.COM";
};
{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)

Mime
View raw message