Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-2600

ACL policy doesn't permit certain characters in usernames added to groups

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: C++ Broker
    • Labels:
      None

      Description

      Description of problem:
      Unable to add a host principle to a group, the acl policy file fails to load and prevents qpidd from running.
      I guess this is partly due to us not figuring out what is exactly allowed for group and usernames.

      How reproducible:
      Fails every time.

      Steps to Reproduce:
      1. Add a host or service principle to a group in the acl file. Something like
      this will suffice:
      group somegroup host/somemachine.example.com@EXAMPLE.COM

      Actual results:
      Failure to start. Error message is:
      Daemon startup failed: Could not read ACL file ACL format error:
      /etc/qpid/policy.acl:25: Name "host/somemachine.example.com@EXAMPLE.COM"
      contains illegal characters.

      Expected results:
      Should load and parse the group cleanly.

        Attachments

          Activity

            People

            • Assignee:
              rajith Rajith Attapattu
              Reporter:
              rajith Rajith Attapattu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: