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

Mongo shell should not require a password for SSPI on a domain joined computer when authenticating via the command line

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 2.5.5
    • 2.5.3
    • Security
    • Windows Mongo Shell
    • Windows

    Description

      On a windows computer joined to a domain, it should not be required to provide a password for SSPI when the logged in as the desired user.

      On the test box, I can successfully authenticate when providing a password, but when the password is omitted, the following error is produced:

      > mongo hostname -authenticationMechanism=GSSAPI -authenticationDatabase=$external -username user@DOMAIN.COM
      MongoDB shell version: 2.5.4-pre-
      connecting to: hostname/test
      2013-11-05T14:14:26.053+0000 Error: 17 SASL(-1): generic failure: SSPI: InitializeSecurityContext: The logon attempt failed at src/mongo/shell/db.js:1199
      exception: login failed

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            craig.wilson@mongodb.com Craig Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: