ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-21418) Ambari rebuilds custom auth_to_local rules changing its case sensitiveness option (/L) depending on the case_insensitive_username_rules.
Date Mon, 24 Jul 2017 13:46:00 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-21418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16098430#comment-16098430
] 

Hudson commented on AMBARI-21418:
---------------------------------

FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #7799 (See [https://builds.apache.org/job/Ambari-trunk-Commit/7799/])
AMBARI-21418. Ambari rebuilds custom auth_to_local rules changing its (amagyar: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=bfe772be2858dbf488aa940b0e513141fb018dc1])
* (edit) ambari-server/src/main/java/org/apache/ambari/server/controller/AuthToLocalBuilder.java
* (edit) ambari-server/src/test/java/org/apache/ambari/server/controller/AuthToLocalBuilderTest.java


> Ambari rebuilds custom auth_to_local rules changing its case sensitiveness option (/L)
depending on the case_insensitive_username_rules.
> ----------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-21418
>                 URL: https://issues.apache.org/jira/browse/AMBARI-21418
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Tomas Sokorai
>            Assignee: Attila Magyar
>             Fix For: 2.5.3
>
>         Attachments: AMBARI-21418.patch
>
>
> Ambari changes the auth to local custom rules /L state on rebuild depending on case_insensitive_username_rules.
> How to reproduce:
> 1) Kerberize Ambari.
> 2) Make sure these kerberos settings are set as follows:
> case_insensitive_username_rules = false
> manage_auth_to_local = true
> 3) Add custom auth_to_local rule:
> {code:java}
> RULE:[1:$1@$0](.*@HDP01.LOCAL)s/.*/ambari-qa//L
> {code}
> (NB: HDP01.LOCAL realm was chosen to avoid matching the default kerberos realm, EXAMPLE.COM
in my tests)
> 4) Add a new service to the cluster that has kerberos configuration, in my case, tested
with adding Spark2.
> 5) After successful service addition, check the auth_to_local mappings again; the mapping
we added in point 3 should now be missing the /L and be:
> {code:java}
> RULE:[1:$1@$0](.*@HDP01.LOCAL)s/.*/ambari-qa/
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message