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

Authentication failing from windows client to linux server

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Incomplete
    • 2.6.4
    • None
    • Shell
    • None
    • ALL

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dharshanr@scalegrid.net Dharshan Rangegowda
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: