Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3152

kafka-acl doesn't allow space in principal name

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.0.0
    • Fix Version/s: 0.9.0.1
    • Component/s: core
    • Labels:
      None

      Description

      When running the following,
      kafka-acls --authorizer kafka.security.auth.SimpleAclAuthorizer --authorizer-properties zookeeper.connect=localhost:2181 --topic test --add --producer --allow-host=* --allow-principal "User:CN=xxx,O=My Organization"

      the acl is set as the following. The part after space is ignored.
      Following is list of acls for resource: Topic:test
      User:CN=xxx,O=My has Allow permission for operations: Describe from hosts: *
      User:CN=xxx,O=My has Allow permission for operations: Write from hosts: *

        Attachments

          Activity

            People

            • Assignee:
              ijuma Ismael Juma
              Reporter:
              junrao Jun Rao
              Reviewer:
              Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: