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

Solaris 1.8.2 mongo Doesn't Parse Username and Password Options Correctly

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.1.2
    • Affects Version/s: 1.8.2
    • Component/s: Shell
    • None
    • Environment:
      Solaris
    • Solaris

      I cannot connect to a mongo server using the Solaris build of the mongo shell client with username and password supplied on the command line.

      There is a similar bug affecting Windows:
      https://jira.mongodb.org/browse/SERVER-3239

      Seems to be the same problem.

      Just as with that bug, I can work around by using db.auth() after connecting.

      I cannot authenticate on the command line to a Solaris mongod server using a Solaris mongo shell client:

      [09/15/11 18:53 madmin@m16.mongolab.com] $ mongo m16.mongolab.com:27267/admin -u USER -p PASS
      MongoDB shell version: 1.8.2
      Enter password: %

      I can authenticate on the command line to a Solaris mongod server using a linux mongo shell client successfully:

      [09/15/11 11:52 madmin@m9.mongolab.com] $ mongo m16.mongolab.com:27267/admin -u USER -p PASS
      MongoDB shell version: 1.8.2
      connecting to: m16.mongolab.com:27267/admin
      >

            Assignee:
            gregor Gregor Macadam
            Reporter:
            walker@objectlabs.com Walker Traylor
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: