Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-11049

Failed X509 Auth returns 0.0 for ok value

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: 2.5.3
    • Component/s: Security
    • Labels:
      None
    • Environment:
      Windows Build with ssl, git hash d1a4564bbac9b1317ee3d684bb26931a3f450b29
    • Windows
      1. launch an ssl enabled server.
      2. use a driver with a client certificate for which a user does not exist.

      Upon failed X509 authentication, the server returns

      { "ok" : 0.0, "errmsg" : "auth failed", "code" : 18 }

      .

      ok should either be true or false or 0 or 1. I know we are bit lax currently regarding this, but it seems like we should pick something going forward and stick with it, and 0.0 doesn't seem to be the right choice.

            Assignee:
            Unassigned Unassigned
            Reporter:
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: