[SERVER-16290] Cannot authenticate to a 2.4 MongoDB using a 2.8 shell Created: 23/Nov/14  Updated: 10/Dec/14  Resolved: 23/Nov/14

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

Type: Bug Priority: Minor - P4
Reporter: Cailin Nelson Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-16167 2.8.0-rc0 shell can't auth to a 2.4 s... Closed
Operating System: ALL
Participants:

 Description   

I'm not sure what the philosophy is on backwards compatibility of the shell. This may very well be "Works As Designed".

[scripts] (master)$ mongo localhost:28000
MongoDB shell version: 2.8.0-rc0
connecting to: localhost:28000/test
> use admin
switched to db admin
> db.auth('mms-monitoring-agent','monitoring')
Error: 8 no such cmd: saslStart
0
> ^C
bye
[scripts] (master)$ /usr/local/mongo243/bin/mongo localhost:28000
MongoDB shell version: 2.4.3
connecting to: localhost:28000/test
> use admin
switched to db admin
> db.auth('mms-monitoring-agent','monitoring')
1
> show dbs
admin	0.203125GB
config	(empty)
local	0.078125GB



 Comments   
Comment by Kamran K. [ 23/Nov/14 ]

This should be fixed in rc1 (SERVER-16167).

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