Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-11687

Kerberos: Force principal names to resolve to lowercase lower usernames in auth-to-local default rules

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.1
    • 2.1.0
    • ambari-server
    • None

    Description

      Force principals names to resolve to lowercase local usernames in auth-to-local rules. This will help when the KDC is an MIT KDC or an Active Directory and user accounts have uppercase letters that need to be converted to lowercase letters. For example: USER1234@REALM should resolve to user1234.

      Solution

      1. Provide a kerberos-env configuration to optionally create case-insensitive rules
      2. If creating case-insensitive rules, generic auth-to-local rules should contain the L option, as in:
        RULE:[1:$1@$0](.*@REALM)s/@.*///L
        

      Attachments

        1. AMBARI-11687.patch
          26 kB
          Emil Anca
        2. AMBARI-11687_02.patch
          7 kB
          Emil Anca
        3. AMBARI-11687_03.patch
          8 kB
          Emil Anca

        Issue Links

          Activity

            People

              eanca Emil Anca
              eanca Emil Anca
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: