Authentication failing from windows client to linux server

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Incomplete
    • Priority: Major - P3
    • None
    • Affects Version/s: 2.6.4
    • Component/s: Shell
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      I have a 2.6.4 client installed on windows server 64 bit. When I try to authenticate to my mongodb 2.6.4 server on linux it fails with the following error

      C:\>c:\mongodb-win32-x86_64-2008plus-2.6.4\bin\mongo.exe -u admin -p '' SG-std1-588.devservers.mongodirector.com/admin
      MongoDB shell version: 2.6.4
      connecting to: SG-std1-588.devservers.mongodirector.com/admin
      2014-10-06T22:18:50.969+0000 Error: 18 { ok: 0.0, errmsg: "auth failed", code: 18 } at src/mongo/shell/db.js:1210
      exception: login failed
      

      Here are the corresponding logs on the server side

      2014-10-06T22:18:55.828+0000 [conn33]  authenticate db: admin { authenticate: 1, nonce: "xxx", user: "admin", key: "xxx" }
      2014-10-06T22:18:55.828+0000 [conn33] Failed to authenticate admin@admin with mechanism MONGODB-CR: AuthenticationFailed key mismatch
      2014-10-06T22:18:55.836+0000 [conn33] end connection 54.241.242.34:54411 (4 connections now open)
      

      I am able to connect fine using the same syntax from other linux clients.

            Assignee:
            Unassigned
            Reporter:
            Dharshan Rangegowda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: