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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.5.5
    • Affects Version/s: 2.5.3
    • Component/s: Security
    • Labels:
    • Environment:
      Windows Mongo Shell
    • Windows

      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
      

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

              Created:
              Updated:
              Resolved: