hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-10556) Add toLowerCase support to auth_to_local rules for service name
Date Mon, 05 May 2014 23:20:20 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-10556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alejandro Abdelnur updated HADOOP-10556:
----------------------------------------

    Attachment: HADOOP-10556.patch

patch adding a "/L" flag to the rules.

Steve, the lowercasing is done using the String#toLowerCase() method which uses the default
Locale, thus it should be i18n friendly, correct? 

> Add toLowerCase support to auth_to_local rules for service name
> ---------------------------------------------------------------
>
>                 Key: HADOOP-10556
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10556
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 2.4.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Alejandro Abdelnur
>         Attachments: HADOOP-10556.patch
>
>
> When using Vintela to integrate Linux with AD, principals are lowercased. If the accounts
in AD have uppercase characters (ie FooBar) the Kerberos principals have also uppercase characters
(ie FooBar/<HOST>). Because of this, when a service (Yarn/HDFS) extracts the service
name from the Kerberos principal (FooBar) and uses it for obtain groups the user is not found
because via Linux the user FooBar is unknown, it has been converted to foobar.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message