Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2347

GSSAPI service name is not defaulted when any other auth mechanism properties are set

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.13.1, 2.12.4
    • Affects Version/s: None
    • Component/s: Kerberos
    • None
    • Minor Change

      When any auth mechanism properties are set, the entire hash is overwritten during option processing. This has the side effect of dropping the default service name, if a service name isn't explicitly provided by the user.

      My reading of auth spec is each option is independent, and thus service name should be set to mongodb if a different one isn't explicitly provided.

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: