-
Type: New Feature
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Security
-
Storage NYC 2018-08-13
db.copyDatabase has parameters: fromhost, username and password. However, the user is only authenticated against the fromdb.
We use many databases but store our user authentication in the admin database. There should be an optional 'authdb' parameter which allows the user to be authenticated against that instead.
It seems inconsistent, since we can connect to a mongo server using any database as the authdb, and then access other databases.
See SERVER-22576
- is duplicated by
-
SERVER-32713 Support different authentication databases when using db.copyDatabase()
- Closed