Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11683

Need a plugin API to translate long principal names to local OS user names arbitrarily

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.6.0
    • None
    • security
    • None
    • Hide
      The patch allows HadoopKerberosName to use a user name mapping pluggable API from parameter, hadoop.security.user.name.mapping, instead of the regular expression specified in parameter, hadoop.security.auth_to_local.

      If user name is not found by the API or hadoop.security.user.mapping is not set, it will default back to hadoop.security.auth_to_local for compatibility.
      Show
      The patch allows HadoopKerberosName to use a user name mapping pluggable API from parameter, hadoop.security.user.name.mapping, instead of the regular expression specified in parameter, hadoop.security.auth_to_local. If user name is not found by the API or hadoop.security.user.mapping is not set, it will default back to hadoop.security.auth_to_local for compatibility.

    Description

      We need a plugin API to translate long principal names (e.g. john.doe@EXAMPLE.COM) to local OS user names (e.g. user123456) arbitrarily.

      For some organizations the name translation is straightforward (e.g. john.doe@EXAMPLE.COM to john_doe), and the hadoop.security.auth_to_local configurable mapping is sufficient to resolve this (see HADOOP-6526). However, in some other cases the name translation is arbitrary and cannot be generalized by a set of translation rules easily.

      Attachments

        1. HADOOP-11683.003.patch
          24 kB
          roger mak
        2. HADOOP-11683.002.patch
          24 kB
          roger mak
        3. HADOOP-11683.001.patch
          24 kB
          roger mak

        Activity

          People

            roger.mak roger mak
            sunny.cheung Sunny Cheung
            Votes:
            1 Vote for this issue
            Watchers:
            15 Start watching this issue

            Dates

              Created:
              Updated: