Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot set the --authenticationDatabase option #26

Open
tbuteler opened this issue May 15, 2017 · 1 comment
Open

Cannot set the --authenticationDatabase option #26

tbuteler opened this issue May 15, 2017 · 1 comment

Comments

@tbuteler
Copy link

If the authentication database is different from the database in which to execute the import / export, then Mongonaut will always fail to connect. You either provide the credentials, in which case it fails outright, or you don't provide credentials, in which case it seems like it succeeds, but success output is a MongoDB message saying you don't have authorisation to execute the command.

Attempting to set the authenticationDatabase option in any way will cause Spawngo to fail:

.../node_modules/spawngo/index.js:28
      this.config[args[0]] = args[1]
                           ^

TypeError: Can't add property authenticationDatabase, object is not extensible
@tbuteler
Copy link
Author

otterthecat/spawngo#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant