Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-62641

Don't try to uppercase sasl mechanisms provided by ns_server

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Morpheus
    • Morpheus
    • memcached
    • None
    • 0

    Description

      The configuration keys "sasl_mechanisms" and "ssl_sasl_mechanisms" allows ns_server to specify which sasl mechanisms to use for plain and tls connections. Previously we copied this value into a temporary string and converted the mechanism name to uppercase to simplify checking later on, but according to the rfc this isn't needed as the mechanisms should already be in uppercase in order to be a valid mechanism:

      3.1.  Mechanism Naming
       
         SASL mechanisms are named by character strings, from 1 to 20
         characters in length, consisting of ASCII [ASCII] uppercase letters,
         digits, hyphens, and/or underscores.
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            trond Trond Norbye
            trond Trond Norbye
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty