You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2014/10/02 15:39:34 UTC

[jira] [Created] (AMBARI-7613) Ambari installs wrong zookeeper_client_jaas.conf file.

Andrew Onischuk created AMBARI-7613:
---------------------------------------

             Summary: Ambari installs wrong zookeeper_client_jaas.conf file.
                 Key: AMBARI-7613
                 URL: https://issues.apache.org/jira/browse/AMBARI-7613
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 1.7.0


PROBLEM:

Ambari 1.6.1,

/var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/ZOOKEEPER/package/t
emplates/zookeeper_client_jaas.conf.js2

    
    
    
    Client {
    com.sun.security.auth.module.Krb5LoginModule required
    useKeyTab=false
    useTicketCache=true;
    principal="{{zk_principal}}";
    };
    
    

The above config is wrong. The correct file should be

    
    
    
    
    Client {
    com.sun.security.auth.module.Krb5LoginModule required
    useKeyTab=false
    useTicketCache=true;
    };
    
    

Note, the principal=xxx should not be there when useTicketCache=true





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)