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

Zookeeper client hard codes the server principal to zookeeper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.5
    • None
    • None
    • None

    Description

      Noticed this while debugging a secure deploy. The server was started with the principal zk/_HOST

      When a client tried to connect to this it tried to setup a secure connection to server zookeeper/_HOST and failed authentication.

      In ClientCnxn.java

      try {
                      zooKeeperSaslClient = new ZooKeeperSaslClient("zookeeper/"+addr.getHostName());
                  } catch (LoginException e) {
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            arpitgupta Arpit Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: