Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-1664

Kerberos auth doesn't work with native platform GSS integration

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.5, 3.5.0
    • None
    • java client, server
    • None
    • Linux (and likely also Solaris).

    Description

      Java on Linux/Solaris can be set up to use the native (via C library)
      GSS implementation. This is configured by setting the system property
      sun.security.jgss.native=true
      When using this feature, ZooKeeper Sasl/JGSS authentication doesn't work.
      The reason is explained in
      http://docs.oracle.com/javase/6/docs/technotes/guides/security/jgss/jgss-features.html

      """
      [when using native GSS...]
      In addition, when performing operations as a particular Subject, e.g.
      Subject.doAs(...) or Subject.doAsPrivileged(...), the to-be-used
      GSSCredential should be added to Subject's private credential set.
      Otherwise, the GSS operations will fail since no credential is found.
      """

      Attachments

        1. ZOOKEEPER-1664.patch
          9 kB
          Camille Fournier
        2. ZOOKEEPER-1664.patch
          8 kB
          Camille Fournier
        3. ZOOKEEPER-1664.patch
          7 kB
          Boaz Kelmer

        Activity

          People

            Unassigned Unassigned
            boazts Boaz Kelmer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: