Looks like the 2.8.0-rc0 shell has different auth procedures?
$ mongo MongoDB shell version: 2.8.0-rc0 connecting to: test > use admin switched to db admin > db.auth("user", "pass") Error: 8 no such cmd: saslStart 0 > db.version() 2.4.8
$ mongo MongoDB shell version: 2.6.5 connecting to: test > use admin switched to db admin > db.auth("user", "pass") 1 > db.version() 2.4.8
I think it should fall back to legacy behaviour if the saslStart command is not found
- is duplicated by
-
SERVER-16290 Cannot authenticate to a 2.4 MongoDB using a 2.8 shell
- Closed
- related to
-
SERVER-7596 Support SCRAM-SHA-1 SASL Mechanism
- Closed
-
DRIVERS-166 Implement the SCRAM-SHA-1 SASL Mechanism
- Closed