-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: 4.1.11
-
Component/s: mongo-tools-common
-
None
Providing a database name in the URI triggers authentication, which will generally fail because either auth is not enabled on the mongod or the username and password were not provided:
$ ./bin/mongodump --uri="mongodb://localhost:27017/test" 2019-05-15T14:06:25.607-0400 Failed: error creating intents to dump: error getting collections for database `test`: auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.
This is now prohibited by the auth spec (see DRIVERS-637). We need to revendor the Go driver when GODRIVER-1021 is fixed.
- depends on
-
GODRIVER-1021 Specify behavior where connection string contain auth database but no credentials
- Closed