[SERVER-3239] Windows 1.8.1/1.8.2-rc3 32-bit mongo Doesn't Parse Username and Password Options Correctly Created: 10/Jun/11  Updated: 12/Jul/16  Resolved: 03/Sep/11

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 1.8.1
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Jared D. Cottrell Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows Server 2008 R2 64-bit AMI from AWS, 32-bit versions of 1.8.1 and 1.8.2-rc3


Issue Links:
Related
Operating System: Windows
Participants:

 Description   

When I use the 32-bit Windows client against my auth-mode server I can't get it to connect from the command line. I can work around the problem by not trying to specify a username and password from the command line and then calling db.auth() once the shell starts up. However, I bet this is confusing for users. This is possibly related to SERVER-3238.

PS C:\Program Files\mongodb-win32-x86_64-1.8.1\bin> .\mongo.exe db.mycompany.com:27017/jared_test -u jared -p jared
MongoDB shell version: 1.8.1
connecting to: db.mycompany.com:27017/jared_test
> show collections
jared
system.indexes
system.users
> exit
bye

PS C:\Program Files\mongodb-win32-i386-1.8.1\bin> .\mongo.exe db.mycompany.com:27017/jared_test -u jared -p jared
MongoDB shell version: 1.8.1
Enter password:
connecting to: db.mycompany.com:27017/jared_test
Fri Jun 10 02:17:06 file [jared] doesn't exist
failed to load: jared



 Comments   
Comment by Eliot Horowitz (Inactive) [ 03/Sep/11 ]

I believe this was causing by the old version of boost.
Please try 2.0.0-rc1

Generated at Thu Feb 08 03:02:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.