-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
I am having an issue running dex against a replica set. I am running it on the server hosting the primary and have tried using multiple variations of the the connection string for mongodb, using a user defined in the admin db, using a user defined in the local db i want to run dex against, using the proper replica set connection string requried by mongo, and just trying to connect as localhost, and all result in 'OperationFailure: Authentication failed.. Please see below example below :
dex -n 'mydb.*' -p mongodb://myuser:mypwd@127.0.0.1/mydb?authSource=admin
dex -n 'mydb.*' -p mongodb://myuser:mypwd@localhost/mydb?authSource=admin
dex -n 'mydb.*' -p mongodb://myuser:mypwd@*.*.*.*:27017,*.*.*.*:27017,*.*.*.*:27017/mydb?authSource=admin&replicaSet=rs1
Metadata
Metadata
Assignees
Labels
No labels