[SERVER-3877] Solaris 1.8.2 mongo Doesn't Parse Username and Password Options Correctly Created: 15/Sep/11 Updated: 11/Jul/16 Resolved: 09/Jun/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | 1.8.2 |
| Fix Version/s: | 2.1.2 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Walker Traylor | Assignee: | Gregor Macadam |
| Resolution: | Done | Votes: | 2 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Solaris |
||
| Issue Links: |
|
||||||||
| Operating System: | Solaris | ||||||||
| Participants: | |||||||||
| Description |
|
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: 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 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 |
| Comments |
| Comment by Gregor Macadam [ 09/Jun/12 ] | |||||||||||||||||||||||||||||||
|
If you work around | |||||||||||||||||||||||||||||||
| Comment by Gregor Macadam [ 25/May/12 ] | |||||||||||||||||||||||||||||||
|
I checked the Solaris nightly and the issue persists. bash-3.2$ ./bin/mongo localhost:27017/admin -u USER -p PASS I can connect from a shell on my mac | |||||||||||||||||||||||||||||||
| Comment by T. Dampier [ 12/Mar/12 ] | |||||||||||||||||||||||||||||||
|
Thanks for the suggestion ... Idownloaded the nightly solaris 64 binaries, and gave it a spin. It is different!
First thought was nutty dynamic link problems; but the dependencies look the same as the 2.0.3 client, which runs fine on this host:
Nonetheless maybe I'm doing something silly ... or else an unrelated bug crept into the nightlies. | |||||||||||||||||||||||||||||||
| Comment by Eliot Horowitz (Inactive) [ 12/Mar/12 ] | |||||||||||||||||||||||||||||||
|
Can you try the 2.2 nightly? I think its a boost version issue. | |||||||||||||||||||||||||||||||
| Comment by T. Dampier [ 12/Mar/12 ] | |||||||||||||||||||||||||||||||
|
Problem persists with mongo shell v. 2.0.2 :
| |||||||||||||||||||||||||||||||
| Comment by Walker Traylor [ 15/Sep/11 ] | |||||||||||||||||||||||||||||||
|
This was found on a Joyent SmartMachine and has not been tested on other Solaris platforms. |